Hey,
I’m not sure if you still need an answer, but I just came across the same issue
myself. The way I got it working was by subclassing AjaxTreeModel and
overriding setRootTreeNode. All the expanded/collapsed nodes get reset when a
different rootTreeNode is set.
@Override
public void setRootTreeNode(Object rootTreeNode) {
if (rootTreeNode != rootTreeNode()) {
super.setRootTreeNode(rootTreeNode);
// expand tree nodes here
}
}
—
Freddie
On 12 Dec 2013, at 09:52, Butchi Reddy Velagala <[email protected]> wrote:
> Hi All,
>
> Can any one help me to expand AjaxTree upto a certain node .
>
> * I am using Delegate in AjaxTree.
>
> * i am trying to do this with the help of AjaxTreeModel.setExpanded() .
> There was some progress, but i got 2 labels for each node ( one is with + and
> other is -) . Suggest me where i have to place this method.
>
>
> Thanks in Advance,
> Butchi Reddy Velagala
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/freddie.tilley%40amboss-software.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]