Re: wicket-tree with two Hibernate entities

2012-10-20 Thread Sandor Feher
Thanks. All work fine. s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653163.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicket-tree with two Hibernate entities

2012-10-20 Thread Sven Meier
That's good to hear :). Sven On 10/20/2012 09:41 PM, Sandor Feher wrote: Thanks. All work fine. s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653163.html Sent from the Users forum mailing list archive at

Re: wicket-tree with two Hibernate entities

2012-10-19 Thread Sven Meier
Either you have a common super-class already or just use ITreeProviderObject. Introducing a helper class might save you some instanceof checks though. Sven On 10/19/2012 05:18 PM, Sandor Feher wrote: Hi, I dig myself into wicket-tree. I store my files in an entity by categories.

Re: wicket-tree with two Hibernate entities

2012-10-19 Thread Sandor Feher
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