0

I don't know if this is a bug... But I insert into AfterRestoreView event of my Xpages

view.postScript("RefreshActionBar('')");

Into the function Javascript RefreshActionBar I insert this code:

alert("before")
XSP.partialRefreshGet("#{id:divActBar}",{}); 
alert("after")

Seem that the code work (show the alert messages...but the XSP.partialRefreshGet() dont' execute.. (With firebug I don't see GET)

Is normal?

Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31

1 Answers1

0

Try this code. This worked for me. :)

 XSP.partialRefreshGet("#{id:divActBar}", {
    onComplete: function() {
        //
    }
}
Prashant Arkal
  • 308
  • 2
  • 13