Hi, good idea, question is, how can we know if the loading is over? if there is a way in the current ProgressDisplay to trigger that event so that it can make the img visible?
Howard Lewis Ship wrote: > > Idea for a component: ImagePlaceholder that displays some content in a > div (a "loading ..." message), and an invisible tag in an > non-visible div. When the image is loaded, it removes the loading div > and makes the visible. > > On Thu, Nov 5, 2009 at 4:36 PM, Thiago H. de Paula Figueiredo > <thiag...@gmail.com> wrote: >> Em Thu, 05 Nov 2009 22:06:28 -0200, Angelo Chen >> <angelochen...@yahoo.com.hk> >> escreveu: >> >>> Hi, >> >> 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 ? >> >> Do not generate the image in the event nor store the image. I suggest you >> to >> try the approach I've already suggested: create a page that generates the >> image and returns a StreamResponse of it in its onActivate() method. In >> your >> page, just use an imageLink tag, with a getImageLink() method >> that returns a Link to your image page. >> >> -- >> 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 >> >> > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com > > --------------------------------------------------------------------- > 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--tp26208359p26226557.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