Re: T5 Loading Component Assets

2007-07-25 Thread Todd Orr
That seems to be exactly the issue. Thanks a lot! On 7/25/07, Steven Coco <[EMAIL PROTECTED]> wrote: If filtering is enabled in Maven, then it will filter binary files too: and it is the case with Maven that your images are nearly guaranteed to be corrupted. The ideal way to solve it is to sepa

Re: T5 Loading Component Assets

2007-07-25 Thread Steven Coco
If filtering is enabled in Maven, then it will filter binary files too: and it is the case with Maven that your images are nearly guaranteed to be corrupted. The ideal way to solve it is to separate files that need filtering from those that don't, by defining several resource directories: http

Re: T5 Loading Component Assets

2007-07-24 Thread Todd Orr
I figured out that it has something to do with maven corrupting the image files in the resource directory. I'm trying to pin down the exact problem before blaming maven. However, just by pulling out a parent POM ref in my projects POM everything started to work. On 7/24/07, 小司 <[EMAIL PROTECTED]>

Re: T5 Loading Component Assets

2007-07-24 Thread 小司
You can read this link http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html or this link (in chinese) http://www.javaeye.com/article/78348 Maybe you can get some idea 2007/7/24, Todd Orr <[EMAIL PROTECTED]>: Ugh. I created a small test project and it works correctly there. Unfor

Re: T5 Loading Component Assets

2007-07-24 Thread Todd Orr
Ugh. I created a small test project and it works correctly there. Unfortunately, my real project is much larger. So, now I have the incredibly tedious task of starting a new project and adding code bit by bit until it breaks so that I can attempt to determine what is causing the failure. On 7/24/

Re: T5 Loading Component Assets

2007-07-24 Thread Nick Westgate
Hi Todd. I just tested this, not with a template, but just writing HTML. Details of my successful test follow, but first ... Are your images under the "resources" tree: \myapp\src\main\resources\jp\co\key_planning\myapp\tapestry\components That's important, I think. My component CheckBoxImage.

Re: T5 Loading Component Assets

2007-07-23 Thread Todd Orr
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 loa

T5 Loading Component Assets

2007-07-20 Thread Todd Orr
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/slide