Answering myself: I finished the ajax-tree, it works pretty good. Thanks to tap5 zones I could do it with 0 javascript lines. That is *really* interesting, the only "cons" are: 1) you must keep the state in the server (in this case, tree nodes must be in web-session) 2) traffic in ajax is higher because it sends the whole zone via ajax
If I were with struts2 or related, it was gonna be more complicated, more time spent, the only "pro" is.. the ajax traffic would be less because you send only the "new nodes" via json. I still prefer t5-zone solution, is easier, faster and better to mantain. Hope this is util for other too! Bye :-) On Fri, Nov 27, 2009 at 7:27 PM, Alfonso Quiroga <alfonsose...@gmail.com> wrote: > Hi, this time I want to do an ajax component, just a simple tree where > user can open nodes, like.. > A > B > C > ..and when user clicks on "A", via ajax the application will show A > childrens, like: > A > X1 > X2 > B > C > > Is this complicated? I saw examples (jumpstart) and I will start > trying to do it with just a zone, iterating over ${ nodes }, and try > to update this nodes when user click on an <actionlink> bounded to > that zone. Is this approuch correct? thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org