if all your lineitems are in the same form then they will all be updated in bulk when the form is submitted.
-igor On Thu, May 1, 2008 at 4:36 PM, Ritz123 <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a "simple" requirement to be able to display (textfield) quantities > of each product in cart and then be able to globally update all the > quantities changed. > > Looked at the FormPage/Refreshing view example - it shows how to handle > items individually but not globally. This kind of thing was really simple in > struts/jsp model, it seems difficult or atleast more complex in wicket. > > Any pointers on how to do a global update? > > Also related question on the FormPage.java (repeaters example). ActionPanel > is getting contact > as the model (see below) but in the ActionPanel constructor, instead of > getting getModelObject() directly, its referenced using > getParent().getModelObject() - not sure why? > > item.add(new ActionPanel("actions", contact)); > // FIXME use CompoundPropertyModel! > item.add(new TextField("id", new PropertyModel(contact, "id"))); > -- > View this message in context: > http://www.nabble.com/Bulk-form-field-edits---possible--tp16995780p16995780.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]