Re: Newbie question about parameters for an Action

2007-09-24 Thread Phil404
esent in action interceptors. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context:

Re: Newbie question about parameters for an Action

2007-09-23 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=10&auditory=15&kinesthetic=20' /> So, the code seems to be correct. Why are these parameters not being set by Struts2? Please help! Does an

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
something really simple. > > Try this: > http://www.nabble.com/-S2--Using-%3Cs:url%3E-t3884129.html > > > - > 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 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: http://www.nabble.com/-S2--Using-%3Cs:url%3E-t3884129.h

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
gt;> >> } >> >> >> >> public void setAuditory(int auditory) { >> >> this.auditory = auditory; >> >> } >> >> >> >> public int getKinesthetic() { >> >> return kinesthetic; >> >> } >> >> >> >> public void setKines

Re: Newbie question about parameters for an Action

2007-09-23 Thread Dave Newton
; >>return kinesthetic; > >>} > >> > >>public void setKinesthetic(int kinesthetic) { > >>this.kinesthetic = kinesthetic; > >>} > >> > >> } > >> > >> > >> The action is defined in the struts.xml like so: > >> > >> extends="jfreechart-de

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
>> } >> >> } >> >> >> The action is defined in the struts.xml like so: >> >> >> >> >> 400 >> 300 >> >>

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: 10 15 20 ${chartUrl} The action is very simple: pub

Newbie question about parameters for an Action

2007-09-23 Thread Phil404
me what I'm doing wrong? Phil -- View this message in context: http://www.nabble.com/Newbie-question-about-parameters-for-an-Action-tf4506130.html#a12851266 Sent from the Struts - User mailing list archive at Nabble.com.