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

Reply via email to