Either you have a common super-class already or just use
ITreeProvider<Object>.
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. Categories listed in another
entity. I would like the files get listed by category in a TableTree.
Nothing tricky just two levels. Roots are the categories, children are files
belong to categories.
As I followed the examples realized that the listed items belongs to the
same class. Should I create a helper class based on a view ?
I would like to find the best approach if possible.
thnx., Sandor
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122.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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org