I'm trying to convert main menu into components to control visibility of
items depending on the user logged in and the context.
I use borders to wrap menu item into li tags.
The problem is that the rendered markup contains additional wicket:border
and wicket:body tags. They breaks the menu and it
().setStripWicketTags(false);
super.onAfterRender();
}
};
--
View this message in context:
http://www.nabble.com/how-to-strip-wicket-tags-for-particular-component-tp24568122p24568890.html
Sent from the Wicket - User mailing list archive
this message in context:
http://www.nabble.com/how-to-strip-wicket-tags-for-particular-component-tp24568122p24568909.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
().getMarkupSettings().setStripWicketTags(false);
super.onAfterRender();
}
};
--
View this message in context:
http://www.nabble.com/how-to-strip-wicket-tags-for-particular-component-tp24568122p24568972.html
Sent from the Wicket
-to-strip-wicket-tags-for-particular-component-tp24568122p24571367.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users
Turning the 2 lines around might give better results.
Regards,
Erik.
Mathias Nilsson wrote:
What about
@Override
public void onComponentTag( ComponentTag tag){
tag.remove( wicket:id );
super.onComponentTag(tag);