Re: Bug or feature - strange behavior?

2010-07-27 Thread Martin Makundi
Could someone add some debug output warning for stripped tags that looks like open close tags ;]]] 2010/7/27 Martin Grigorov : > Accoring to > org.apache.wicket.markup.html.IHeaderResponse.renderString(CharSequence) > javadoc: > > /** >  * Renders an arbitrary string to the header. The string is

Re: Bug or feature - strange behavior?

2010-07-27 Thread Igor Vaynberg
/** * Renders an arbitrary string to the header. The string is only rendered if the same string * hasn't been rendered before. * * Note: This method is kind of dangerous as users are able to write to the output whatever they * like. *

Re: Bug or feature - strange behavior?

2010-07-27 Thread Martin Grigorov
Accoring to org.apache.wicket.markup.html.IHeaderResponse.renderString(CharSequence) javadoc: /** * Renders an arbitrary string to the header. The string is only rendered if the same string * hasn't been rendered before. Each sequence is rendered only once! So you need to pass the whole CSS in

Bug or feature - strange behavior?

2010-07-27 Thread Martin Makundi
Hi! Is it abug or a feature that if I have the following: public void renderHead(IHeaderResponse response) { // Tweak 1 response.renderString(CssUtils.INLINE_OPEN_TAG); response.renderString("div.upper-background-canvas { background: url(/images/template-bg.png) repeat-x rgb(5