Hi,

Markus Döring wrote:
> 
> Maybe
> <tr:form
> onsubmit="document.getElementById('busyIconIndicator').style.display='inline'">
>       ...
> </tr:form>
> 
> works?
> 

Ok, this seems to work:

...

function showStatusBusy() {
    document.getElementById("statusIndicator::busy").style.display="inline";
    document.getElementById("statusIndicator::ready").style.display="none";
}

...

<tr:form onsubmit="showStatusBusy();">

...

  <tr:statusIndicator id="statusIndicator">
      <f:facet name="busy">
          <tr:outputLabel value="loading ..." />
      </f:facet>
      <f:facet name="ready">
        <tr:outputLabel value="ready" />
      </f:facet>
  </tr:statusIndicator>

...


But isn't there a solution whith (trinidad) javascript, where i can get the
information, that a request will be send? I could avoid the onload within
the form component then.

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

Reply via email to