Re: Getting the form values from WOTable with Text Input fields?
Re: Getting the form values from WOTable with Text Input fields?
- Subject: Re: Getting the form values from WOTable with Text Input fields?
- From: Denis Stanton <email@hidden>
- Date: Thu, 25 Nov 2004 10:56:12 +1300
On Nov 25, 2004, at 10:50 AM, Kieran Kelleher wrote:
Hi Chuck, the bindings for list and item in the WOTable bind to my
protected NSArray list (of Strings) and public String item in my
WOComponent.
I have bound the WOTextField (wrapped by the WOTable) to item. Are you
saying that if I put a setItem( anItem ) and item() attributes in my
WOComponent that setItem will be called iteratively by
takeValuesForRequest phase, hence allowing me to reconstruct the
array?
Yes, it's that easy. You might want to change that NSArray to an
NSMutableArray though :-)
Denis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden