マウスカーソルの重なりをコントロールが受け取ったときに、イベントハンドラを有効にします。
<xp:eventHandler event="onmouseover" attributes>content</xp:eventHandler>
<xp:button value="Test" id="button1">
<xp:eventHandler event="onmouseover" submit="false">
<xp:this.script>
<![CDATA[var e = window.document.getElementById("#{id:inputText1}");
e.value = "Click this button to run the test"]]>
</xp:this.script>
</xp:eventHandler>
<xp:eventHandler event="onmouseout" submit="false">
<xp:this.script>
<![CDATA[var e = window.document.getElementById("#{id:inputText1}");
e.value = ""]]>
</xp:this.script>
</xp:eventHandler>
</xp:button>