Re: Wicket 6 trees

2012-10-23 Thread Sven Meier
Hi, if I paste your code into BeginnersTreePage from wicket-examples: @Override protected Component newContentComponent(String id, IModel node) { return new StyledLinkLabel(id, node) { private static final

Re: Wicket 6 trees

2012-10-23 Thread PDiefent
<../page?4-1.ILinkListener-tree-subtree-branches-1-node-junction> 1 - The space is you - Kurt Klavier (more in time) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-trees-tp4653082p4653246.html Sent from the Users forum mailing list

Re: Wicket 6 trees

2012-10-22 Thread Sven Meier
this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-trees-tp4653082p4653201.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Wicket 6 trees

2012-10-22 Thread PDiefent
. Thanks a lot, Peter -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-trees-tp4653082p4653201.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-m

Re: Wicket 6 trees

2012-10-19 Thread Sven Meier
overriding PackageResourceReference getResourceFolderClosed(Object node) for instance. Is there a solution in Wicket 6 trees also? Thanks, Peter http://markmail.org/message/5at4m5uohfpawyck - To unsubscribe, e-mail: user

Re: Wicket 6 trees

2012-10-18 Thread tiffany
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-trees-tp4653063p4653071.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.

Re: Wicket 6 trees

2012-10-18 Thread Sven Meier
Hi Peter, just use the nearest common superclass. If there's no other, you'll have to use ITreeProvider. Sven On 10/18/2012 04:11 PM, Peter Diefenthaeler wrote: Hallo, I would like to use the new wicket tree model to build a tree with different node and leaf objects. If I use an ITreeProvid

Wicket 6 trees

2012-10-18 Thread Peter Diefenthaeler
Hallo, I would like to use the new wicket tree model to build a tree with different node and leaf objects. If I use an ITreeProvider I can only use one type for nodes and leaves. Is there a best practice to build a tree constisting of nodes (i.e. bag, sack) and leaves (i.e. apple, pear). Thanks