You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Phil404 <ph...@unity-software.com> on 2007/10/03 23:56:49 UTC

JFreeChart Plugin

There has been a little discussion recently about the JFreeChart plugin on
JIRA.  The issue is that the plugin defines a package in its
struts-plugin.xml which does not extend struts-default.  Therefore
JFreeChart actions cannot (without seemingly unnecessary extra work), for
example, have parameters passed to them.  The developer is concerned about
breaking code by making the change to the struts-plugin.xml to extend
struts-default.  Anyone have any opinions?

Phil

In detail, I would like the current struts-plugin.xml:

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

</struts> 

to be changed to:

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

</struts> 
-- 
View this message in context: http://www.nabble.com/JFreeChart-Plugin-tf4564647.html#a13028788
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org