Hi, the code:
...
function generalOnLoad() {
    var requestQueue = TrPage.getInstance().getRequestQueue();
    requestQueue.addStateChangeListener(generalPPRMonitor);
}
...

Makes the generalPPRMonitor method function be executed only when the PPR
starts/stops.

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



On Thu, Dec 11, 2008 at 2:26 PM, Daniel Niklas <co...@dniklas.de> wrote:

>
> Hi,
>
>
> Walter Mourão-2 wrote:
> >
> >
> > function generalPPRMonitor(state) {
> >     if (state == TrRequestQueue.STATE_BUSY) {
> >         showDivWait();
> >     } else {
> >         closeDivWait();
> >     }
> > }
> >
> I'm not sure, but i think, that i wouldn't get a notification if it isn't a
> ppr request?!
>
> Daniel
>
> --
> View this message in context:
> http://www.nabble.com/-Trinidad--check-for-ppr-with-javascript-tp20957976p20958883.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to