<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xe="http://www.ibm.com/xsp/coreex">
<xp:this.data>
<xp:dominoView var="view1" viewName="tst"></xp:dominoView>
</xp:this.data>
Репитер<xp:br></xp:br>
<xp:table cellpadding="10">
<xp:repeat id="repeat1" rows="30" var="repeat" value="#{view1}">
<xp:tr>
<xp:td>
<xp:text escape="true" id="computedField1" value="#{repeat.NRUShort}"></xp:text></xp:td>
<xp:td>
<xp:panel
style="padding-left:10.0px;padding-right:10.0px;padding-top:10.0px;padding-bottom:10.0px;background-color:rgb(192,192,192)">
<xp:this.data>
<xp:dominoDocument var="document1"
action="editDocument"
documentId="#{java script:repeat.getNoteID()}">
</xp:dominoDocument>
</xp:this.data>
<xp:checkBox text="Label" id="checkBox1"
checkedValue="1" uncheckedValue="2" value="#{document1.Sex}">
<xp:eventHandler event="onchange"
submit="true" refreshMode="norefresh">
<xp:this.action><![CDATA[#{java script:document1.save()}]]></xp:this.action>
</xp:eventHandler>
</xp:checkBox>
</xp:panel>
</xp:td>
</xp:tr>
</xp:repeat>
</xp:table>
<xp:br></xp:br><xp:br></xp:br>DataTable
<xp:br></xp:br>
<xp:dataTable id="dataTable1" rows="30" value="#{view1}" var="tst">
<xp:column id="column1"><xp:text escape="true" id="computedField2" value="#{tst.NRUShort}"></xp:text></xp:column>
<xp:column id="column2">
<xp:panel
style="padding-left:10.0px;padding-right:10.0px;padding-top:10.0px;padding-bottom:10.0px;background-color:rgb(192,192,192)">
<xp:this.data>
<xp:dominoDocument var="document1"
action="editDocument"
documentId="#{java script:tst.getNoteID()}">
</xp:dominoDocument>
</xp:this.data>
<xp:checkBox text="Label" id="checkBox2"
checkedValue="1" uncheckedValue="2" value="#{document1.Sex}">
<xp:eventHandler event="onchange" submit="true"
refreshMode="norefresh">
<xp:this.action><![CDATA[#{java script:document1.save()}]]></xp:this.action>
</xp:eventHandler>
</xp:checkBox>
</xp:panel></xp:column>
</xp:dataTable></xp:view>