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: Kieran Kelleher <email@hidden>
- Date: Wed, 24 Nov 2004 17:11:42 -0500
Thanks Chuck and Denis. Yes, it does call setItem() .. WebObjects is
absolutely more impressively elegant every day ..... those Next guys
who developed it are geniuses!
-Kieran
On Nov 24, 2004, at 4:56 PM, Denis Stanton wrote:
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