[ http://issues.apache.org/struts/browse/WW-769?page=all ]
tm_jee reassigned WW-769:
-------------------------
Assign To: tm_jee
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]