On 5/22/08, Toby Hobson <[EMAIL PROTECTED]> wrote:
>  <link href="${asset:context:styles/style.css}" rel="stylesheet" 
> type="text/css" />
>  This works fine when I access the app at http://localhost/app/start for 
> example.
> But when I try http://localhost/app/start/ the css and images are screwed. 
> I've
> noticed that in the generated html, T5 creates relative references i.e. 
> styles/
> style.css, not /app/styles/style.css

It seems to me that Tapestry is generating wrong relative URLs for
your assets. Try setting the tapestry.force-absolute-uris symbol to
true in your AppModule. Maybe it helps.

(copied from a post of mine from another thread, hehehe).

-- 
Thiago

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

Reply via email to