Xpages: is there a way to change all document datasources in repeat to read mode

I have a repeat in a xpage with multiple document data sources that can be edited. I would like to toggle all data sources to read mode with one click. Can the document datasources in a repeat control be reference from outside of the repeat control? Thx David

Subject: try…

and see how far you can get

Subject: I saw that article…

but I a trying to expand on the “in-line edit”. I need to act on the document data sources from outside of the repeat control that contains them. Thanks.