This is all related to struts. It is an extension that is now part of struts core.
www.keyboardmonkey.com I believe The files you mention are just part of the example app (just straight java files) sandeep --- Milut <[EMAIL PROTECTED]> wrote: > Hi! > > --- > I'm trying to do a tree using the nested tags and > I'm having some issues. > > I've got a NodeBean (like the TreeBean in the monkey > bean example) with the > --- > > Please, can you comment me what NodeBean and > TreeBean are? Where can I get > additional information? From what project can I get > these the nested tags? > What is "monkey bean example"? Where I can get it? > > Thanks in advance. > > Bye. > Best regards. > Michael. > > -----Original Message----- > From: Sloan Seaman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 6:16 PM > To: Tag Libraries Users List > Subject: nested tag > > > I'm trying to do a tree using the nested tags and > I'm having some issues. > > I've got a NodeBean (like the TreeBean in the monkey > bean example) with the > following: > public NodeBean() { > key="MonkeyTree"; > value="MonkeyTree"; > NodeBean n1 = new NodeBean("1", "1"); > NodeBean n2 = new NodeBean("2", "2"); > NodeBean n3 = new NodeBean("3", "3"); > NodeBean n4 = new NodeBean("4", "4"); > addChild(n1); > n1.addChild(n3); > addChild(n2); > n2.addChild(n4); > } > > And my .jsp looks like: > <nested:form action="/testTree2.do"> > <jsp:include page="treeNode.jsp"/> > </nested:form> > > and (treeNode.jsp): > <nested:root> > <DL> > <nested:iterate property="children"> > <DD><FONT size="-2"> > <nested:write property="ancestry"> > </FONT> > <nested:writeNesting/> > <jsp:include page="treeNode.jsp"/> > </DD> > </nested:iterate> > </DL> > </nested:root> > > But the output I get is: > 1 children[0] > 3 children[0].children[0] > 2 children[1] > 3 children[0].children[0] > > You can see that node 2 is showing a the child of > node 1 when it should (as > in the java code) clearly be node 4. > > Can anyone help me as to why this is happenning? Is > it a bug in the nested > tag? > > -- > Sloan > > > ________________________________________________________________________ > This email has been scanned for all viruses by the > MessageLabs Email > Security System. For more information on a proactive > email security > service working around the clock, around the globe, > visit > http://www.messagelabs.com > ________________________________________________________________________ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
