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>
Not tested it so don't know if this will work just like this, but it's a
starting point.
Regards
Markus Döring
-----Ursprüngliche Nachricht-----
Von: Paul Spencer [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Mai 2008 16:27
An: MyFaces Discussion
Betreff: Re: AW: [TRINIDAD] How to display "Page loading..." while page is
loading?
Markus,
> If no PPR is involved, it gets a bit tricky. You could use a
> JavaScript to display some hidden image when the button is clicked.
> When page loading is done, it should always be invisible.
Can you expand on this?
Paul Spencer