• Repeat inside Repeat Not working

    By Chintan Parekh 1 decade ago

     

    Hi,

     

    I have this code which should function logically but it doesnt work..I don't describe it here as I already have a thread open on which I got was not noticed..so i just submitted it again..Thanks for any help..

     

    <?xml version="1.0" encoding="UTF-8"?>
    
    <xp:view xmlns:xp="http://www.ibm.com/xsp/core"
    
    xmlns:xe="http://www.ibm.com/xsp/coreex">
    
     
    
     
    
     
    
    <xe:outline id="outline4">
    
    <xe:this.treeNodes>
    
    <xe:repeatTreeNode var="val">
    
    <xe:this.children>
    
    <xe:basicLeafNode>
    
    <xe:this.label><![CDATA[#{javascript:return val}]]></xe:this.label>
    
    </xe:basicLeafNode>
    
    <xe:basicContainerNode label="#{javascript:return 'container:'+val}">
    
    <xe:this.children>
    
    <xe:repeatTreeNode var="val2">
    
    <xe:this.children>
    
    <xe:basicLeafNode>
    
    <xe:this.label><![CDATA[#{javascript:return val2;}]]></xe:this.label>
    
    </xe:basicLeafNode>
    
    </xe:this.children>
    
    <xe:this.value><![CDATA[#{javascript:return ["A",val];}]]></xe:this.value>
    
    </xe:repeatTreeNode>
    
    </xe:this.children>
    
    </xe:basicContainerNode>
    
    </xe:this.children>
    
    <xe:this.value><![CDATA[#{javascript:return ["1","2","3"];}]]></xe:this.value>
    
    </xe:repeatTreeNode>
    
    </xe:this.treeNodes>
    
    </xe:outline>