xpages how to force a partial refresh afterPageLoad -
i asked question couple months ago, there has been no response thought try again. have block of ssjs manipulates number of values. there computed fields impacted these changes , not display correctly. have refresh button on xpage , partial refresh after works fine. need somehow trigger partial refresh on specific item (a panel in case) last step in afterpageload in ssjs. ideas?
thanks
refreshing panels ssjs without button, link or bit tricky.
but think problem more located in order in wich trying compute fields triggering code in erlier event before fields rendered, avoid displaying wrong values in first place, maby post example code.
if want refresh panel again after page has bean loaded try in onclientload clientevent fix it:
<xp:eventhandler event="onclientload" submit="false"> <xp:this.script><![cdata[dojo.ready(function(){ xsp.partialrefreshget('#{id:yourpanel}',{}) });]]></xp:this.script> </xp:eventhandler>
Comments
Post a Comment