Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie]request in a direct action



At 11:36 AM 15/11/2003 -0800, Michael Warner wrote:
>I know how to set up a static field on a form and have that field
>read by a direct action using
>String var1 = request().stringFormValueForKey("var1");
>
Give it a name binding of var1.


>Now, if I have a var that already exists on the request page and will
>not be filled in by the user,  how do I set things up so that the
>direct action can read in the value of that var?
>
>simply adding a binding to the form didn't work.
>
Use a WOHiddenField


Chuck


--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
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: 
 >[newbie]request in a direct action (From: Michael Warner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.