Barry, thanks for sending me in the right direction! Any chance of having it all work out-of-tbe-box without having to download bootstrap myself and modifying my layout component?
I don't think the module should modify (break) the Tapestry components by default. Thanks a lot! On Mar 22, 2012, at 8:38 AM, trsvax wrote: > The bootstrap module changes the output of Grid and BeanEditForm so it's > probably it instead of a problem with got5-jquery. > > The Grid component should switch to the Bootstrap pagination control and it > does change the sorting buttons. The Tapestry table headings look very out > of place in the Bootstrap templates. > > By default the module does not include any CSS files. My guess is you are > not including the bootstrap css file. I have this in my layout.java > > @Exclude(stylesheet={"core"}) //remove the Tapestry css > @Import(stylesheet={"context:layout/bootstrap.css", > > Now that the Bootstrap site allows you to specify the parts you want I think > I'm going to provide the default and allow you to override it if needed. See > the following page to get the bootstrap.css file. > > http://twitter.github.com/bootstrap/download.html > > Take a look at the examples in test package. You can also run them with mvn > jetty:run I just committed a change that will show the pagination buttons. > > As far as getting rid of the got5-jQuery dependency much of Bootstrap uses > jQuery so I included it to get the jQuery javascript. It's possible to use > just the Bootstrap CSS without jQuery but some features will be missing. I > think I could split the module into two. The core one could just handle the > CSS side and the 2nd could add the dependency on jQuery. > > Currently I use got5-jQuery in all my new projects but if there is > sufficient interest I don't mind splitting the module into two. So if you > are interested (or not) go to GitHub and comment > > https://github.com/trsvax/tapestry-bootstrap/issues/10 > > The current status of the Bootstrap module is i think I have the basics > worked out and I'm about to start writing test cases and flush things out. > So if I'm going to split it now is the time to do it. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Got5-Jquery-compatibility-with-Grid-and-BeanEditForm-Tapestry-Bootstrap-tp5584806p5585724.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