Using dojox.widget.Standby in Xpage and try to show “waiting” screen during partial refresh process.
I used image in Standby widget.
When I clicked on button, first time only, image seems twice (like screen flip), after one click, trying again but at this time no problem.
Why Standby widget shows image twice at first run/show ?
Any idea ?
Ferhat,
I can say something according to your code…
Part of code is like this. If I can prepare sample NSF, I will email you Serdar.
First you need to make sure that you do a partial update on a specific panel.
Then you have to hijack the partial update event as described here: http://xpageswiki.com/web/youatnotes/wiki-xpages.nsf/dx/Work_with_events_and_partial_or_full_refresh
Using this technique, you can show/hide the waiting screen in the partialevent-init and partialevent-complete events.
Seems familiar :)))
Sample nsf would be fine 🙂
Esinlenmek insan dogasinda var Ustad 🙂 Internet aleminde utanma duygusunu da tattirdin ya bana operim 🙂
Julian, reading this hi-jack tutorial now. I hope, It can help, thanks.
Check out The example on my blog
Xpagedeveloper.com
function noteOperationCompleted()
{
if (this.fullStandby != null) this.fullStandby.hide();
if (this.fullStandbyCompleted == null)
{
this.fullStandbyCompleted = new dojox.widget.Standby({
target:dojo.body(),
color:’lightgray’,
image:’/LotusPleaseWaitCompleted.png’,
duration:200
});
document.body.appendChild(this.fullStandbyCompleted.domNode);
this.fullStandbyCompleted.startup();
}
this.fullStandbyCompleted.show();
setTimeout(function() {if (this.fullStandbyCompleted != null) this.fullStandbyCompleted.hide();}, 500);
}]]>
+1