You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/09/13 18:49:09 UTC

[jira] [Assigned] (WICKET-4048) label's wicket:for does not work completely for Radios

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

Igor Vaynberg reassigned WICKET-4048:
-------------------------------------

    Assignee: Igor Vaynberg

> 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
>            Assignee: Igor Vaynberg
>
> 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