From what I see in the GridColumns code, I've coded this correctly.
I'm still confused about why this works for a core component but not a custom component. Unless anyone has any insight I'll create a Jira item.
On 7/20/07, Todd Orr <[EMAIL PROTECTED]> wrote:
Tap 5.0.5. I'm having trouble loading an asset from the classpath. Everywhere I've looked I see that it should be dead simple. However, when I attempt to view the image directly in the browser (firefox) I get: The image "http://localhost:8080/testapp/assets/com/test/testapp/web/components/slider_default_selected.png" cannot be displayed, because it contains errors. The code that injects the image is: @Inject @Path("slider_default_selected.png") //@Path("context:images/slider_default_selected.png") // testing private Asset defaultSelectedImage; ... getter too. The template code: <img src="${defaultSelectedImage}" /> Has anyone run into this before? For testing the code works fine when using a context relative injection. However, this is not my ideal choice for packaging. Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]