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
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
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]>
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
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/
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.
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
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