[ 
https://issues.apache.org/struts/browse/WW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralf Fischer updated WW-2783:
-----------------------------

    Component/s: Plugin - Portlet
                 Core Actions

Applicable for Core and Portlet plugin, as there are URLs rendered using 
{{ServletUrlRenderer}} and {{PortletUrlRenderer}}.

> The anchor parameter in the url tag does not evaluate OGNL expression.
> ----------------------------------------------------------------------
>
>                 Key: WW-2783
>                 URL: https://issues.apache.org/struts/browse/WW-2783
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions, Plugin - Portlet
>    Affects Versions: 2.1.2
>         Environment: Tomcat 6.0.16 on Windows Vista
>            Reporter: Daniel Ruan
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to