Thanks George,
I had located everything to context:images
and I am reverting back to your solution.
I prefer to locate images to their relevent peers
thanks
- cheers
Ken
Check your maven configuration as George says..,
because when you 're programming a component in a library (not in a webapp)
there will be no src/main/webapp directory to put your images into,
and you 'll need to do what you were doing before.
cheers.
Nicolás.-
On Thu, Feb 21, 2013 at 1:44 AM
Ken,
>But my app fails because somehoe the images for the tapestry component
never made it. they dont exist inside my war file.
This is a maven issue...you need to configure it to include the images.
Your pom should have something like this in it:
src/main/resources
**/*.png
Thanks Bob... that worked out terrific.
On 2013/02/20 (Feb), at 8:32 PM, Ken in Nashua wrote:
> In the component directory I also put my button images for the component.
Ordinarily, the images would go along with the "context path" rather than the
class/java/tml files.
For example, if I am building a component here:
src/main/java/m
Folks,
I designed a component. In the component directory I also put my button images
for the component.
I build using maven and it all gets packaged up in a war
I copy my war to tomcat webapps dir
But my app fails because somehoe the images for the tapestry component never
made it.
they don