I used the Dojo Tab Container and Tab Panel control from the XPages Extension Library to solve this problem.
http://extlib.openntf.org/
I wanted a save as draft option on a page that has the lotus tab control. However, when I click on a tab it submits the validation for the page. Even when you set disableValidators="true".
Besides the Dojo layout controls I added these buttons for the save as draft and submit.
Save as draft button
<xp:button value="Save as Draft" id="buttonSaveAsDraft"
styleClass="lotusBtnSpecial"
rendered="#{javascript:document1.isEditable()}">
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete" immediate="false" save="true"
disableValidators="true" />
</xp:button>
Submit button
<xp:button value="Submit" id="button1" styleClass="lotusBtnSpecial"
rendered="#{javascript:document1.isEditable()}">
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete" immediate="false" save="true" />
</xp:button>
There could be better options for handling this issue but the above worked for me.