This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 29, 2011, 1:10 PM
38 Posts

Re: Trigger partial refresh via SSJS Code

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: xpages
  • Replies: 3
Thanks Ian for the post. But the discussion there is inconclusive.
 
I had found this link (http://www.youatnotes.de/web/youatnotes/wiki-xpages.nsf/dx/Work_with_events_and_partial_or_full_refresh) which demonstrates partial refresh via CSJS, but I am looking for SSJS. 
 
 
Mar 29, 2011, 2:42 PM
2 Posts
Re: Trigger partial refresh via SSJS Code
Navenn,
 
I don't know of anyway to call a partial refresh directly from ssjs , but what you can do is use the onComplete property in the event handler of a partial refresh and use XSP.partialRefreshPost to refresh some additional part of the page.
 
Looks like this in the source and goes between the event handler tags. You can also nest other partial refreshes in the oncomplete event (covered in the link you referenced).
 
<xp:this.onComplete><![CDATA[XSP.partialRefreshPost([id to refresh])]]></xp:this.onComplete>
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal