I see. With wicket 2.0 it should be possible to build a page like this. 
With 1.2 it's not. I guess you can make your own tree subclassing 
WicketTree and replace links on nodes with bookmarkable links, but that 
won't really help you since the page will still be stored in session.

-Matej

David Leangen wrote:
>> Anyway, It's not possible with wicket to store state of tree in url, and 
>> I doubt it ever will be. URL length is limited so it wouldn't work for 
>> bigger trees. And wicket is managing state for whole pages, so it makes 
>> no sense to "ad-hoc" store state of tree in URL either.
> 
> In my case, the tree is "read only", so to speak. The tree never
> changes. The only state I need to store is which is the open branch,
> which requires only one parameter. For instance:
> 
>   /mytree?activeNode=abcde
> 
> 
> Only one branch can be open at a time. Therefore, the parameter above is
> enough to allow me to render the tree correctly.
> 
> 
> Cheers,
> 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
> 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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to