My vote is #2
On Mar 25, 2012, at 6:55 AM, trsvax <trs...@gmail.com> wrote: > I experimented with the Grid component and as I suspected it's a problem if > you include both the Tapestry and Bootstrap CSS on the same page. While the > Tapestry side does have t- in the class names the Bootstrap does not. The > real problem is the Bootstrap CSS works on the table elements not by a class > so what happens is you get both the Tapestry and Bootstrap formatting on the > Grid's table. Until CSS regions are supported you can't really have both > active on the same page. > > I don't see any reason why you can't do this at the page level if you have a > Tapestry layout and a Bootstrap layout, but unless you have a very > customized Bootstrap CSS you will not be able to mix the Tapestry styled > components with Bootstrap styled components because the Bootstrap CSS will > style everything. > > So the unfortunate reality is you can't easily mix the two styles. > > Given that what's the conclusion? > > Here is what I think is possible > > 1. If you load the module it translates everything (the way it works now) > > 2. You can control it by page with different layouts (I think this is pretty > easy) > > 3. Split the Bootstrap CSS up by function and try and include it when needed > via the mixin. This would be a lot of work and I'm not sure how useful it > would be in the end. There would be limitations such as you can't have a > Bootstrap Grid and a Tapestry Grid on the same page. Plus I think it would > make things more difficult if you just want a straight up Bootstrap site. > > 4. You can control it by component and have a customized Bootstrap CSS. For > example you turn off translating on Grid and have a customized Bootstrap CSS > that does not include the table CSS. > > > My vote would be 1. If there is interest in 2 I'd be willing to implement > that. I don't see much value in 3 and it would take a compelling argument to > get me to head down that path. I think 4 is currently possible but you'd > really have to really know what you were doing. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Got5-Jquery-compatibility-with-Grid-and-BeanEditForm-Tapestry-Bootstrap-tp5584806p5593145.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org