Reputation: 2048
I would like to inititiate a csjs function every time a partial refresh is triggered/completed in XPages.
How can I do this?
Upvotes: 0
Views: 40
Reputation: 2359
Did you try the partial hijack code in combination with a dojo subscribe ? See http://dontpanic82.blogspot.fr/2010/01/xpages-hijackingpublishing-partial.html
Upvotes: 1
Reputation: 3395
Assuming your partially refreshed element is a container, just place a script block inside this container and call your CSJS script.
Upvotes: 1