[ 
https://issues.apache.org/jira/browse/WICKET-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007777#comment-13007777
 ] 

Bruno Borges commented on WICKET-3538:
--------------------------------------

Your Location class does not implement equals/hashCode, so when the page is 
loaded for the first time, two instances of Location(Maastricht) are compared 
and, of course, different from each other.

Consecutive calls will use only objects loaded as choices for the 
CheckBoxMultipleChoise component, so that's why they work.

You have to either implement equals/hashCode or fix HomePage.java:42, replacing 
getLocs() with the LOCATIONS collection.

IMO: not a bug at all... :-)

> Checkboxes of the CheckBoxMultipleChoise do not get checked.
> ------------------------------------------------------------
>
>                 Key: WICKET-3538
>                 URL: https://issues.apache.org/jira/browse/WICKET-3538
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.15
>         Environment: Ubuntu
>            Reporter: Sjoerd Smeets
>         Attachments: test.tar.gz
>
>
> Hi,
> This issue is related to the mailthread regarding chekcing the checkboxes of 
> the CheckBoxMultipleChoise list. Basically the checkboxes are not checked 
> when the details object is loaded.
> http://mail-archives.apache.org/mod_mbox/wicket-users/201103.mbox/%[email protected]%3E
> Attached a quickstrat

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to