if you want something quick you can do this:
take the existing tree component and replace the links it generates with ajaxlink and redraw that whole node.
i believe matej did something very similar if not the exact thing and said it worked very well.
-Igor
On 4/21/06, Johan Compagner <
[EMAIL PROTECTED]> wrote:
there is as far as i know not a prebuild component for this
But you could build it.
johanOn 4/21/06, David Griffiths < [EMAIL PROTECTED]> wrote:Hi, how far away is Wicket from being able to do this:
- create a tree object initially displaying only the root node
- when you click to expand a node do it via a xmlhttprequest to the server
- the server responds with just the children which are inserted into the
DOM rather than the entire page or entire tree object being redrawn
and as an optional nice-to-have:
- preload the children as hidden elements and have an expand operation
use _javascript_ to make the children visible locally (no roundtrip delay)
whilst meanwhile calling the server to add new hidden grandchildren in
the background.
Thanks,
Dave
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
