You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajay brar <aj...@hotmail.com> on 2003/12/13 12:18:20 UTC

display tree structure

hi!

i am using the following code to display a tree structure

<nested:root name="newUser">
	<nested:nest property="functions" >
    	<jsp:include page="treenode.jsp" />
  	</nested:nest>

</nested:root>

treenode.jsp goes as
<nested:root>
	<nested:write property="nodeName"/>
                 <nested:iterate property="children">
		<jsp:include page="treenode.jsp"/>
	</nested:iterate>
</nested:root>

newUser has the a property functions that references a Tree strcture
the Tree structure itself has properties nodeName and children, nodeName is 
just a String, children
is a arraylist of other Tree structures

however when i run the above code i dont get anything printed at all.

can someone please point out the error?

thanks
Ajay

_________________________________________________________________
Get less junk mail with ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org