[Seaside] styles in embedded components (2.9)

Alexander Lazarević laza at blobworks.com
Tue Dec 23 23:06:04 UTC 2008


Ramon Leon schrieb:
> Yes, all #style methods create a css include.

The problem is, if I use firebug to look at the page header I see the following when my component is a root component:

[...]
<link href="/seaside/files/WADevelopmentFiles/tools.css" type="text/css" rel="stylesheet"></link>
<link href="/seaside/comments?_s=FhfuMIZ92s3hunGX" type="text/css" rel="stylesheet"></link>
1.commentlist p { font-weight: normal; line-height: 1.5em; text-transform: none; }

Last css is the content of the style method.
When I use this as a embedded component I get only

[...]
<link href="/seaside/files/WADevelopmentFiles/halo.css" type="text/css" rel="stylesheet"></link>
<link href="/seaside/files/WADevelopmentFiles/tools.css" type="text/css" rel="stylesheet"></link>

So should the css reference of the embedded component show up here or is this a bug?

Alex




More information about the seaside mailing list