http://myfaces.apache.org/trinidad/devguide/ppr.html#Javascript%20APIs%20for%20PPR

sample code:

...
function generalPPRMonitor(state) {
    if (state == TrRequestQueue.STATE_BUSY) {
        showDivWait();
    } else {
        closeDivWait();
    }
}

function generalOnLoad() {
    var requestQueue = TrPage.getInstance().getRequestQueue();
    requestQueue.addStateChangeListener(generalPPRMonitor);
}
...

<trh:body onload="generalOnLoad();">

...


Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br



On Thu, Dec 11, 2008 at 1:44 PM, Daniel Niklas <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> how can i check if a submit is/becomes a ppr-request?
> I want to register a (javascript) Event-Listener on
> <form>-tags and check if the submitted form is/becomes
>  a ppr-submit.
>
> Is there anywhere a javascript documentation?
> (I know the ppr-site in developers guide, allready...)
>
> Any suggestions?
>
> Thanks, Daniel
> --
> View this message in context:
> http://www.nabble.com/-Trinidad--check-for-ppr-with-javascript-tp20957976p20957976.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to