I've been able to get an AJAX tree up and running and I'm very happy
with how simple it was. My HTML is:
<html>
<body>
<span wicket:id="myTree"></span>
</body>
</html>
and my Java is:
...
public TreePage() {
DefaultMutableTreeNode root = ...
TreeModel treeModel = new DefaultTreeModel(root);
Tree tree = new Tree("myTree", treeModel);
tree.getTreeState().collapseAll();
add(tree);
}
...
Now I'd like to improve the layout and I'm not sure how to do it. First
of all, the tree view seems to have a preset width that doesn't grow
when one of the tree nodes goes outside the width. How can I modify the
width of the tree view? Should I use CSS? And, if so, how do I hook my
CSS settings in?
Second, can I move/remove the floating debugger link? And can anyone
provide a link to a tutorial/guide that explains how to tweak pre-built
components? Hopefully that will get me moving in the right direction.
Thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]