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/05/27 11:56:20 UTC

[jira] [Resolved] (WICKET-4981) Label with wicket:for visibility bound to "for" component

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

Martin Grigorov resolved WICKET-4981.
-------------------------------------

    Resolution: Won't Fix

You should use Enclosure.
I recommend to use EnclosureContainer than <wicket:enclosure> because the latter has known issues.
                
> Label with wicket:for visibility bound to "for" component
> ---------------------------------------------------------
>
>                 Key: WICKET-4981
>                 URL: https://issues.apache.org/jira/browse/WICKET-4981
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Robert Niestroj
>            Assignee: Martin Grigorov
>         Attachments: WICKET-4981.patch
>
>
> I use wicket:for for label "binding" to inputs. When i now i the input change the visibility to hidden the label remains visible. It would be nice if i could set an option to bind the label visibility with the formcomponent visibility. 
> <input class="jq-ui-button" type="checkbox" wicket:id="landfillCheckbox" name="landfill" value="Landfill" />
> <label wicket:for="landfillCheckbox">Landfill</label>
> Now i have to create a seperat Label and set its visibility accordingly do the component.

--
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