[Seaside] styles in embedded components (2.9)

Avi Bryant avi at dabbledb.com
Tue Dec 23 23:10:53 UTC 2008


This sounds like your embedded component is returned from #children in
the parent - is that possible?

Avi

On Tue, Dec 23, 2008 at 3:06 PM, Alexander Lazarević <laza at blobworks.com> wrote:
> 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
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list