I was just adding it to the constructor when I realized that some AJAX aware panels need the extra <span>s otherwise the AJAX won't work. I might have to rethink this one.
>-----Original Message----- >From: Bas Gooren [mailto:b...@iswd.nl] >Sent: Tuesday, 2 April 2013 4:24 AM >To: users@wicket.apache.org >Subject: Re: Does getRenderBodyOnly need to be final? > >Since you have a base panel class, why not call setRenderBodyOnly() in >onInitialize or onConfigure based whatever logic you planned to put in >getRenderBodyOnly()? > >Met vriendelijke groet, >Kind regards, > >Bas Gooren > >Op 1-4-2013 19:20, schreef Chris Colman: >> >> I've come across a HTML/CSS template that is sensitive to the <span>s >> wicket places in various places and would like to do a global remove >> of these but don't want to have to call setRenderBodyOnly(true) on >> every component if I can avoid it. >> >> I thought that maybe I could override getRenderBodyOnly in my app's >> base panel class so that all panels are automagically affected but I >> discovered that getRenderBodyOnly is marked as final in the framework. >> Is there any reason for this? It could be really useful to override this. >> >> Yours sincerely, >> >> Chris Colman >> >> Pagebloom Team Leader, >> >> Step Ahead Software >> >> pagebloom - your business & your website growing together >> >> Sydney:(+61 2) 9656 1278 Canberra: (+61 2) 6100 2120 >> >> Email: chr...@stepahead.com.au <mailto://chr...@stepahead.com.au> >> >> Website: >> >> http://www.pagebloom.com <blocked::http://www.pagebloom.com/> >> >> http://develop.stepaheadsoftware.com >> <blocked::http://develop.stepaheadsoftware.com/> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org