Do you have this component code available along with how to use it?

-
Thanks,
Ozzie G

-----Original Message-----
From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 7:39 AM
To: Tapestry users
Subject: Re: CSS in page or component

Yeah, I saw it a while ago, but it relies on JavaScript. Furthermore, 
it's not able to do all the things I want such a component to do.

My own @Style component actually works now, including page/component 
style sheets on the go with only minor configuration - you need the 
style sheet declared as an IAsset somewhere.

Next up, I want it to be able to include small bits of CSS for the 
<head/> section's <style/> tag. And perhaps enabling it to attach 
instance-specific styles via the "#id { /* style here */ }" notation. 
That is, you'll be able to customize specific components' styles easily.

I don't think there's much else such a component should be able to do. 
But if you have any additional ideas, please share!

-Filip

Tomáš Drenčák wrote:
> I've found TapFx library on http://tapfx.sf.net/ . There's a component
> named Style and it seems that it solves problem in elegant way...
> 
> tomas
> 
> 2005/8/25, Alan Chandler <[EMAIL PROTECTED]>:
> 
>>On Thursday 25 Aug 2005 08:20, Tomáš Drenčák wrote:
>>
>>>Hi,
>>>I'd like to ask how can I include a css file into a component or even
>>>a page. I use own Border component with Shell. Stylesheets could be
>>>imported there, but what if I want to include css specific to page or
>>>component?

[...]

Reply via email to