yes, i've overridden this method: @Override protected Component newContentComponent(String id, IModel<Serializable> model) { return new StyledLinkLabel<Serializable>(id, model) { private static final long serialVersionUID = 1L;
@Override protected String getStyleClass() { return "treeIcon"; } }; } Now I get a link without markup followed by the icon and the text from the model: <div id="node78" class="tree-node"> <../page?4-1.ILinkListener-tree-subtree-branches-1-node-junction> <em> 1 - The space is you - Kurt Klavier (more in time) </em> </div> -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-trees-tp4653082p4653246.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