struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Mikheev <mi...@bigfoot.com>
Subject Re: reloading a tree at a certain level of expension
Date Tue, 07 Aug 2007 21:49:17 GMT
Session A Mwamufiya wrote:
> I'm relaunching this thread in case an s:tree expert may have missed it the first time
around :).
> 
>> Is there a way that when a s:tree is reloaded, it expends to a particular
>> level of expansion?  I presume that I will save that expansion level in
>> my session object, but I'm not sure how to get it or set the tree to it,
>> or if it's even possible.


Looking into TreeSelector API I found a selectedNode parameter -
will it do the job?
Feel free to ask Struts2 developers to include selectedNode parameter
into s:tree tag if is does what you expect (and if it's not included
there yet - sometimes S2 code changes faster than its documentation).

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message