9 #include <gdcore/gdCore.h>
17 : WContainerWidget(parent), m_pWText(0), m_bDebug(false)
20 if ( WString::tr(
"byObjectStyleSheet").narrow() ==
"true" )
21 wApp->useStyleSheet(wApp->theme()->resourcesUrl() +
"wittyshare/Css/WsBottomBanner.css");
22 addStyleClass(
"WsBottomBanner");
40 std::string sFile = m_sDocumentRoot + rText;
41 std::string fileContent;
43 if ( !gdcore_file_content2string(sFile.c_str(), fileContent) ) {
44 wApp->log(
"error") <<
" WsBottomBanner::setText : cannot open : " << sFile;
Interface that provides differents methods for accessing the FsTree as well as other features...
const std::string getRootPath()
return the root path of the filesystem tree, example : /var/www/demo_site
#define WsApp
Define a shortcut to the application instance.
WsBottomBanner(const std::string &rText, Wt::WContainerWidget *parent=0)
void setText(const std::string &rText)
const std::string & text() const