1) I need to dynamically update wicket linked/abstract tree data, is that in
order to do that, the only way is to remove the abstract tree on the form
based on its ID, then adding it back to the form again,  is there other
alternatives to resolve that?

I have it working just adding new nodes to treemodel, then updating the
parent node component with ajax.

2)And is that the linked tree treemodel cannot be null? What if inititally
the tree data is null, until people dynamically add in new data?

can to be null, it even has an constructor that don't get any model
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/tree/AbstractTree.html#AbstractTree%28java.lang.String%29

On Mon, Oct 19, 2009 at 8:40 AM, ping ping <sping_p...@hotmail.com> wrote:

>
> I have a few questions regarding the wicket abstract/linked tree
>
>
>
> 1) I need to dynamically update wicket linked/abstract tree data, is that
> in order to do that, the only way is to remove the abstract tree on the form
> based on its ID, then adding it back to the form again,  is there other
> alternatives to resolve that?
>
>
>
> 2)And is that the linked tree treemodel cannot be null? What if inititally
> the tree data is null, until people dynamically add in new data?
>
> _________________________________________________________________
> NEW! Get Windows Live FREE.
> http://www.get.live.com/wl/all




-- 
Pedro Henrique Oliveira dos Santos

Reply via email to