<xp:button id="button3"> <xp:this.value><![CDATA[Save & Read Mode]]></xp:this.value> <xp:eventHandler event="onclick" submit="true" refreshMode="complete"> <xp:this.action> <xp:actionGroup> <xp:saveDocument/> <xp:changeDocumentMode mode="readOnly"/> </xp:actionGroup> </xp:this.action> </xp:eventHandler> </xp:button>