Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.3
-
struts2
Description
The placeholder field fot s:textfield and s:password should evaluate ognl expressions. Namely resource key replacements.
e.g
<s:textfield theme="simple" placeholder="%
{getText('placeHolder.Username')}" id="j_username" name="j_username" cssStyle="width:180px" />
This is an issue for HTML5.
I think Lukasz Lenart suggested making all attributes dynamic.
AbstractUITag, line 294
public void setDynamicAttribute(String uri, String localName,
Object value) throws JspException
and replace with
public void setDynamicAttribute(String uri, String localName,
Object value) throws JspException