• 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: 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.

References: 
 >passing WOTextField values to DirectAction? (From: james o <email@hidden>)

  • Prev by Date: Re: passing WOTextField values to DirectAction?
  • Next by Date: Re: passing WOTextField values to DirectAction?
  • Previous by thread: passing WOTextField values to DirectAction?
  • Next by thread: Re: passing WOTextField values to DirectAction?
  • Index(es):
    • Date
    • Thread