Heya everybody,I have a problem/question to submit to the community :
in a xpage, in a partial refresh panel, i have a button wich triggers a partial refresh on another panel, and executes client side and server side code.
It works fine on firefox. on IE 6/IE 7 the server side code is executed, but not the client side code.
if i refresh my whole IE page (F5), the button client side code is executed ok.
Following is an example xpage featuring this problem.
First button only displays second button using a partial refresh. Second button should display the alert when clicked but does not.
Any hint is more than welcome.
<?xml version="1.0" encoding="UTF-8"?><xp:view xmlns:xp=“http://www.ibm.com/xsp/core”>
<xp:button value="display button below" id="button1">
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="panel1">
<xp:this.action>
<xp:executeScript>
<xp:this.script><![CDATA[#{javascript:
sessionScope.displayPanel = "1";
}]]></xp:this.script>
</xp:executeScript>
</xp:this.action>
</xp:eventHandler>
</xp:button>
<xp:br></xp:br>
<xp:panel id="panel1">
<xp:panel>
<xp:this.rendered><![CDATA[#{javascript:
return sessionScope.displayPanel == "1";
}]]></xp:this.rendered>
<xp:button value="Click" id="button2">
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="panel2">
<xp:this.handlers>
<xp:handler type="text/javascript">
<xp:this.script><![CDATA[
alert('clicked');
]]></xp:this.script>
</xp:handler>
</xp:this.handlers>
<xp:this.action>
<xp:executeScript script="#{javascript:print('server script');}">
</xp:executeScript>
</xp:this.action>
</xp:eventHandler>
</xp:button>
<xp:br></xp:br>
<xp:panel id="panel2">ZZZZ</xp:panel>
</xp:panel>
</xp:panel>
</xp:view>