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"> > <img src="${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