I would just write a little javascript, whatever is causing your zone to
update, just put an onclick="showThrobber('zoneid')" then in that function
just replace the innerhtml (or change some css class, there is more than one
way) of the zone with your loading icon/message.  This replacement will
happen when the zone update is fired, and when the zone update returns
you're icon/message will be replaced with the updated data.


Juan Salamanca wrote:
> 
> I would like to add a generic ajax loader to my zones, so that while the
> zone is being updated, it displays a message or an icon. I was wondering
> what would be the best way to do it. I am thinking of implementing a
> mixin for that, so that I can reuse the functionality in other zones. I
> am not sure, but I think that the show and update parameters of the zone
> component do not provide the desired functionality.
> 
>  
> 
> Do you know of an example code that could help me to get me started?
> 
>  
> 
> Thanks, 
> 
>  
> 
> Juan M Salamanca
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tapestry-Ajax-Loader-tp20699545p20702959.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to