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