by veCol = vw.getAllEntriesByKey(key,false) where key is a value from a control on the 'form'. If the count in the veCol is Zero I return a message that the search failed, if the count is 1 (One) I set some values and redirect the page to an input page, however, if the count is greater than one I want to display the veCol to a repeat control. I thought of setting a viewScope variable to the veCol but I have seen the admonished don't store a Notes Object in a Scope variable because they are not serialized. So my question is "Is there a way to pass my veCol to a repeat control on the same custom control?" Actually the control is a dialog but that shouldn't matter.
In another instance I took the collection and turned it into an array of UNIDs in a viewScope variable then bound the repeat to the variable. This means that I have to get each document again using the UNID which works, but the veCol already contains everything that I need, just being able to pass it would be more efficient. So I know I can make it work but with a fair bit of overhead.
The code is pretty simple in my button I execute var veCol:NotesViewEntryCollection = vw.getAllEntriesByKey(key, false);
in the same dialog that contains the button I want a repeat using the value returned as veCol.
Any help appreciated.