--- Begin Message ---
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 ?

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




--- End Message ---

Reply via email to