Ho to all, I have a little problem..my code work very well..if I have my event handler into a XPages
`<xp:eventHandler event="autoSaveEvent" id="autoSaveDoc"
submit="false">
<xp:this.action>
<xp:saveDocument>
</xp:saveDocument>
</xp:this.action>
</xp:eventHandler>`
but If I insert this into a Custom Control...the executeonserver don't work... I have read from here stack overflow post but for work I need to capture the id of my Custom Control..someone have any suggest?