Maybe
<tr:form 
onsubmit="document.getElementById('busyIconIndicator').style.display='inline'">
        ...
</tr:form>

works?

-----Ursprüngliche Nachricht-----
Von: Daniel Niklas [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. Mai 2008 12:33
An: users@myfaces.apache.org
Betreff: Re: AW: AW: [TRINIDAD] How to display "Page loading..." while page is 
loading?


Hi,

we have the same requirements: we need a statusIndicator, that works for
non-PPR-requests, too. 


Markus Döring wrote:
> 
> I was thinking of something like this:
> 
> <tr:document>
>       <tr:image id="busyIconIndicator" source="/busy/image/url.gif"
> inlineStyle="display:none" />
>       <tr:commandButton text="push"
> onclick="document.getElementById('busyIconIndicator').style.display='inline'"
> >
>               <f:actionListener ... />
>       </tr:commandButton>
> </tr:document>
> 

This might be an idea for a solution, but we can't put the necessary
onclick-code to every command component. 

How can i be notified (in javascript) before the request is send to the
server?

Best regards
Daniel

-- 
View this message in context: 
http://www.nabble.com/-TRINIDAD--How-to-display-%22Page-loading...%22-while-page-is-loading--tp17230394p17250284.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to