You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Created) (JIRA)" <ji...@apache.org> on 2012/03/16 11:31:40 UTC

[jira] [Created] (WW-3776) Config browser generates wrong links when used with Convention plugin

Config browser generates wrong links when used with Convention plugin
---------------------------------------------------------------------

                 Key: WW-3776
                 URL: https://issues.apache.org/jira/browse/WW-3776
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.3.1.2
         Environment: Example Convention application
http://code.google.com/p/struts2-examples/downloads/detail?name=Struts2_Annotations_Mvn_2_2_1.zip&can=2&q=
            Reporter: Lukasz Lenart
            Priority: Minor
             Fix For: 2.3.2


All links to actions on the left have wrong actionName parameter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WW-3776) Config browser generates wrong links when used with Convention plugin

Posted by "Lukasz Lenart (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233320#comment-13233320 ] 

Lukasz Lenart commented on WW-3776:
-----------------------------------

Instead using 

{code}
<a href="${actionLink}">${name}</a>
{code}

use
{code}
<@s.a href="%{actionLink}">${name}</s.a>
{code}
                
> Config browser generates wrong links when used with Convention plugin
> ---------------------------------------------------------------------
>
>                 Key: WW-3776
>                 URL: https://issues.apache.org/jira/browse/WW-3776
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.1.2
>         Environment: Example Convention application
> http://code.google.com/p/struts2-examples/downloads/detail?name=Struts2_Annotations_Mvn_2_2_1.zip&can=2&q=
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.2
>
>
> All links to actions on the left have wrong actionName parameter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (WW-3776) Config browser generates wrong links when used with Convention plugin

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

Lukasz Lenart closed WW-3776.
-----------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart
    
> Config browser generates wrong links when used with Convention plugin
> ---------------------------------------------------------------------
>
>                 Key: WW-3776
>                 URL: https://issues.apache.org/jira/browse/WW-3776
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.1.2
>         Environment: Example Convention application
> http://code.google.com/p/struts2-examples/downloads/detail?name=Struts2_Annotations_Mvn_2_2_1.zip&can=2&q=
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.2
>
>
> All links to actions on the left have wrong actionName parameter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WW-3776) Config browser generates wrong links when used with Convention plugin

Posted by "Lukasz Lenart (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232389#comment-13232389 ] 

Lukasz Lenart commented on WW-3776:
-----------------------------------

I need help, I don't understand what's going on :/

Url defined like this
{code}
<@s.url id="actionLink" action="showConfig" includeParams="none">
    <@s.param name="namespace">${namespace}</...@s.param>
    <@s.param name="actionName">${name}</...@s.param>
</...@s.url>
{code}

when used like this
{code}
<a href="${actionLink}">${name}</a>
{code}

generates: /config-browser/showConfig?namespace=&actionName=

but when
{code}
<a href='<@s.property value="actionLink"/>'>${name}</a>
{code}

generates: /config-browser/showConfig?namespace=&amp;actionName=error

                
> Config browser generates wrong links when used with Convention plugin
> ---------------------------------------------------------------------
>
>                 Key: WW-3776
>                 URL: https://issues.apache.org/jira/browse/WW-3776
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.1.2
>         Environment: Example Convention application
> http://code.google.com/p/struts2-examples/downloads/detail?name=Struts2_Annotations_Mvn_2_2_1.zip&can=2&q=
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.2
>
>
> All links to actions on the left have wrong actionName parameter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira