Re: components and stylesheets

2006-02-27 Thread Anthony Fox
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

Re: components and stylesheets

2006-02-27 Thread Pablo Ruggia
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. >

Re: components and stylesheets

2006-02-27 Thread Pablo Ruggia
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

Re: components and stylesheets

2006-02-27 Thread Phillip Rhodes
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

components and stylesheets

2006-02-27 Thread Anthony Fox
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

RE: Questions about Components and StyleSheets

2005-08-27 Thread Patrick Casey
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

Re: Questions about Components and StyleSheets

2005-08-27 Thread Filip S. Adamsen
: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

Re: Questions about Components and StyleSheets

2005-08-27 Thread Robert Zeigler
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

RE: Questions about Components and StyleSheets

2005-08-26 Thread Hensley, Richard
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

Re: Questions about Components and StyleSheets

2005-08-26 Thread Fernando Padilla
> > 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

RE: Questions about Components and StyleSheets

2005-08-26 Thread Hensley, Richard
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

Questions about Components and StyleSheets

2005-08-26 Thread Patrick Casey
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