UIBean component sets malformed default ID with ONGL expression for name
parameter
----------------------------------------------------------------------------------
Key: WW-1617
URL: https://issues.apache.org/struts/browse/WW-1617
Project: Struts 2
Issue Type: Bug
Components: Views
Affects Versions: 2.0.x
Reporter: Philip Luppens
When using a ONGL expression for the 'name' property of a JSP UI tag, UIBean
sets the default value of the 'id' property to the string value of 'name'
without parsing 'name' for an ONGL expression. This results in malformed HTML
IDs:
<ww:textfield name="propertyName[%{'1'}].id"/>
results in:
<input type="text" name="propertyName[1].id" value=""
id="groupSave_%{'1'}__id'}"/>
See http://jira.opensymphony.com/browse/WW-1360
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira