You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/05/07 15:51:52 UTC

[jira] Resolved: (WW-769) UITags do not evaluate id attribute

     [ http://issues.apache.org/struts/browse/WW-769?page=all ]
     
tm_jee 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 Action 2
>         Type: Bug

>   Components: Views
>     Versions: WW 2.1.7
>     Reporter: John Patterson
>     Assignee: tm_jee
>      Fix For: 2.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