I have a Custom Control with with 4 repeat controls. One of the repeat controls is nested inside another, so it's much like this:
<repeat...>
</repeat...>
<repeat... var="row" value="calculations...">
<repeat... var="cell" value="more calculations...">
<field label="cell.label">
</field>
</repeat...>
</repeat...>
<repeat...>
</repeat...>
Now, if I use repeatControls=false, it almost works except that I get "cell not found" when partially refreshing the entire control. When I use repeatControls=true, the calculations above happen AFTER the load of the repeats, so nothing is displayed. And I have to be able to do a partial refresh of the entire control if needed.
How can I address this limitation? Where is that variable 'cell'? Why cannot XPages find it?
Thanks for your great help!
Update
The error also occurs when saving the document. The document is opened, a button is used to place it in edit-mode, a field is changed and then the save-button is clicked. Somehow, the repeat-var is 'not found'.