Author Login
Post Reply
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
>
>
>
>
>
--
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)