[Seaside] Detailed instructions or a how to to get Bootstrap4 working on Pharo9?

Esteban Maringolo emaringolo at gmail.com
Thu Jul 29 21:58:52 UTC 2021


Be sure to add SBSDevelopmentLibrary to your application.

You can also create a subclass of SBSRootComponent, that will do that
for you (see SBSExamplesHome).

Best regards,

Esteban A. Maringolo

On Thu, Jul 29, 2021 at 5:36 PM Ian <icjohnson at protonmail.com> wrote:
>
> Hi,
>
> I followed the instructions here: https://github.com/astares/Seaside-Bootstrap, to a T and proceeded to create a class:
>
> WAComponent subclass: #MyBootstrapExample
> instanceVariableNames: ''
> classVariableNames: ''
> package: 'iExamples'
>
> From there I added two methods:
>
> renderContentOn: html
> html heading level2 with: 'Examples'.
> html alert bePrimary with: 'A simple primary alert—check it out!'.
> html break.
>
> rendererClass
>
> ^ SBSHtmlCanvas
>
> From here I registered the app and I get a page rendered.
>
> Problem:
>
> There is no bootstrap? (The head section of the rendered page has no links to any css or js other than the standard development.css.
>
> Note:
> All the default bootstrap examples work and all there rendered pages have the head section links that I would expect.
>
> Question:
>
> 1. Why are not may pages including the links to the boostrap/jquery libraries?
> 2. How do I correct this (having the same issue with jquery (classes are loaded as they are embedded but not head section references?)?
>
> Thanks in advance,
>
> Ian
>
> Sent with ProtonMail Secure Email.
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list