Re: passing WOTextField values to DirectAction?
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.