Look into "widget" frameworks for client side such as Dojo, DWR, etc.
We use Dojo and particularly happy with it. http://dojocampus.org/explorer/#Dijit_Tree Greg -----Original Message----- From: Tommy Pham [mailto:tommy...@yahoo.com] Sent: Wednesday, September 23, 2009 1:18 PM To: Struts Users Mailing List Subject: Re: How to load a tree dynamically? ----- Original Message ---- > From: Hanen Ben Rhouma <hanen...@gmail.com> > To: Struts Users Mailing List <user@struts.apache.org> > Sent: Wednesday, September 23, 2009 3:06:23 AM > Subject: How to load a tree dynamically? > > Morning, > > Is it possible to load a tree dynamically with a jsp in an MVC architecture > (using struts 1.3). Dynamically means I got a perforce depot which I need to > retrieve its children as nodes but progressively (on clicking on any parent > directory it will display its children). > > Till now, I've just found the tree taglib which can make use of a tree > object passed into session, but even with such solution I'm obliged to load > the whole tree at once which makes a lot of times and doesn't take into What you're looking for is 'client side', meaning javascript/AJAX. > consideration the changes happening through that time. > > Could someone suggest me another way to implement such structure? > > > Thanks in advance, > Hanen --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org