You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by based <fa...@eu.sony.com> on 2009/02/05 16:40:20 UTC

How to remove open-close tags of

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.

-- 
View this message in context: http://www.nabble.com/How-to-remove-open-close-tags-of-%3Chead%3E-tp21853872p21853872.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to remove open-close tags of

Posted by Igor Vaynberg <ig...@gmail.com>.
no

-igor

On Thu, Feb 5, 2009 at 11:53 PM, based <fa...@eu.sony.com> wrote:
>
> Hi Igor,
>
> Thanks for your reply, I have created the jira rfe. To be able to continue
> to development, i created a new IResponseFilter to remove <head> tags from
> responseBuffer.
> Do you see any concern in this?
>
> Thanks in advance
>
>
> igor.vaynberg wrote:
>>
>> add an rfe into jira to break this out into a setting
>>
>> -igor
>>
>> On Thu, Feb 5, 2009 at 7:40 AM, based <fa...@eu.sony.com> wrote:
>>>
>>> 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.
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-remove-open-close-tags-of-%3Chead%3E-tp21853872p21853872.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/How-to-remove-open-close-tags-of-%3Chead%3E-tp21853872p21868046.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to remove open-close tags of

Posted by based <fa...@eu.sony.com>.
Hi Igor,

Thanks for your reply, I have created the jira rfe. To be able to continue
to development, i created a new IResponseFilter to remove <head> tags from
responseBuffer. 
Do you see any concern in this?

Thanks in advance


igor.vaynberg wrote:
> 
> add an rfe into jira to break this out into a setting
> 
> -igor
> 
> On Thu, Feb 5, 2009 at 7:40 AM, based <fa...@eu.sony.com> wrote:
>>
>> 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.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-remove-open-close-tags-of-%3Chead%3E-tp21853872p21853872.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-remove-open-close-tags-of-%3Chead%3E-tp21853872p21868046.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to remove open-close tags of

Posted by Igor Vaynberg <ig...@gmail.com>.
add an rfe into jira to break this out into a setting

-igor

On Thu, Feb 5, 2009 at 7:40 AM, based <fa...@eu.sony.com> wrote:
>
> 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.
>
> --
> View this message in context: http://www.nabble.com/How-to-remove-open-close-tags-of-%3Chead%3E-tp21853872p21853872.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org