• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: passing WOTextField values to DirectAction?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing WOTextField values to DirectAction?


  • Subject: Re: passing WOTextField values to DirectAction?
  • From: james o <email@hidden>
  • Date: Tue, 11 Nov 2003 14:38:21 -0500

thanks will.  i know how to get the value from a DA binding.

my problem is that the value from the WOTextField is not getting passed to the DA.

if i create another binding of a String that is not set inside of the WOForm it gets passed to the DA fine. some reason WO doesn't process the WOTextField value before sending calling the DA - i'm missing something with the WOForm (WoTextField) >> to >> DA handling.


On Tuesday, November 11, 2003, at 02:21 PM, Will Scheidegger wrote:

Hi James

You'll need to set the name binding of the WOTextField to something smart, e.g. "searchString". Then, in the DirectAction that's being called, you can get the value with this method:

String value = request().stringFormValueForKey("searchString");

Hope this helps.

- Will

./james

{ primax STUDIO : http://primaxSTUDIO.com : 513.772.1223  }
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: passing WOTextField values to DirectAction?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: passing WOTextField values to DirectAction?
  • Next by Date: Re: passing WOTextField values to DirectAction?
  • Previous by thread: Help me get up to speed with XCode (was: Help me get up to speed with PBX)
  • Next by thread: Re: passing WOTextField values to DirectAction?
  • Index(es):
    • Date
    • Thread