I have an xpage that contains a repeat control. The repeat generates dynamic editable fields based on values in a view. I would like the repeat to grab the data only once so that subsequent updates to the view are not received by the repeat control.
From what I understand of repeat controls this might not be possible.
Is there anyway I would be able to do this?
For what its worth here is the code sample.
<xp:repeat id="repeat2" rows="100" value="#{view6}" indexVar="rowData" var="dataCol" repeatControls="false">
<xp:tr>
<xp:td style="width:400px">
<xc:dynamicChecklistItem
itemname="#{javascript:rowData+'itemname'}"
savedname="#javascript:rowData+'savedname'}">
</xc:dynamicChecklistItem>
</xp:td>
<xp:td>
<xc:dynamicCompleted
completedField="#{javascript:rowData+'completed'}">
</xc:dynamicCompleted>
</xp:td>
<xp:td>
<xc:dynamicVerified
verifiedField="#{javascript:rowData+'verified'}">
</xc:dynamicVerified>
</xp:td>
<xp:td>
<xc:dynamicComments dsn="document1"
fieldName="#{javascript:rowData+'Comments'}">
</xc:dynamicComments>
</xp:td>
</xp:tr>
</xp:repeat>