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
<../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
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
.
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
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
--
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.
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
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