Open Discussion: remove Bootstrap from T5 core

Jens Breitenstein <[email protected]> Thu, 14 Feb 2019 10:04:43 +0100
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Hi Tapestry guys!

I want to hear/read your opinion about getting rid of the Bootstrap 
Library from T5 core.
I would like to move all BS related code (css/js) to a seperate module 
like "tapestry-bootstrap3" and decouple the hardcoded BS from T5.
Furthermore I would like to see a second module "tapestry-bootstrap4" 
which uses BS4.

 From the sources I see direct dependencies are less than expected. Some 
tml's use it (I just ignore the internal T5 pages for now):

     AjaxFormLoop.tml
         class="btn btn-default btn-sm"
         <t:glyphicon name="plus-sign"/>

     BeanEditForm.tml
         class="btn-toolbar"
         class="btn-group"
         class="btn btn-primary"

     DevTool.tml
         <t:glyphicon name="cog"/>
         class="dropdown-menu"
         class="dropdown-header"

     ExceptionDisplay.tml
         class="well"
         class="pull-right"
         class="checkbox"        // ?

     Palette.tml
         class="btn-group-vertical"

and some JAVA references like:

     JavaScriptModule.java
         configuration.add("bootstrap/ ...")

         bundledModules=...


Do you think it's worths looking into it, digging deeper?
Any pitfalls I should consider?
Anyone interested to discuss it?


Jens





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]