Re: generated image not showing up in IE7

2010-08-31 Thread ruksen inanir
omponent wiki example class without modification . Tapestry 5.1.0.5 is used. Thanks, Ruksen On Fri, Aug 27, 2010 at 3:50 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 27 Aug 2010 09:41:21 -0300, ruksen inanir > wrote: > > Hi, >>Isn

Re: generated image not showing up in IE7

2010-08-27 Thread ruksen inanir
hanks On Fri, Aug 27, 2010 at 3:11 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 27 Aug 2010 06:02:28 -0300, ruksen inanir > wrote: > > As you say, should i return the response at the onActivate() ? >> > > You don't need to, but you c

RE: generated image not showing up in IE7

2010-08-27 Thread ruksen inanir
I have a similar problem with stream redirection, but the problem is not related to browser. When i use the example codes in http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent i got a stream redirection exception which is thrown from line 63 of http://tapestry.apache.org/tape

RE: Stream redirection problem when using JFreeChart with Tapestry

2010-08-13 Thread Ruksen Inanir
, Ruksen Inanir wrote: > Thanks for the response. I had not post the Chart component to keep > the mail shorter. But here it is; > > public class Chart { > @Inject > private ComponentResources _resources; > @Inject > private TypeCoercer _coercer; > /**l

RE: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Ruksen Inanir
ge(500, 175); ByteArrayOutputStream byteArray = new ByteArrayOutputStream() ; ChartUtilities.writeBufferedImageAsPNG(byteArray, image) ; return new ByteArrayInputStream(byteArray.toByteArray()); } public void prepareResponse(Resp

RE: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Ruksen Inanir
eption is caused by a bug in your .tml or the underlying class. If you could reduce the template and the class to the minimum size that still shows the bug and post both to a follow up email, somebody on the list will probably be able to help you. Chuck On 8/10/2010 2:10 AM, Ruksen Inanir wrot

Stream redirection problem when using JFreeChart with Tapestry

2010-08-10 Thread Ruksen Inanir
Hi, I want to display a line-chart for my application. I tested chenille-kit chart component it worked quite good, but it does not support Dates on the x-axis. I want to to draw time-series on the chart. So I decided to use JFreeChart. The link http://wiki.apache.org/tapestry/Tapestry5HowToCr