label's wicket:for does not work completely for Radios
------------------------------------------------------

                 Key: WICKET-4048
                 URL: https://issues.apache.org/jira/browse/WICKET-4048
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-RC7
            Reporter: Matthias Keller


The new functionality with <label wicket:for="..."> (See WICKET-1469) does not 
work completely for radio buttons, probably because the referenced Radio 
instance is no FormComponent but just a LabeledWebmarkupContainer.
The problem is in AutoLabelResolver, line 181:
if (component instanceof FormComponent) {...}
There should be a special case for Radios to get its associated RadioGroup 
first and use that as component to derive the CSS class from

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

        

Reply via email to