Hi Sven, Thank you for the prompt answer. Please make me sure if I do it well.
FileHelper.class import java.util.Collections; import java.util.List; public class FileTreeHelper implements Serializable { private HrpBbfparam parent; // this is the dictionary class with fields Id and Name public HrpBbfparam getParent() { return parent; } public void setParent(HrpBbfparam parent) { this.parent = parent; } private List<HrpFiles> children; // files belong to parent public List<HrpFiles> getChildren() { return children; } public void setChildren(List<HrpFiles> children) { this.children = children; } } thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653130.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org