how to strip wicket tags for particular component

2009-07-20 Thread Vladimir Kovalyuk
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

Re: how to strip wicket tags for particular component

2009-07-20 Thread Mathias Nilsson
().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

Re: how to strip wicket tags for particular component

2009-07-20 Thread Vladimir K
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

Re: how to strip wicket tags for particular component

2009-07-20 Thread Vladimir K
().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

Re: how to strip wicket tags for particular component

2009-07-20 Thread Mathias Nilsson
-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

Re: how to strip wicket tags for particular component

2009-07-20 Thread Erik van Oosten
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);