Re: Newbie question about parameters for an Action

2007-09-24 Thread Oleg Mikheev
Phil404 wrote: I don't think this is the problem since if I view source the generate code says: --img src='/surveytortoise-main/piechart.action?visual=10amp;auditory=15amp;kinesthetic=20' / So, the code seems to be correct. Why are these parameters not being set by Struts2? Please help!

Re: Newbie question about parameters for an Action

2007-09-24 Thread Phil404
://www.nabble.com/Newbie-question-about-parameters-for-an-Action-tf4506130.html#a12867502 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Newbie question about parameters for an Action

2007-09-23 Thread Phil404
/action /package The issue is that the variables visual, auditory and kinesthetic are not being set in the Action. The values are therefore always 0. Can someone please tell me what I'm doing wrong? Phil -- View this message in context: http://www.nabble.com/Newbie-question-about

Re: Newbie question about parameters for an Action

2007-09-23 Thread Richard Yee
You might try changing the attributes and setters to Strings and see if that works. -Richard Phil404 wrote: I would like to draw a Pie Chart using JFreeChart. I call the action from a JSP like so: s:url id='chartUrl' action='piechart' s:param name='visual'10/s:param

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
/Newbie-question-about-parameters-for-an-Action-tf4506130.html#a12852928 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie question about parameters for an Action

2007-09-23 Thread Dave Newton
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Newbie-question-about-parameters-for-an-Action-tf4506130.html#a12852928 Sent from the Struts - User mailing list archive at Nabble.com

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
: http://www.nabble.com/Newbie-question-about-parameters-for-an-Action-tf4506130.html#a12852928 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Newbie question about parameters for an Action

2007-09-23 Thread Oleg Mikheev
Phil404 wrote: I presume you mean org.apache.struts2.servlet.ParameterAware. If I implement setParameters(), it is not called before the execute() method. I'm still in the dark. I feel like I'm missing something really simple. Try this:

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
-t3884129.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Newbie-question-about-parameters-for-an-Action