You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by 时茂 朱 <cs...@yahoo.com.cn> on 2006/12/07 08:25:52 UTC

control tagTree expand and collapse

hi,
   How can I use controller to control the tagTree expand and collapse .
The tagTree is in the jsp page.
 
thanks

 		
---------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! 

Re: control tagTree expand and collapse

Posted by Carlin Rogers <ca...@gmail.com>.
The TreeElement object has a setExpand(boolean) method that can be
used to define whether the node item should be rendered as expanded or
not. In your controller you could have an action method as the
selectionAction for the tree tag. Then based on a tree node selection
you could manipulate the desired TreeElement's expanded state.

Kind regards,
Carlin

On 12/7/06, 时茂 朱 <cs...@yahoo.com.cn> wrote:
> hi,
>    How can I use controller to control the tagTree expand and collapse .
> The tagTree is in the jsp page.
>
> thanks
>
>
>  ________________________________
> 抢注雅虎免费邮箱-3.5G容量,20M附件!
>
>
>
> ---------- Forwarded message ----------
> From: 时茂 朱 <cs...@yahoo.com.cn>
> To: dev@beehive.apache.org
> Date: Thu, 7 Dec 2006 15:11:27 +0800 (CST)
> Subject:
> hi,
>    How can I use controller to control the tagTree expands and collapses .
> The tagTree is in the jsp page.
>
> thanks
>
>  ________________________________
> 抢注雅虎免费邮箱-3.5G容量,20M附件!
>
>
>