I'll try to look at it. In the meanwhile, couldn't you just change the root node of the (default)treemodel you are using?

Eelco

pepone pepone wrote:

can any body say me if there is any way to change the TreeModel
attached to a wicket tree i´m using wicket-1.1-b2

when i execute the next code the tree renders allways empty is this a bug?

treeView.getTreeState().setModel(newTreeModel);
treeView.modelChanged();

treeView is a class that extend wicket.markup.html.Tree



On 8/15/05, pepone pepone <[EMAIL PROTECTED]> wrote:
Hello all

I traying to update the TreeModel of a wicket Tree but i can´t do it

what i trying is

treeView.getTreeState().setModel(newTreeModel);
treeView.modelChanged();

but this allways render an empty tree

if i pass the treeModel direct to Tree constructor the tree renders ok

Any idea of how change the TreeModel of the tree component in execution time

thanks all



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to