AW: AW: AW: AW: AW: Update ListMultipleChoice by Ajax

2017-01-16 Thread Christoph.Manig
Thank you. Now all is working fine :) Mit freundlichen Grüßen Christoph Manig -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Montag, 16. Januar 2017 11:07 An: users@wicket.apache.org Betreff: Re: AW: AW: AW: AW: Update ListMultipleChoice by Ajax Hi, by

Re: AW: AW: AW: AW: Update ListMultipleChoice by Ajax

2017-01-16 Thread Sven Meier
Hi, by default ListMultipleChoice passes the index of an item to the choiceRenderer. If your items do not implements #equals() and #hashcode(), the index will be -1 (see ListMultipleChoice#getModelValue()). Note that IChoiceRenderer has a note about this in the javadoc. Since you are using t

AW: AW: AW: AW: Update ListMultipleChoice by Ajax

2017-01-15 Thread Christoph.Manig
Can you explain what these methods equals() and hashCode() have to do? Mit freundlichen Grüßen Christoph Manig -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Freitag, 13. Januar 2017 13:41 An: users@wicket.apache.org Betreff: Re: AW: AW: AW: Update ListMult