Hello all.

I'm using Tapestry 4.1.1 and i'm learning to use ajax with it.
Now i'm trying to make a loading indicator for ajax request when are loading, like google. So i make a simple div like this:

<div id="loader" class="loader">Loading...</div>

and i want to make it visible when i run an EventListener and when it's finish, make it invisible. In other frameworks making this was very easy, but i dont know how to make it with Dojo, using something like

Dojo.byId("loader").Show <- when i get "onloading" ajax thing.
Dojo.byId("loader").Hide <- and whern i get "oncomplete" ajax thing.

Anyone knows any way to do this? Theres is something like updateComponent to make it visible and invisible?

Cheers

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

Reply via email to