Hi,

If we generate the image in the event, and return the link, then we need to
store the image somewhere in the file system, and clean it up later after
the image got rendered, any idea how to handle this ?

Thanks,

A.C.


Kalle Korhonen-2 wrote:
> 
> You can even handle the progressivedisplay event (i.e. @OnEvent(value
> = EventConstants.PROGRESSIVE_DISPLAY, component =
> "progressiveDisplay")), construct the image there and then render the
> image link to it. ProgressiveDisplay works for most partial rendering
> cases, it's just a matter of how you are using it.
> 
> Kalle
> 
> 
> On Thu, Nov 5, 2009 at 3:07 AM, Thiago H. de Paula Figueiredo
> <thiag...@gmail.com> wrote:
>> Em Thu, 05 Nov 2009 05:40:20 -0200, Angelo Chen
>> <angelochen...@yahoo.com.hk>
>> escreveu:
>>
>>> Hi,
>>
>> Hi!
>>
>> As Ville suggested, instead of
>>
>> <t:ProgressiveDisplay initial="block:waitmsg">
>>         ${myimagestreamresponse}
>> </t:ProgressiveDisplay>
>>
>> try
>>
>> <t:ProgressiveDisplay initial="block:waitmsg">
>>          ${myimagelink} 
>> </t:ProgressiveDisplay>
>>
>> You'll need to create a page that returns the image as a StreamResponse
>> on
>> its onActivate() method. That's what I always do in these cases.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and
>> instructor
>> Owner, software architect and developer, 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
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/t5%3A-updating-a-zone-during-loading-of-page--tp26208359p26224579.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to