~Holly KitooakolApr 19, 2011, 2:27 PM57 PostsRe: Repeat within repeat control, data binding issuewhat is your "collection1" exactly, name/id/value of repeat control? or datasource that parent repeat control interator points to? <xp:repeat id="repeat1" rows="30" value="#{javascript:getArray();}" var="row" indexVar="rowIndex"> <xp:repeat id="repeat2" rows="30" value="#{javascript:return row;}"> something </xp:repeat></xp:repeat>nested repeat control should refer to "row" from parent repeat control as its own datasource...
~Sanjay KijipyingsApr 20, 2011, 6:57 AM29 PostsRe: Repeat within repeat control, data binding issue collection1 is name of the collection of the parent repeatControl. In your example that would be 'row'.
~Holly KitooakolApr 20, 2011, 7:29 AM57 PostsRe: Repeat within repeat control, data binding issue if syntax is right, then should check if "collection1" is really null or not, but you must have done thator return a vector instead of a array, vector can be regonized by SSJS, but array can't, i guess, tried a couple times
~Sanjay KijipyingsApr 20, 2011, 7:48 AM29 PostsRe: Repeat within repeat control, data binding issueok, I'll try to do thatThanks