You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Daniel Ruan (JIRA)" <ji...@apache.org> on 2008/08/24 00:05:25 UTC

[jira] Created: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

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: Bug
    Affects Versions: 2.1.2
         Environment: Tomcat 6.0.16 on Windows Vista
            Reporter: Daniel Ruan
            Assignee: Antonio Petrelli


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.


[jira] Assigned: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

Posted by "Daniel Ruan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Ruan reassigned WW-2783:
-------------------------------

    Assignee:     (was: Antonio Petrelli)

> 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: Bug
>    Affects Versions: 2.1.2
>         Environment: Tomcat 6.0.16 on Windows Vista
>            Reporter: Daniel Ruan
>
> 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.


[jira] Updated: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

Posted by "Volker Krebs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volker Krebs updated WW-2783:
-----------------------------

    Affects Version/s: 2.0.11.2

This also affects 2.0.11.2

> 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.0.11.2, 2.1.2
>         Environment: Tomcat 6.0.16 on Windows Vista
>            Reporter: Daniel Ruan
>            Priority: Minor
>         Attachments: WW-2783-patch.txt
>
>
> 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.


[jira] Updated: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Newton updated WW-2783:
----------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)

> 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
>    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.


[jira] Resolved: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nils-Helge Garli resolved WW-2783.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3

> 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.0.11.2, 2.1.2
>         Environment: Tomcat 6.0.16 on Windows Vista
>            Reporter: Daniel Ruan
>            Priority: Minor
>             Fix For: 2.1.3
>
>         Attachments: WW-2783-patch.txt
>
>
> 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.


[jira] Updated: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

Posted by "Ralf Fischer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: WW-2783-patch.txt

This minor patch, applied to trunk, should evaluate the anchor against the stack, using findString.

> 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
>         Attachments: WW-2783-patch.txt
>
>
> 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.


[jira] Updated: (WW-2783) The anchor parameter in the url tag does not evaluate OGNL expression.

Posted by "Ralf Fischer (JIRA)" <ji...@apache.org>.
     [ 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.