On Thu, Feb 28, 2008 at 5:33 PM, David Leangen <[EMAIL PROTECTED]> wrote:
>                         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.

>  And this for the image:
>
>         final MarkupContainer container = new WebMarkupContainer( id );
>         final Model srcAttributeModel = new Model( imageUrl );
>         final AttributeModifier srcAttribute = new AttributeModifier(
>             "src",
>             true,
>             srcAttributeModel );
>         container.add( srcAttribute );
>         add( container );
>
>  I think the html looks something like this:
>   <img wicket:id="blah">IMAGE</img>

I wonder why this doesn't work. To me, this should work, is it because
of the IMAGE string?

Regards,
Edward Yakop

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to