Maybe you have a misunderstanding. setRenderBodyOnly(true) does not
depend at all on deployment or development mode.
What _does_ depend on it though is the rendering of <wicket:container>
tags and other wicket attributes. Personally, I use the following in my
application init method:
getMarkupSettings().setStripWicketTags(true);
This is because I also had inconsistent styling between the 2 modes.
On 12/12/2011 4:17 PM, sudeivas wrote:
Thanks..
But do I need to specify setRenderBodyOnly(true) for each component even in
the 'deployment' mode? Is there a better way to strip these markups for all
the components of a page? As we have lot of nested components for a page.
-Suresh
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/When-to-use-setRenderBodyOnly-true-tp4187518p4187651.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]