yourWebApp/images
-Original Message-
From: Angelo Chen [mailto:[EMAIL PROTECTED]
Sent: Friday, August 24, 2007 1:07 PM
To: users@tapestry.apache.org
Subject: path to referenced files
Hi,
If I have something like following in the html, which
directory should i put so that
I use
path=context:/images/logo.jpg
to display the office emblem, for example. But I use T4, doesn't know if
T5 has is still...
That has the small adavantage that renaming the application doesn't
force a change to such links.
Regards,
Michael Wölm
[EMAIL PROTECTED] schrieb:
works, thanks.
I have to add this:
@Inject
@Path(context:/images/logo.jpg)
private Asset logo;
public Asset getLogo() {
return logo;
}
then in the Layout.html, add:
img src=${logo}
is there a way to directly specify it in the html?
Marcus.Schulte wrote: