Thanks for the hint. Unfortunately, I was incorrect in my initial post: it is 
not a
ListView but a DataView I am using within the form. Is there a similar 
mechanism for
this case?

J.

On 10.06.2012 12:40, Sven Meier wrote:
See ListView#setReuseItems()

Jürgen Lind<juergen.l...@iteratec.de>  schrieb:

Ok, I'm answering myself here... The problem was obviously, that upon each 
render
the Check components had new values and so the state was not cleanly 
maintained. I kind
of solved it by overriding the getValue methode and providing a unique id that 
remains
the same on each page rendering.

However, I still wonder if that is the way to go or just weird hack which 
solves the
problem more or less by coincidence.

Any help would be appreciated.

J.

On 10.06.2012 12:21, Jürgen Lind wrote:
Hi,

I have a little problem in getting a CheckGroup to work... The setup is as 
follows:
the page has a Form with a CheckGroup that contains a ListView where each list 
item
adds a Check component - giving me a "bulk select" mechanism. Now, everything 
works
great if the form is submitted successfully. However, when a required TextField 
is
omitted, the selected Checks are not maintained (whereas other form fields are
maintained). Am I missing something here?

Cheers,

J.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Mit freundlichen Grüßen,

Jürgen Lind

--
Dr. Jürgen Lind
iteratec GmbH                Fon: +49 (0)89 614551-44
Inselkammerstrasse 4         Fax: +49 (0)89 614551-10
82008 Unterhaching           Web: www.iteratec.de

Sitz und Registergericht der iteratec GmbH: München HRB 113 519
Geschäftsführer: Klaus Eberhardt, Mark Goerke, Inge Hanschke, Ralf Menzel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to