Hi Martin Terra,
Thanks for your feedback, Yes I already used setReuseItems on listview. I
will look at your suggestion.
Data loss happens only when invalid email address is entered (in my case).
Let say If the form component doesn't have validation, then no data loss
when listview is refreshed.
Will data in the form component be validated when listview is refreshed? If
yes, then is it possible to stop that behaviour? Then it will be validated
only when the form is submitted.




*Thanks And RegardsSibi.ArunachalammCruncher*


On Wed, Jul 6, 2022 at 8:01 PM Martin Terra <
martin.te...@koodaripalvelut.com> wrote:

> You can setReuseItems, but the number of your list items changes you will
> need to implement some sort of FormComponentReuseManager
> <
> https://users.wicket.apache.narkive.com/UBuknoCl/add-remove-dynamic-formcomponent-in-repeatingview
> >
>
>
> **
> Martin
>
> ke 6. heinäk. 2022 klo 13.08 Arunachalam Sibisakkaravarthi (
> arunacha...@mcruncher.com) kirjoitti:
>
> > Hi guys,
> > I have a form that has a text field with Email validator in a ListView (I
> > want get list of email addresses from user)
> > When invalid email is entered and listview is refreshed then Text field
> is
> > cleared
> > whereas Text field is not cleared when valid email is entered and
> listview
> > is refreshed
> > I don't want to clear even invalid email addresses when listview is
> > refreshed.
> > I want the form components in the list view to be validated  only when
> the
> > form is submitted.
> > Is it possible to address this concern in list view?
> >
> >
> >
> > *Thanks And RegardsSibi.ArunachalammCruncher*
> >
>

Reply via email to