> On 5 Jan 2020, at 14:46, Roelof Wobben via Pharo-users
> <pharo-users@lists.pharo.org> wrote:
>
>
> From: Roelof Wobben <r.wob...@home.nl>
> Subject: Re: [Pharo-users] why is my css not found in a seaside project
> Date: 5 January 2020 at 14:46:24 GMT+1
> To: pharo-users@lists.pharo.org
>
>
> I think I found the answer myself
>
> when I put this in the RootComponent
>
> updateRoot: anHtmlRoot
> super updateRoot: anHtmlRoot.
> anHtmlRoot stylesheet url: (PaintingLibrary urlOf: #mainCss)
>
> and this on the class side of the RootComponent
>
>
> initialize
> | app |
> app := WAAdmin
> register: #stRootComponent
> asApplicationAt: 'Paintings2'.
> app addLibrary: PaintingLibrary
>
>
> then I see some css. The page looks not what I expect but that can be changed.
>
> So does the code I have now on my github page well or do I use the components
> still the wrong way ?
What you write above is correct, it is what I meant.
Good that you figured it out !
> Roelof
>
>
>
> Op 5-1-2020 om 12:48 schreef Roelof Wobben:
>> Op 5-1-2020 om 11:36 schreef Roelof Wobben via Pharo-users:
>>
>> hmm,
>>
>> It looks like I had to do it like this :
>> https://github.com/RoelofWobben/paintings
>> for registering the project but I see then that the rootcomponent is not
>> changed and that still the css is not found or used.
>>
>>
>> So please help.
>>
>> Roelof
>>
>
>
>
>