url() references in a stylesheet a relative to the stylesheet.
url(images/bg.gif) will generate a proper URL to a real resource, and
Tapestry won't attempt to interpret it as an action request URL.

On 5/30/07, petros <[EMAIL PROTECTED]> wrote:


I have the following error in my log file

java.lang.IllegalArgumentException: Unable to resolve page
'styles/images/bg' to a component class name.  Available page names:
Login,
Start,  users/UserDetails
at

org.apache.tapestry.internal.services.ComponentClassResolverImpl.resolvePageNameToClassName
(ComponentClassResolverImpl.java:257)

which is caused by the line (in style.css)
background: #f4f4f4 url(styles/images/bg.gif) top center repeat-y;

The directory structure is
/styles/images/bg.gif
/styles/style.css

How can I solve this problem ?

Petros




--
View this message in context:
http://www.nabble.com/ComponentClassResolverImpl-tf3838585.html#a10868505
Sent from the Tapestry - User mailing list archive at Nabble.com.


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




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to