Oh, I see...

I'm using a border component too. The css files it uses are placed in the
"root context folder" (i.e the folder containing 'WEB-INF' folder) like
this:

rootFolder/
        |______ cssfiles/
        |               |_____ style1.css
        |
        |______ WEB-INF/
                        |_____ MyBorder.page
                        |_____ MyBorder.html


In MyBorder.html :
<link rel="stylesheet" type="text/css" href="/cssfiles/style1.css">

Hope this helps,
 
</Firas>
 
-----Original Message-----
From: xVik [ <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006 9:30 AM
To: users@tapestry.apache.org
Subject: RE: problem with page service incoder


yes i have this mapping.

I should correct myself: naked html means without css, but correctly
rendered by tapestry

my thoughts:
css path in border component is relative to server root and i think browser
tryes to find css file wich in domain/css/css.css in
domain/subfolder/css/css.css

i dont know how to avoid this
--
View this message in context:
<http://www.nabble.com/problem-with-page-service-incoder-tf1992991.html#a548
1072>
http://www.nabble.com/problem-with-page-service-incoder-tf1992991.html#a5481
072
Sent from the Tapestry - User forum at Nabble.com.


Reply via email to