You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan McGowan <da...@earthlink.net> on 2003/03/27 01:42:19 UTC

[OT] tree control

Folks,
      I am looking into using a tree control in my web app.  I noticed 
that the tomcat admin app is struts based and uses a control.tld tag 
library , a org.apache.webapp.admin.TreeControlTestAction class and a 
org.apache.webapp.admin.SetUpTreeAction class.  Any pointers, docs, 
lessons learned, etc. from anyone adopting a similar tree control for 
their project? Pardon if this is a repeat...

tia,

Dan McGowan


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


Re: [OT] tree control

Posted by Arron Bates <st...@keyboardmonkey.com>.
Dan,

Using the Struts nested tags, you can get JSP's to go recursive, allowing all
the freedom in markup that you're used to without having to wade through code
that most tree controls work within.

It's so simple, some sod's even made a tutorial...

  http://keyboardmonkey.com/pilotlight

...the part which says "JSP Recursion and TREES!!!". If you want to plug and
play, the milestones of the tutorial's downloadable (minus Struts distro).

If you're running Tomcat 4.1.x, you'll want to put the following jar into the
WEB-INF/lib directory (its in Struts core for the upcoming RC2, but missed the
RC1 boat)...

  http://keyboardmonkey.com/downloads/km-nested-v2.03.jar


Anyways, it should scratch the itch, give it a bash.


Arron.


  
> Folks,
>       I am looking into using a tree control in my web app.  I 
> noticed that the tomcat admin app is struts based and uses a 
> control.tld tag library , a 
> org.apache.webapp.admin.TreeControlTestAction class and a 
> org.apache.webapp.admin.SetUpTreeAction class.  Any pointers, docs,
>  lessons learned, etc. from anyone adopting a similar tree control 
> for their project? Pardon if this is a repeat...
> 
> tia,
> 
> Dan McGowan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org




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