Thanks!

On Tue, Feb 16, 2010 at 11:11 AM, svenmeier <s...@meiers.net> wrote:

>
>
> http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html#ListViewandotherrepeaters-Usingformcomponentsinarepeater
>
>
> Wim Vandenhaute wrote:
> >
> > Hello List,
> >
> > I have ran a couple of times whilst developing some pages using wicket
> > into
> > the following issue.
> > The page will contain a Form, containing a ListView of FormComponents
> > The FormComponents are created within the ListView with a feedback panel
> > attached to each of em.
> > The feedback panels are attached to the FormComponents using a
> > ComponentFeedbackMessageFilter.
> >
> > On submit, validation fails for some FormComponents, and the feedback
> > messages are generated ok, but are nevered rendered due to the original
> > FormComponent not being found.
> > This is understandable as they are created inside the ListView so when
> > wicket tries to find the reporter of the feedback message, it does not
> > find
> > it anymore, new FormComponents were created.
> > So the solution to this is to create them outside the listview so they
> > dont
> > get regenerated on each rendering.
> >
> > I was wondering if this is the correct way to handle such a situation, or
> > should I be using a different approach to not fall into this?
> >
> > Kind regards,
> > Wim.
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/FormComponents-and-feedback-messages-inside-a-listview-tp27604968p27606028.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to