Re: [Newbie] WORepetition/Form submit question
Re: [Newbie] WORepetition/Form submit question
- Subject: Re: [Newbie] WORepetition/Form submit question
- From: Peter Vandoros <email@hidden>
- Date: Fri, 21 Apr 2006 15:39:55 +1000
You should be able to do this if you have this repetition inside the
form with one submit button that calls an action that saveChanges(). You
shouldn't have to do anything special special.
Make sure that the "userlist" array does not change between
appendToResponse() and subsequent invokeAction().
Also make sure that these objects are in the same editing context and
that you call savChanges() on the editing context.
It should just work :)
Thanks
Peter
Lindsey Hotchkies wrote:
Hi,
I am a newbie to webobjects and have run into an issue
that does not seem to have much info out there. I am
attempting to display a table/WORepetition inside a
form where a user can edit all the item values and
submit them to change the values in the database.
So, the WORepetition list binding is bound to
"userlist" and the item is bound to "userItem".
Userlist is retreived from the database. User name and
other info are bound to WOTextFields. There is a
submit button inside this form.
So, I understand how you could have a user edit one
UserItem at a time, but what if I want to let them
edit all the user data in the WORepetition at the same
time? Is there a simple way for me to iterate over all
the items to submit them? Am I approaching this in the
wrong way?
Thanks!!
-Lindsey
_______________________________________________
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
_______________________________________________
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