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

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