Hi,
    Isn't the onActivate() method's return type void? Should you get the
outputStream and out the response to the stream in the onActivate() ?
How is the response handled which onChart() method returns at the example
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent ?
   Should I do something explicitly to handle this response, in the example
there is no code which seems to handle this response. In the .tml of example

<t:chart width="200" height="150" chart="lineChart"/>

this line creates a component with specified width and height and the data
from lineChart. Then onChart() of the component is called which in turn
returns StreamResponse. To the this point everything seems rigth but, this
response is not handled. How is this response handled? Should i do something
else to handle the StreamReponse to make the image appear on the page. (
StreamResponse holds the the stream of a JFreeChart Image)

Thanks


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 <ruksenina...@gmail.com>
> wrote:
>
>  As you say, should i return the response at the onActivate() ?
>>
>
> You don't need to, but you can. That's what I usually do.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to