48 Wtx::Sys::Config::Definition::Definition()
49 :
Wtx::Dbo::PermissionTableDef(
"sysConfig")
63 Wtx::Sys::Config::Item::MapClass( session );
70 Wt::Dbo::Transaction t(session);
73 sysConfig.modify()-> varField().setValue(
"siteName",
"" );
74 sysConfig.modify()-> varField().setValue(
"siteKey", Wt::WRandom::generateId() );
75 sysConfig.modify()-> varField().setValue(
"adminEmail",
"nobody@site.ss" );
Wtx::Sys::Config::Item::Ptr add(const std::string &key, Wtx::Dbo::Session &session)
Add an item by key.
static void PostCreateTable(Wt::Dbo::Session &session)
Post Table Create.
Wtx::Dbo::FieldDefLineEdit KeyFieldDef
Item KEY field.