Re: Question regarding AjaxFormSubmitBehavior

2011-01-21 Thread Daniel Bartl
is submitted is the > > root form's formtag. however, validation, etc, will probably be > > delegated only to the inner form. > > > > -igor > > > > On Thu, Jan 20, 2011 at 4:14 AM, Daniel Bartl <[hidden email]< > http://user/SendEmail.jtp?type=node&

Question regarding AjaxFormSubmitBehavior

2011-01-20 Thread Daniel Bartl
Have a small question regarding using AjaxFormSubmitBehavoir with nested forms. Would like to use it to submit a smaller nested form within a bigger parent form. Even though I passed a nested form as a "*form that will be submitted*" while calling the following constructor of AjaxFormSubmitBehavo

Re: How to retrieve ListItem objects from a ListView

2010-12-13 Thread Daniel Bartl
Not really sure if this is what you are trying to achieve but here it is anyway: public final List ListView#getModelObject() On Mon, Dec 13, 2010 at 8:19 PM, drf wrote: > > I have the following use case : > > Having built a page using a standard ListView and implementing > populateItem(), I th

Re: repeters with

2010-12-12 Thread Daniel Bartl
Use RepeatingView#newChildId() in order to generate unique id for each of your LinkAndImagePanels while iterating through these like this: for (LinkAndImagePanel panel : allPanels) { String id = repeater.newChildId(); repeater.add(new LinkAndImagePanel(id, entry));