Hi, I have created a panel with AjaxLinkTree with Possibility to add new node, as a child of the currently selected node. Now I want to make this component reusable, participating in parent form. As suggested by Wicket in Action, it will extend FormComponentPanel. It's data model will be simple Integer, with the intention that it will point to the currently selected node.
public MyTree(String id, IModel<Integer> model) { super(id, model); ... } Here are my needs, maybe somebody will give some hint how to implement it: a) how do I mark such tree object as 'required'? I mean that the value represented by the tree is required. Do I do it inside the component that defines tree or outside, on the parent form level? b) I want this tree to expand at the beginning to the position specified by initial value of the model. Do I implement it myself, knowing the backend data model - or there is any internal feature. Any help from more experienced wicketers? Regards, Darek --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org