[Seaside] styles in embedded components (2.9)
Ramon Leon
ramon.leon at allresnet.com
Tue Dec 23 23:19:15 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
Are you property returning your embeded component from #children, because it
should show up?
Ramon Leon
http://onsmalltalk.com
More information about the seaside
mailing list