Description
Conditional rendering of <head> tag can be useful for wicket integration projects. It think setting should be Page base(i don't know it is possible).
Please see following detailed explanation.
Thanks in advance
---------------------------------------------------------
Hi,
We have a big SpringMVC based web project. And we are developing new modules with wicket and including them to current View-Engine by using request.include(). (We have some customizations of course.)
The problem is about header resources, when i include a wicket component, it is also adding css and javascripts to source within a <head> tag. But in the middle of body content as normal .
Basically my requirement is removing automatically added <head> open-close tags for some pages. I need to determine this according to Page.
HtmlHeaderContainer class is providing <head> tag writing functionality. There is a method which is named "renderOpenAndCloseTags", and this covers my requirement. (This method is returning true for all cases)
But i could not find a way to override this method.
Is there any(other) way to do this?
Thanks.
---------------------------------------------------------