struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liew (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-3675) Plugin - Config Browser : Error when action extension is blank (Unnecessary comma in default location)
Date Mon, 05 Sep 2011 03:43:10 GMT
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


Error occur when 

[struts.xml]
 <constant name="struts.action.extension" value=",," />

[/config-browser/]
[Action information]
Default location : namespace/actionName. (Unnecessary comma)


Suggested solution
In [/struts2-config-browser-plugin/config-browser/showConfig.ftl], replace
.${extension}
with 
<#if extension?has_content>.${extension}</#if>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message