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