----- Original Message ----- From: "Kent Tong" <[EMAIL PROTECTED]>
To: <tapestry-user@jakarta.apache.org>
Sent: Monday, August 15, 2005 7:05 PM
Subject: Re: Confused about asset prefix


class MyComponent {
 @Asset("classpath:images/001.gif")
 public abstract IAsset getMyAsset();
}

There is such an example in chapter 6 of my book (but it uses <asset>, not
@Asset).

Dunno how you managed to do that, since I tried using "classpath" prefix in both beta3 and beta4, and in both versions it didn't work. I checked my /WEB-INF/classes/.../whatever directory, and it did contain .gif that I tried to reference, but it doesn't work. I tried all possible referencing, relative and absolute...starting with slash, and without it...
Here's the bug report:
http://issues.apache.org/jira/browse/TAPESTRY-412

-Vjeran



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

Reply via email to