Well, as it turns out, I will have to have multiple css classes for
the box on a single page, so multiple stylesheets that redefine css
classes is no longer an option. I will place all the css classes in a
single stylesheet. My question now is how do I switch the css class
of a component based on
Sorry Anthony, I've totally misread your mail. Forget about my last mail.
On 2/27/06, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>
> I like the Idea.
> Just two little tweaks. Instead of managing lists, I would prefer create
> some abstraction like a "Theme" that knows wich stylesheets to include.
>
I like the Idea.
Just two little tweaks. Instead of managing lists, I would prefer create
some abstraction like a "Theme" that knows wich stylesheets to include.
Second, passing from page to page the Theme would be too expensive (in terms
of programmers brain). You should store it in the session, s
Hopefully, someone will have a better idea than mine.
You can bind your shell component to a component (like your border) to get
it's stylesheets. Your border could have a method that reads a list
property and converts it into a stylesheet asset array. Your border
component could store a list of
Hi,
I have multiple stylesheets that define the way a particular box can
look on my page. I have a component that has a need of selecting
which stylesheet to use based on a property of the component's class.
Only the color scheme of the box will change based on the stylesheet.
Has anyone done s
look right.
It's probably too late to do anything like this for Tap 4 though :(.
--- Pat
> -Original Message-
> From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 27, 2005 4:21 AM
> To: Tapestry users
> Subject: Re: Questions abou
:17 PM
To: Tapestry users
Subject: Re: Questions about Components and StyleSheets
Could someone with more time and hunger just spend a week to duplicate
and adapt the IScript support for stylesheets? It's a minor oversight
to not have done it from the beginning, but I think it's tim
Patrick Casey wrote:
>
>
> What's the textbook/preferred/whatever way that a component gets
> its CSS onto a page? So far as I can tell, I can:
>
>
>
> Put it in a @Shell component, but that Shell only takes one CSS,
> so if a page requires > 1 css file, the shell doe
TED]
Sent: Friday, August 26, 2005 4:17 PM
To: Tapestry users
Subject: Re: Questions about Components and StyleSheets
Could someone with more time and hunger just spend a week to duplicate
and adapt the IScript support for stylesheets? It's a minor oversight
to not have done it from the beginni
>
> Richard
>
> -Original Message-
> From: Patrick Casey [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 3:38 PM
> To: 'Tapestry users'
> Subject: Questions about Components and StyleSheets
>
>
>
> What's the tex
component.
Richard
-Original Message-
From: Patrick Casey [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 3:38 PM
To: 'Tapestry users'
Subject: Questions about Components and StyleSheets
What's the textbook/preferred/whatever way that a component
gets
What's the textbook/preferred/whatever way that a component gets
its CSS onto a page? So far as I can tell, I can:
Put it in a @Shell component, but that Shell only takes one CSS,
so if a page requires > 1 css file, the shell doesn't work, does it?
Manual
12 matches
Mail list logo