[ http://issues.apache.org/struts/browse/WW-769?page=all ]

Ted Husted resolved WW-769.
---------------------------

    Resolution: Fixed

> UITags do not evaluate id attribute
> -----------------------------------
>
>                 Key: WW-769
>                 URL: http://issues.apache.org/struts/browse/WW-769
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: WW 2.1.7
>            Reporter: John Patterson
>         Assigned To: tm_jee
>             Fix For: 2.0.0
>
>
> The UITags inherit the 'id' property from TagSupport which is not evaluated.  
> This means that it cannot be used  in a dynamically created form to match a 
> lable to a control.  Currently, when I click on a lable they all highlight 
> the same control!  
> I suggest that if no 'id' attribute is specified Webwork should generate a 
> unique identifier from the control name appending a number when there is more 
> than one control of the same name.
> For example:
> <label for="mycontrol">A control</label>  <input type="text" name="mycontrol" 
> id="mycontrol"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to