esent in action interceptors.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
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
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]
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
gt;> >> }
>> >>
>> >> public void setAuditory(int auditory) {
>> >> this.auditory = auditory;
>> >> }
>> >>
>> >> public int getKinesthetic() {
>> >> return kinesthetic;
>> >> }
>> >>
>> >> public void setKines
; >>return kinesthetic;
> >>}
> >>
> >>public void setKinesthetic(int kinesthetic) {
> >>this.kinesthetic = kinesthetic;
> >>}
> >>
> >> }
> >>
> >>
> >> The action is defined in the struts.xml like so:
> >>
> >> extends="jfreechart-de
>> }
>>
>> }
>>
>>
>> The action is defined in the struts.xml like so:
>>
>>
>>
>>
>> 400
>> 300
>>
>>
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
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.
9 matches
Mail list logo