You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Robert Niestroj (JIRA)" <ji...@apache.org> on 2013/01/16 13:22:12 UTC

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

Robert Niestroj created WICKET-4981:
---------------------------------------

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


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