Re: passing WOTextField values to DirectAction?
Re: passing WOTextField values to DirectAction?
- Subject: Re: passing WOTextField values to DirectAction?
- From: Geoff Hopson <email@hidden>
- Date: Tue, 11 Nov 2003 19:40:25 +0000
Assign a name to the WOTextField, and do something like this in the
direct action method:
public WOComponent loginAction() {
WORequest req = request();
String username = ((String)req.formValueForKey("username"));
String password = ((String)req.formValueForKey("password"));
etc.
Or log out the formValuesFromRequest, see what you get...
HTH,
Geoff
On Tuesday, November 11, 2003, at 07:03 pm, james o wrote:
where do i make the direct action bindings to send a value from a
WOTextField?
i have a form with a WOTextField inside of it. i have a String
"searchValue" bound to the text field. i can't seem to get the
string value sent to the Direct Action
i've bound "?searchString = searchValue;" to the Submit button, and to
the WOForm, etc... trying different combinations and none seem to > work.
thanks for any help,
./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.
--
Geoff Hopson
Objectology Ltd.
http://www.objectology.co.uk/
_______________________________________________
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.