-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.11.2, 2.1.2
-
Fix Version/s: 2.1.3
-
Component/s: Core Actions, Plugin - Portlet
-
Labels:None
-
Environment:
Tomcat 6.0.16 on Windows Vista
Suppose you have this:
<s:url var="showEmployee" action="ShowEmployee" anchor="%
{employee.lastName}"><s:param name="id" value="employee.id"/>
</s:url>
Struts2 generates:
ShowEmployee.action?id=1234#%{employee.lastName}
The OGNL expression in the anchor attribute is rendered literally.