Martin Grigorov created WICKET-5255:
---------------------------------------

             Summary: 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
            Assignee: 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

Reply via email to