Roel Standaert 385c49007e Updated XML for widget gallery 8 years ago
..
approot 385c49007e Updated XML for widget gallery 8 years ago
docroot bac28e1d4d Several changes: 8 years ago
examples 8acb53b1d5 Several changes: 8 years ago
CMakeLists.txt 813a601f4f update json serialization, test case, 3d charts in gallery, and fix rendering issues 11 years ago
DeferredWidget.h e5fb71506b see Changelog 14 years ago
EmwebLoadingIndicator.C d55ec82169 merged in bootstrap branch 12 years ago
EmwebLoadingIndicator.h 64684df250 see Changelog 15 years ago
EventsDemo.C d55ec82169 merged in bootstrap branch 12 years ago
EventsDemo.h d55ec82169 merged in bootstrap branch 12 years ago
FormWidgets.C bac28e1d4d Several changes: 8 years ago
FormWidgets.h d55ec82169 merged in bootstrap branch 12 years ago
GraphicsWidgets.C c89c64c949 Several changes: 9 years ago
GraphicsWidgets.h c89c64c949 Several changes: 9 years ago
Layout.C 3737f999cf Several changes: 11 years ago
Layout.h 7553603dc4 remove build warnings 11 years ago
Media.C b2db797ce2 several documentation and regression fixes 12 years ago
Media.h d55ec82169 merged in bootstrap branch 12 years ago
Navigation.C 66815b98da several bug fixes and doc improvements 12 years ago
Navigation.h d55ec82169 merged in bootstrap branch 12 years ago
README.md 4c497e5087 several bug fixes and small feature improvements (see Changelog) 12 years ago
Sample.h d55ec82169 merged in bootstrap branch 12 years ago
Services.C 7b836d9dc4 Several changes: 11 years ago
Services.h d55ec82169 merged in bootstrap branch 12 years ago
TopicTemplate.C 2fad170e98 Several changes: 9 years ago
TopicTemplate.h d55ec82169 merged in bootstrap branch 12 years ago
TopicWidget.C ea48d751fc fix C++/Java build regressions, added WString::setDefaultEncoding() 11 years ago
TopicWidget.h ea48d751fc fix C++/Java build regressions, added WString::setDefaultEncoding() 11 years ago
TreesTables.C 1d93271582 Several changes: 10 years ago
TreesTables.h d55ec82169 merged in bootstrap branch 12 years ago
WidgetGallery.C b794e1e12d Merged in bootstrap3 and httpd-recheck branches: 11 years ago
WidgetGallery.h d55ec82169 merged in bootstrap branch 12 years ago
main.C bac28e1d4d Several changes: 8 years ago

README.md

WidgetGallery example

This is the widget gallery, which serves more as a directory of widgets available in Wt.

How to run

This application illustrates a recommended deployment setup for a more involved application, separating:

  • docroot: these are publicly available files for the browser to download through the web server (e.g. css, resources, ...)
  • approot: these are private application files opened by the application (e.g. resource files, config files, etc...) and not deployed in your document root

To run the application using the built-in httpd, you thus need to:

cd widgetgallery/docroot
ln -s ../../../resources . # include standard Wt resource files in docroot
cd ..
../../build/examples/widgetgallery/widgetgallery.wt \
      --docroot docroot --approot approot \
      --http-address 0.0.0.0 --http-port 8080

What it illustrates

  • most widgets in Wt in some form or another, in combination with the bootstrap theme (you can actually trigger the use of another theme using ?theme=default or ?theme=polished parameters)
  • lots of small examples
  • internal path handling and cross referencing