Discussion:
[Wt-interest] Hint & Error for Widgetgallery example
John Robson
2015-08-09 22:33:33 UTC
Permalink
I believe that the Widgetgallery is the most complete example of Wt
features:

"Forms > Line/Text editor"

You need download and install TinyMCE, version 3.5 #
http://download.moxiecode.com/tinymce/tinymce_3.5.11.zip

And put (or create a symbolic link) into Resouces folder:

$ sudo ln -sf .../tinymce/jscripts/tiny_mce /usr/share/Wt/resources


For: "Trees & Tables > MVC Tree Views / MVC Item models"

You need setup the "GIT_REPOSITORY".

The compilation parameter "-D GIT_REPOSITORY="/path/..." " won't work.

CMake Warning:
Manually-specified variables were not used by the project:

GIT_REPOSITORY

Should be good enable this on the compilation process.

You need setup manually in:
.../wt/examples/widgetgallery/examples/TreeView.cpp
.../wt/examples/widgetgallery/TreesTables.C

But still not working.

[error] "Wt: error during event handling: Git error: fatal: Not a git
repository: '/srv/sources/git/wt'"
[error] "Wt: fatal error: Git error: fatal: Not a git repository:
'/srv/sources/git/wt'"


------------------------------------------------------------------------------
Loading...