I'm not sure about shutting off the default.css, but the "C" in "CSS"
means cascading, which means you can override the styles set in
default.css.  For a particular page, put your CSS files in
src/main/resources/org/example/myapp/pages/mystyles.css, where
org/example/myapp is your project package path

In your page's java class put

@Inject ("mystyles.css")
private Asset _myStyleSheet;

public Asset getMyStyleSheet { return _myStyleSheet; }

Then in the page template, put

<link t:type="any" rel="stylesheet" type="text/css" href="prop:myStyleSheet" />

Cheers,
Bill

On 3/29/07, Adrian Bele <[EMAIL PROTECTED]> wrote:
Hi,

I'm new here.
Can anybody know how to replace

<link href="/hilo/assets/tapestry/default.css" rel="stylesheet" type="text/css">
with my own stylesheet, and where it should be place?

Thanks

Adrian



--
"The future is here.  It's just not evenly distributed yet."

    -- Traditional

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

Reply via email to