You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by shanmugampl <sh...@india.adventnet.com> on 2003/07/18 09:01:59 UTC
Utility tags.
Hi All,
Jakarta previously had utility tags for displaying the source of
a Jsp page in a Web Client. Now this set of tags have been deprecated.
Can any one tell me where i could find alternate tags. I tried
downloading the deprecated version. But it led to a File Node Found
exception. Can any one point me to a valid link for download.
Thanks
Shanmuam PL
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
RE: Utility tags.
Posted by Sandeep Takhar <sa...@yahoo.com>.
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 <mi...@mail.ru> 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:sloan@sgi.net]
> 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:
> taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> taglibs-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
RE: Utility tags.
Posted by Milut <mi...@mail.ru>.
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:sloan@sgi.net]
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: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org