Hi
David,
I am
trying to follow the example on the wiki page for lazy loading. I got a
compile error with the code snippets included in the second example.
The
problem is in TreeBacker-> selectedNode()
public void selectedNode()
{
this.selectedNode = this.getTreeModel().getNode().getDescription();
}
this.selectedNode = this.getTreeModel().getNode().getDescription();
}
The
error is method getNode() not find in class TreeModelBase. Will you
please share how you got over this issue?
Many
thanks for your help,
Jane
-----Original Message-----
From: David Chandler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 9:43 AM
To: MyFaces Discussion
Subject: Re: tree 2 -- lazy loading.Also see the wiki. The technique I'm currently using from there is to override the getChildren() method of your TreeNode implementation. Works perfectly!/dmc
On 7/17/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:Check the archives. You will see my post about a lazy-loading AJAX
tree for jsf-comp
On 7/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Quick question:
>
> Is the MyFaces Tree2 lazy loadable? Any examples anywhere?
>
> Thanks in advance,
>
> --Brad.
>

