You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by dynamicd <dh...@gmail.com> on 2008/09/29 04:02:32 UTC

Struts2 setting param in struts.xml JFreeChart

In my struts.xml file i need to pass a param dynamically for the height of
JFreeChart
I have
param name="height" ${height} /param

which is set in my controller as an Integer.
 public void setHeight(Interger height)
 public Integer  getheight which returns an Integer
However the param gets set as a String.

It works if i put
param name="height" 400 /param

Any help is appreciated. 
-- 
View this message in context: http://www.nabble.com/Struts2-setting-param-in-struts.xml-JFreeChart-tp19717489p19717489.html
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