[Seaside] [ANN] Bootstrap for Seaside3 project (Release 0.1.0)

Torsten Bergmann astares at gmx.de
Wed Oct 9 07:33:57 UTC 2013


If there is no tbsNavbarInner for the "navbar-inner" style then you can easily add the 
style class with #class:


html div 
   class: 'navbar-inner';
   with: [
    html tbsContainer: [ ... ]  
]


>I also added a tbsContainer tag..

Why? There already is a #tbsContainer: and #tbsContainer message implemented in WAHTMLCanvas
since the beginning.

You can get the image from CI if you like:  https://ci.inria.fr/pharo-contribution/job/Bootstrap/PHARO=20,VERSION=stable,VM=vm/

>Is there is an existing mechanism to add the class/data-toggle/data-target attributes to any  tag?

Yes - Seaside has #class: and #attributeAt:put: which is available for any tag brush:

  html div
    class: 'mystyle';
    attributeAt: 'data-toggle' put: 'whatever';
    with: [ ... ]


Bye
T.


More information about the seaside mailing list