You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sjoerd Smeets (JIRA)" <ji...@apache.org> on 2011/03/15 19:44:30 UTC

[jira] Created: (WICKET-3538) Checkboxes of the CheckBoxMultipleChoise do not get checked.

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


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/%3CAANLkTimzbY2XnCiqwdNa3NEpRoyVbntL0r4sbSb+4XwV@mail.gmail.com%3E

Attached a quickstrat

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

[jira] Commented: (WICKET-3538) Checkboxes of the CheckBoxMultipleChoise do not get checked.

Posted by "Sjoerd Smeets (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007807#comment-13007807 ] 

Sjoerd Smeets commented on WICKET-3538:
---------------------------------------

Thanks Bruno. I already had a feeling that it was not a bug, but there is no such ticket type for that :-). However, thanks for taking time to have a look at this and making it perfectly clear now how it should work (and it does work when I implement the equals method in the Location object). Now the project can be rolled out to production. Thanks again.

> 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
>            Assignee: Igor Vaynberg
>         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/%3CAANLkTimzbY2XnCiqwdNa3NEpRoyVbntL0r4sbSb+4XwV@mail.gmail.com%3E
> Attached a quickstrat

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

[jira] Updated: (WICKET-3538) Checkboxes of the CheckBoxMultipleChoise do not get checked.

Posted by "Sjoerd Smeets (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sjoerd Smeets updated WICKET-3538:
----------------------------------

    Attachment: test.tar.gz

A quickstart that illustrates what is happening. By default the Maastricht checkbox should be checked.

> 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/%3CAANLkTimzbY2XnCiqwdNa3NEpRoyVbntL0r4sbSb+4XwV@mail.gmail.com%3E
> Attached a quickstrat

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

[jira] Commented: (WICKET-3538) Checkboxes of the CheckBoxMultipleChoise do not get checked.

Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
    [ 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/%3CAANLkTimzbY2XnCiqwdNa3NEpRoyVbntL0r4sbSb+4XwV@mail.gmail.com%3E
> Attached a quickstrat

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

[jira] Resolved: (WICKET-3538) Checkboxes of the CheckBoxMultipleChoise do not get checked.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3538.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

> 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
>            Assignee: Igor Vaynberg
>         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/%3CAANLkTimzbY2XnCiqwdNa3NEpRoyVbntL0r4sbSb+4XwV@mail.gmail.com%3E
> Attached a quickstrat

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