Re: [OT] Re: Struts 2 And JFreeChart

2008-08-22 Thread Dave Newton
--- On Fri, 8/22/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > But if I don't have "p" property in my action > class, I got warning in log ParamsPrepareParams setting String... > interceptor and so on? ... So put a "p" parameter in your action. Dave

Re: [OT] Re: Struts 2 And JFreeChart

2008-08-22 Thread Milan Milanovic
;> href="%{display_chart}" >> >>>>>> >> theme="ajax" >> >>>>>> targets="*chart_div*" >> /> >> >>>>>> >> >> >>>>>> >> >> >&

Re: Struts 2 And JFreeChart

2008-08-22 Thread dynamicd
;>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> ] >>>>>>> >> >>>>>>> >> &

[OT] Re: Struts 2 And JFreeChart

2008-08-21 Thread Dave Newton
t; > >>>>>> >> ] > >>>>>> >> > >>>>>> >> > >>>>>> >> display_chart.jsp [ > >>>>>> >> > >>>>>> >> > >>>>>> >&g

RE: [OT] Re: Struts 2 And JFreeChart

2008-08-21 Thread Martin Gainty
does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Thu, 21 Aug 2008 08:24:41 -0700 > From: [EMAIL PROTECTED] > Subject: [OT] Re: Struts 2 And JFreeChart > To: user@strut

Re: Struts 2 And JFreeChart

2008-08-21 Thread Milan Milanovic
;>>>> >> >>>>>> >> /MyApp/user/DrawChart_display.action >>>>>> >> >>>>>> >> >>>>>> >> ] >>>>>> >>

Re: Struts 2 And JFreeChart

2008-08-21 Thread dynamicd
t;>> >> ="struts-default,jfreechart-default"> >>>>> >> >>>>> >> >>>> name="DrawChart_input" method="input" >>>>> >> class=".xxx.DrawChart"> >>>>>

[OT] Re: Struts 2 And JFreeChart

2008-08-21 Thread Dave Newton
--- On Thu, 8/21/08, Milan Milanovic wrote: > I don't understand this solution, what is "p" parameter, and > whait is "RANDOM"? This is a common technique to throw off caching mechanisms. The "p" parameter is a dummy parameter that gets a random value so that when the submission is made, since

Re: Struts 2 And JFreeChart

2008-08-21 Thread Milan Milanovic
gt; >>>> >> >>> name="input">form.jsp >>>> >> >>>> >> >>>> >> >>> name="DrawChart_draw" method="draw" >&g

Re: Struts 2 And JFreeChart

2008-08-20 Thread Milan Milanovic
t; name="DrawChart_input" method="input" >>>> >> class=".xxx.DrawChart"> >>>> >> >>> name="input">form.jsp >>>> >> >>>> >> >>>> >> >>> name="DrawChar

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
uot;success">/jsp/display_chart.jsp >>> >> >>> >> >>> >> >> name="DrawChart_display" >>> method="display" >>> >> class="

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
created an img tag such that testChart.action -- View this message in context: http://www.nabble.com/Struts-2-And-JFreeChart-tp18740589p18861160.html Sent from the Struts - User mailing list archive at Nabble.com. - To uns

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
t; //chart creation logic. >> > //generate chart object >> > chart = .... >> > session = >> > session.put("CHART", chart

Re: Struts 2 And JFreeChart

2008-08-06 Thread Leena Borle
/** > > * returns chart obejct from the session. > >This methos is used by display_chart.jsp > > */ > > public String display() throws Exception { > > session = ...get session ... > >

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
300 >> >> >> >> >> >> >> >> >> >> ] >> >> >> >> >> >> DrawChart.java [ >> >> JFreeChart chart; >> >> p

Re: Struts 2 And JFreeChart

2008-08-06 Thread Dave Newton
--- On Wed, 8/6/08, dynamicd <[EMAIL PROTECTED]> wrote: > Also tried implementing the SessionAware. However the same thing. Why? Did you try setting the headers for not caching? Dave > dynamicd wrote: > > > > This is cool.. I tried it out. However once the > > chart_display.jsp is called the

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
;> * returns chart obejct from the session. >>This methos is used by display_chart.jsp >> */ >> public String display() throws Exception { >> session = ...get session ... >> this.chart = (JFreeChart) session.get("CHART"); >> i

Re: Struts 2 And JFreeChart

2008-08-06 Thread dynamicd
quot;CHART"); > if(chart == null) { > addActionError(getText("error.nochart")); > return ERROR; > } > return SUCCESS; > } > > // this method will get called if we specify

Re: Struts 2 And JFreeChart

2008-08-05 Thread Leena Borle
Hello, See if this helps you. I have a form with remote DIV which displays chart after user clicks on submit. Trick here is to generate chart object, store it in session and display it in separate JSP. Remove the form part if you want to display just the dynamic-DIV using Chart image. Form.jsp

Re: Struts 2 And JFreeChart

2008-07-31 Thread dynamicd
ling List >> Date: Thu, 31 Jul 2008 02:28:41 -0400 >> To: >> Subject: Re: Struts 2 And JFreeChart >> >> I don't see what Ajax has to do with this... It sounds more like an HTTP >> caching issue. Cree, if you do a page refresh, is the image updated >>

Re: Struts 2 And JFreeChart

2008-07-31 Thread Randy Burgess
e Harper <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 31 Jul 2008 02:28:41 -0400 > To: > Subject: Re: Struts 2 And JFreeChart > > I don't see what Ajax has to do with this... It sounds more like an HTTP > caching issue. Cree, if you do a page r

Re: Struts 2 And JFreeChart

2008-07-31 Thread Martin
//prevents caching at the proxy server %> ? Martin - Original Message - From: "Laurie Harper" <[EMAIL PROTECTED]> To: Sent: Thursday, July 31, 2008 2:28 AM Subject: Re: Struts 2 And JFreeChart I don't see what Ajax has to do with this... It sounds more like an HTTP cach

Re: Struts 2 And JFreeChart

2008-07-30 Thread Laurie Harper
ax is text only so you can't use it with an image type. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC From: cree <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Wed, 30 Jul 2008 12:14:02 -0700 (PDT) To: Subject: Struts 2 And JFreeChart Hello Every

Re: Struts 2 And JFreeChart

2008-07-30 Thread Randy Burgess
Ajax is text only so you can't use it with an image type. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: cree <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 30 Jul 2008 12:14:02 -0700 (PDT) > To: > Subject: Struts 2 An

Struts 2 And JFreeChart

2008-07-30 Thread cree
aded, but the action itself will never get reloaded. The action would not get executed at all. My question is whether there is a way I can manually force the img tag to invoke the action itself. Thanks for any input -- View this message in context: http://www.nabble.com/Str