You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Bart Molenkamp <b....@bizzdesign.nl> on 2007/12/07 09:38:39 UTC

Why is there no IHeaderResponse.renderCSS()?

Hi,

Is there a special reason why there is no IHeaderResponse.renderCSS()
to render a String of CSS inline? There is something similar for
JavaScript:

 renderJavascript(CharSequence javascript, String id);

I can only include CSS using ResourceReferences and urls. Is there
any reason why this isn't there?

Thanks,
Bart.

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


RE: Why is there no IHeaderResponse.renderCSS()?

Posted by Bart Molenkamp <b....@bizzdesign.nl>.
Yes I'm using that, and it works OK.
I was just wondering...

Thanks,
Bart.

> -----Oorspronkelijk bericht-----
> Van: Matej Knopp [mailto:matej.knopp@gmail.com]
> Verzonden: vrijdag 7 december 2007 10:03
> Aan: users@wicket.apache.org
> Onderwerp: Re: Why is there no IHeaderResponse.renderCSS()?
>
> Probably just avoiding api clutter. You can always use
> IHeaderResponse.renderString.
>
> -Matej
>
> On Dec 7, 2007 9:38 AM, Bart Molenkamp
> <b....@bizzdesign.nl> wrote:
> > Hi,
> >
> > Is there a special reason why there is no
> IHeaderResponse.renderCSS()
> > to render a String of CSS inline? There is something similar for
> > JavaScript:
> >
> >  renderJavascript(CharSequence javascript, String id);
> >
> > I can only include CSS using ResourceReferences and urls. Is there
> > any reason why this isn't there?
> >
> > Thanks,
> > Bart.
> >
> >
> ---------------------------------------------------------------------
> > 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
>
>

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


Re: Why is there no IHeaderResponse.renderCSS()?

Posted by Matej Knopp <ma...@gmail.com>.
Probably just avoiding api clutter. You can always use
IHeaderResponse.renderString.

-Matej

On Dec 7, 2007 9:38 AM, Bart Molenkamp <b....@bizzdesign.nl> wrote:
> Hi,
>
> Is there a special reason why there is no IHeaderResponse.renderCSS()
> to render a String of CSS inline? There is something similar for
> JavaScript:
>
>  renderJavascript(CharSequence javascript, String id);
>
> I can only include CSS using ResourceReferences and urls. Is there
> any reason why this isn't there?
>
> Thanks,
> Bart.
>
> ---------------------------------------------------------------------
> 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