Hi Walter,
Walter Mourão-2 wrote:
Makes the generalPPRMonitor method function be executed only when the PPR
starts/stops.
... but i want to monitor *non* ppr-request!?
Daniel
--
View this message in context:
No idea... maybe using the page onload event.
Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br
On Tue, Dec 16, 2008 at 7:10 AM, Daniel Niklas co...@dniklas.de wrote:
Hi Walter,
Walter Mourão-2 wrote:
Makes the generalPPRMonitor method function be
Hi,
perhaps i found a solution. Register an event-Handler on form-elements and
then check for varialbe busy:
if (typeof busy == 'undefined')
// non-ppr-request
This seems to work...
Daniel :-)
--
View this message in context:
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
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
--
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
6 matches
Mail list logo