Guess this won't be enough, you have to redraw also the node that was selected previously.

What I did was that I redrawn the whole tree.
It was a 10 minutes hack, I took wicket tree and changed all links to AjaxFailbackLink.

I can say that even redrawing the whole tree was magnitudes better that refreshing whole page.

-Matej

Igor Vaynberg wrote:
yep, we dont have one built yet. its a shame, but we are all very busy right now as you can see :)

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] <mailto:[EMAIL PROTECTED]>> wrote:

    there is as far as i know not a prebuild component for this
    But you could build it.

    johan


    On 4/21/06, *David Griffiths* < [EMAIL PROTECTED]
    <mailto:[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
        
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
        _______________________________________________
        Wicket-user mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/wicket-user
        <https://lists.sourceforge.net/lists/listinfo/wicket-user>






-------------------------------------------------------
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

Reply via email to