Did you add your library to your application ? | app | app := WAAdmin register: YourWAComponent asApplicationAt: 'my-app'. app addLibrary: YourLibrary;
On 4 Jan 2020, at 11:58, Roelof Wobben via Pharo-users <pharo-users@lists.pharo.org> wrote:
From: Roelof Wobben <r.wobben@home.nl> Subject: Re: [Pharo-users] why is my css not found in a seaside project Date: 4 January 2020 at 11:58:46 GMT+1 To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
Yes. it is callled
Roelof
Op 4-1-2020 om 11:48 schreef Sven Van Caekenberghe:
Try putting a breakpoint inside the #updateRoot: of your library class. Is it even called ?
On 4 Jan 2020, at 11:17, Roelof Wobben via Pharo-users <pharo-users@lists.pharo.org> wrote:
From: Roelof Wobben <r.wobben@home.nl> Subject: why is my css not found in a seaside project Date: 4 January 2020 at 11:17:13 GMT+1 To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
Hello,
I have this in my library class on the instance side : updateRoot: anHtmlRoot super updateRoot: anHtmlRoot. anHtmlRoot stylesheet url: self class / #mainCss. anHtmlRoot javascript url: self class / #mainJs
and a file mainCss on the instance side filled with css and still the css is not found
anyone idea why ?
if needed I can put my whole code on github.
Regards,
Roelof