That is not true. Lazy loading means that child nodes are created when the parent is expanded and not until then. If you create the whole tree model all at once, you are fully loaded, regardless of when the nodes are rendered. Lazy loading refers to model creating, not rendering time.
As for AJAX, in AjaxAnywhere, just put a zone around the tree and when the nodes are expanded/collapsed, just add the zone to the list to refresh. As for Ajax4jsf, I think (I haven't had a chance to use it yet) just wrap a panel around the tree, then add that panel to the re-render list when a node is expanded or collapsed. On 9/21/06, Roger Keays <[EMAIL PROTECTED]> wrote:
Hi Bill, > I had no problem with it, what kind of tree behavior are you looking for? > lazy loading? ajax expend-collapse? clickable treenode that does ajax > request? etc I'm looking for AJAX expand-collapse when the +/- icon is clicked. It would be okay if the entire tree was refreshed, just not the entire page! One other thing though.. I see lots of references to AJAX lazy loading. What is that supposed to mean? AFAICT tree2 supports lazy loading out of the box, and it has nothing to do with AJAX. Just set clientSideToggle="false". Cheers, Roger > > Hi there, > > Does anybody have experience integrating ajax4jsf with MyFaces' tree2 > component? I can't see anything in ajax4jsf that will work out of the > box (a4j:support, a4j:region and a4j:form don't do the trick). > > Cheers, > > Roger -- ---------------------------------------- Ninth Avenue Software p: +61 7 3137 1351 (UTC +10) f: +61 7 3102 9141 w: http://www.ninthavenue.com.au e: [EMAIL PROTECTED] ----------------------------------------

