You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/06/27 12:28:21 UTC

[jira] [Updated] (WICKET-5255) Make RadioGroup and CheckGroup non-components

     [ https://issues.apache.org/jira/browse/WICKET-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-5255:
------------------------------------

    Assignee:     (was: Martin Grigorov)
    
> Make RadioGroup and CheckGroup non-components
> ---------------------------------------------
>
>                 Key: WICKET-5255
>                 URL: https://issues.apache.org/jira/browse/WICKET-5255
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Martin Grigorov
>
> Description of the task by Igor Vaynberg:
> the basic idea is to make
> CheckGroup and RadioGroup non-components because in a lot of cases it
> is inconvenient to have them wrap some sections. eg when you have two
> check groups you have to put one inside the other, which is
> non-intuitive. so the groups are linked by the instance of CheckGroup
> and RadioGroup objects which can take care of generating unique ids,
> etc.
> so instead of code like this:
> RadioGroup group=new RadioGroup();
> add(group);
> group.add(new Radio());
> we would have
> RadioGroup group=new RadioGroup();
> add(new Radio("id", group));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira