struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-3675) Plugin - Config Browser : Error when action extension is blank (Unnecessary comma in default location)
Date Mon, 25 Mar 2013 21:33:16 GMT

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

Lukasz Lenart updated WW-3675:
------------------------------

    Fix Version/s:     (was: 3.0)
                   2.3.x
    
> Plugin - Config Browser : Error when action extension is blank (Unnecessary comma in
default location)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3675
>                 URL: https://issues.apache.org/jira/browse/WW-3675
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>            Reporter: liew
>            Priority: Minor
>             Fix For: 2.3.x
>
>
> Error occur when 
> [struts.xml]
> {code:xml}
>  <constant name="struts.action.extension" value=",," />
> {code}
> [/config-browser/]
> [Action information]
> Default location : namespace/actionName. (Unnecessary comma)
> Suggested solution
> In [/struts2-config-browser-plugin/config-browser/showConfig.ftl], replace
> {code}
> .${extension}
> {code}
> with 
> {code}
> <#if extension?has_content>.${extension}</#if>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message