Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Steve Knight
I don't know but I'd like to see one too, along with drag and drop capabilities. There was someone on the list that was working on a DOJO based tree, but I haven't heard anything else since.I thought about trying to create it myself, but my Wicket skills and knowledge are not yet up to par.
SteveOn 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 redrawnand as an optional nice-to-have:- preload the children as hidden elements and have an expand operationuse _javascript_ to make the children visible locally (no roundtrip delay)
whilst meanwhile calling the server to add new hidden grandchildren inthe 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Johan Compagner
there is as far as i know not a prebuild component for thisBut 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 redrawnand as an optional nice-to-have:- preload the children as hidden elements and have an expand operationuse _javascript_ to make the children visible locally (no roundtrip delay)
whilst meanwhile calling the server to add new hidden grandchildren inthe 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Igor Vaynberg
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.-IgorOn 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.johan
On 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 redrawnand as an optional nice-to-have:- preload the children as hidden elements and have an expand operationuse _javascript_ to make the children visible locally (no roundtrip delay)
whilst meanwhile calling the server to add new hidden grandchildren inthe 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user





Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Ryan Sonnek
didn't this end up getting created in the dojo components?

I thought one of the interns started work on this...

On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] 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] 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] 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=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Matej Knopp
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=lnkkid=120709bid=263057dat=121642

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user