Split AutoLabelResolver into wicket:for and wicket:label
--------------------------------------------------------

                 Key: WICKET-3903
                 URL: https://issues.apache.org/jira/browse/WICKET-3903
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-core
    Affects Versions: 1.4.18, 1.5-RC6
            Reporter: Carl-Eric Menzel


AutoLabelResolver is combining two different things - managing the "for" 
attribute in <label>, and managing FormComponent#getLabel.

After an IRC conversation with martin-g and ivaynberg, I propose splitting this 
behavior into two parts, as done in the upcoming patch. Use wicket:for as 
before, use <wicket:label> to output or pick up the label string. See 
AutoFormComponentLabelResolver for details.

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

        

Reply via email to