Hi,

On Tue, Sep 30, 2008 at 3:10 PM, Alexander Anguiano
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I'm migrating to 1.3 and the notes recommend the new tree implementation
> in the 1.3 and not the one in extension.  I have a couple of question
> about this
>
>
>
> 1)     Which Tree class do I use?  BaseTree?
Depends on what components you need in the tree. BaseTree gives you
most flexibility. LinkTree and LabelTree are easier to use because
they came with existing node components.

> 2)     The renderNode method is missing.  What is the equivalent in the
> new Tree classes

You can use the protected Component newNodeComponent(String id,
IModel<Object> model) method to create your own tree node components.
Look at LinkTree or BaseTree implementations for this method.

-Matej

>
>
>
> Thanks.
>
>
>
>
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to