Mathias, I just posted right after your post :) Anyway thanks.
The problem is that you can not restore origianal settings when the body of the border is being rendered. At lease it is difficult to figure out what workaround I could employ. Thankfully I haven't to care about that in my case so I use it. Mathias Nilsson wrote: > > This may not be the best solution but it should work > > DateTextField dateField = new DateTextField("date", new Model<Date>(new > Date())){ > @Override > protected void onBeforeRender() { > > > Application.get().getMarkupSettings().setStripWicketTags(true); > super.onBeforeRender(); > } > @Override > protected void onAfterRender() { > > Application.get().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 - User 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