but the images are inside internal (<style>)style sheet
body {
background: #000000 url(images/img01.gif) repeat-x;
}
when i use external css (with <link rel="stylesheet" href="style.css"
type="text/css" />) i get:
ERROR] TapestryModule.RequestExceptionHandler Processing of request failed
with uncaught exception: Exception in method
org.goran.mstore.pages.AlbumDetails.onActivate(long) (at
AlbumDetails.java:31), parameter #1: Coercion of style.css to type
java.lang.Long (via String --> Long) failed: For input string: "style.css"
org.apache.tapestry5.runtime.ComponentEventException: Exception in method
org.goran.mstore.pages.AlbumDetails.onActivate(long) (at
AlbumDetails.java:31), parameter #1: Coercion of style.css to type
java.lang.Long (via String --> Long) failed: For input string: "style.css"
with external css nothing is formatted...
Thiago H. de Paula Figueiredo wrote:
>
> Em Sun, 19 Apr 2009 13:00:16 -0300, Joel Halbert <[email protected]>
> escreveu:
>
>> looks like you have a badly anchored image somewhere on your page..
>>
>> Something is being generated like images/bla.png
>>
>> the incorrectly rooted images path causes tap to think this resource is
>> page local and tries to call onActivate on the current page passing in
>> the images string as an argument.
>>
>> Check that all your images are correctly anchored.
>
> The explanation is correct, just lacked the solution. :) Instead of
> images/bla.png , use ${asset:context:/images/bla.png}
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/-T5--problem-with-CSS-in-tml.-tp23124119p23124795.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]