[ 
https://issues.apache.org/struts/browse/WW-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42251
 ] 

Phil Hartley commented on WW-2204:
----------------------------------

I modified the struts-plugin.xml in the JAR file to extend struts-default as 
follows:

<struts>
    <package name="jfreechart-default" extends="struts-default">
    
        <result-types>
                <result-type name="chart" 
class="org.apache.struts2.dispatcher.ChartResult">
                        <param name="height">150</param>
                        <param name="width">200</param>
                </result-type>
        </result-types>
    </package>

</struts>


> The package referenced in the JFreeChart plugin struts-plugin.xml should 
> extend struts-default
> ----------------------------------------------------------------------------------------------
>
>                 Key: WW-2204
>                 URL: https://issues.apache.org/struts/browse/WW-2204
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.0.9
>         Environment: All environments
>            Reporter: Phil Hartley
>
> Because the package jfreechart-default does not extend struts-default, you 
> cannot, for example, send parameters with a request for a chart and have them 
> automatically set in the action.

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