Hi All,
As you know,xmlHttp(Javascript) can support synchronize method to make the AJAX request.
For Example,
xmlHttp.open(“GET”,“time.asp”,false);
Does xpage partial update also support it,how to set up it?
Many thanks
Hi All,
As you know,xmlHttp(Javascript) can support synchronize method to make the AJAX request.
For Example,
xmlHttp.open(“GET”,“time.asp”,false);
Does xpage partial update also support it,how to set up it?
Many thanks
Subject: events on partial refresh
Maybe you can use some events on the button.Here one my code example:
<xp:button value=" Apply" id=“button1” icon=“/apply_15x15.gif” styleClass=“buttons”>
<xp:eventHandler event=“onclick” submit=“true” refreshMode=“partial” refreshId=“pBody” id=“eventHandler3” onComplete=“onLoadWait(id1, id2);”>
xp:this.script</xp:this.script>
xp:this.onStart</xp:this.onStart>
xp:this.action<![CDATA[#{javascript:sessionScope.put(“search_Title”, requestScope.search_Title);
sessionScope.put(“search_Type”, requestScope.search_Type);
sessionScope.put(“search_Phase”, requestScope.search_Phase);}]]></xp:this.action>
</xp:eventHandler>
</xp:button>