Pages

Monday, March 14, 2011

Execute Client Scripts in the After Page Load event of XPage

 In order to execute client side scripts in the after page load events of an XPage, one must use dojo to accomplish it. I think I know an other way to do this, but the one posted below seems simple and effective to me. All you got to do is add the following to your XPage and test it for your self

     dojo.addOnLoad(yourJavascriptFunction)


Hope this helps :)

No comments:

Post a Comment