Wt & JWt 3.3.0, RC1

  • Posted by koen
  • Tuesday, February 12, 2013 @ 22:51

We uploaded a first release candidate for 3.3.0.

Here are the main links:

Some highlights of this release:

Twitter Bootstrap Theme

We’ve integrated support for Twitter’s Bootstrap CSS framework as a new theme in Wt. With it come also a number of new (and much awaited) widgets such as toolbars, split buttons, and checkable buttons.

We’ve chosen to support Bootstrap as a theme, rather than as a new set of widgets, so the API hasn’t been expanded with a whole new set of classes. This is also means that existing applications can be upgraded to use this Bootstrap theme, although that will require some effort to modify your CSS (and layout) to take advantage of the bootstrap style options. Although we are using Twitter’s CSS unmodified, the integration does have a number of important aspects:

  • we are not using Bootstrap’s JavaScript code (functionality is provided by the widget implementations)

  • we did extend Bootstrap’s CSS to widgets in Wt which are not provided by Bootstrap, most notably trees and scrollable tables. For this we use the same LESS language and use Bootstrap’s variables and mixin definitions; so these could in principle also be restyled in the same way as the rest of Bootstrap’s CSS.

The integration also required us to revise and improve the markup for a number of widgets, most notably menus and popup menus. This means that the old themes needed updating and thus custom styling for these widgets has been affected as well.

We are in the process of revising the widget gallery, using this theme. See the new Wt Widget Gallery and new JWt Widget Gallery. These are a work in progress that we hope to complete by the time we have a final 3.3.0 release.

MySQL / MariaDB backend for Wt::Dbo

A MariaDB/MySQL backend for Wt::Dbo. This is based on the work from Paul Harrisson who maintained this backend so far outside the Wt distribution. The backend has been designed for MariaDB, but should work fine for MySQL as well.

  • Posted by anonymous
  • 9 years ago
Would u mind providing specific code to add in order to include bootstrap?
>> adding links to head tag for HTML codes.
#include <Wt/WBootstrapTheme>
WBootstrapTheme* bootstrapTheme = new WBootstrapTheme();
>> this one returns ‘class Wt::WBootstrapTheme’ has no member named ‘setVersion’
>> what else should I do? (please help)
  • Posted by anonymous
  • 11 years ago
My only gripe, some of the widgets from the new widget gallery do not work e.g. message box and split buttons. Also, if JavaScript modules from Bootstrap is not included in Wt, then how does the Bootstrap widget function?
  • Posted by koen
  • 11 years ago
In what browser do you see misbehaviour of message box and split buttons ? And with what gallery (JWt or Wt or both ?).
It's important that we have not created new 'bootstrap' widgets, but that we've adapted the existing Wt widgets to also support the bootstrap style (through the use of proper markup and classes). That's why we do not have a need for Bootstrap's JavaScript.
  • Posted by anonymous
  • 11 years ago
The issues I mentioned above were seen when using FF 18.0.2 on Win7 64bit platform. After upgrading to FF 19.0 the issue seems to have disappeared.
I did not check JWt.
  • Posted by anonymous
  • 11 years ago
Really a good update of the examples!!
Really nice looking.
Time to start serious programming now.
  • Posted by anonymous
  • 11 years ago
nice one :-).
looking forward to pimp my app!
  • Posted by anonymous
  • 11 years ago
I'm happy to see bootstrap here, great stuff!
  • Posted by anonymous
  • 9 years ago
Hey, would u ming providing me specific instruction on how bootstrap is included in WT code? Tutorials is too generic that I can't even understand its usage. (pls. do).
Thanks :)

Contact us for more information
or a personalised quotation