Hello.
> > public void renderHead( final IHeaderResponse
> > response )
> > {
> > response.renderString( cssLink );
> > }
>
> Shouldn't this read
>
> response.renderCssReference( cssLink ),
>
> instead of
>
> response.renderString( cssLink );
>
> If I read the javadoc properly, #renderString( cssLink ), will just
> print the cssLink verbatim.
Yes, that's the whole point.
In my initial post, I mentioned that I wanted to render a file:// link.
IHeaderResponse.rednerCssReference( String ) only works for http:// and
https://.
The only way I could see to do this was to copy the way HeaderResponse
renders http and emulate this with file://.
The problem I'm encountering is that although the html is correct when I
view the source, my browser for some reason does not render the image or
css. If I copy the source and paste into a static html file, it works.
Cheers,
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]