|
Wtx ~ Wt Extension Library
WtxLib
|
Inheritance diagram for Wtx::Dbo::TemplateFormView< C >:Classes | |
| class | FormWidgetWrapper |
Public Member Functions | |
| TemplateFormView (const Wt::WString &text) | |
| TemplateFormView (const Wt::WString &text, std::unique_ptr< Wtx::Dbo::FormModel< C > > model) | |
| Constructor with Model. | |
| Wtx::Dbo::FormModel< C > * | formModel () const |
| Internal Form Model. More... | |
| void | setFormModel (std::unique_ptr< Wtx::Dbo::FormModel< C > > model) |
| Wtx::Dbo::FormModel< C > * | formModel (Wt::WFormModel *model) |
| Wtx::Dbo::FieldDefBase * | fieldDef (Wt::WFormModel *model, Wt::WFormModel::Field field) |
| virtual void | on_focussed (FormWidgetWrapper *fww) |
| Focussed Stub. More... | |
| virtual void | on_blurred (FormWidgetWrapper *fww) |
| Blurred Stub. More... | |
| virtual void | on_clicked (FormWidgetWrapper *fww) |
| Clicked Stub. | |
| std::unique_ptr< Wt::WWidget > | createFormWidget (Wt::WFormModel::Field field) |
| void | resetEditWidgetChangedFlags () |
| std::unique_ptr< Wt::WWidget > | createEditWidget (Wt::WFormModel::Field field) |
| virtual void | updateView () |
| virtual void | updateView (Wt::WFormModel *model) |
| Update a View from a Model. More... | |
| virtual void | updateViewField (Wt::WFormModel *model, Wt::WFormModel::Field field) |
| virtual void | updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit) |
| virtual bool | updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit) |
| virtual void | updateModel () |
| virtual void | updateModel (Wt::WFormModel *model) |
| virtual void | updateModelField (Wt::WFormModel *model, Wt::WFormModel::Field field) |
| virtual void | updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit) |
| virtual bool | updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit) |
| virtual void | bindString (const std::string &varName, const Wt::WString &value, Wt::TextFormat textFormat=Wt::TextFormat::XHTML) |
| virtual void | bindWidget (const std::string &varName, std::unique_ptr< Wt::WWidget > widget) |
| virtual std::unique_ptr< Wt::WWidget > | removeWidget (Wt::WWidget *widget) override |
| virtual bool | conditionValue (const std::string &name) const |
| virtual void | resolveString (const std::string &varName, const std::vector< Wt::WString > &args, std::ostream &result) |
| virtual void | handleUnresolvedVariable (const std::string &varName, const std::vector< Wt::WString > &args, std::ostream &result) |
| virtual WWidget * | resolveWidget (const std::string &varName) |
| virtual bool | resolveFunction (const std::string &name, const std::vector< Wt::WString > &args, std::ostream &result) |
| virtual void | refresh () override |
| virtual void | renderTemplate (std::ostream &result) |
| std::vector< std::unique_ptr< FormWidgetWrapper > > & | formWidgetWrappers () |
| Widget Wrapper Collection. | |
| FormWidgetWrapper * | formWidgetWrapper (Wtx::Dbo::FieldDefBase &fieldDef) |
| Get Form Widget Wrapper. More... | |
| FormWidgetWrapper * | formWidgetWrapper (const std::string &fieldName) |
| Wt::WFormWidget * | formWidget (Wtx::Dbo::FieldDefBase &fieldDef) |
| Get Form Widget Wrapper. More... | |
Public Member Functions inherited from Wtx::TemplateFormView | |
| TemplateFormView (const Wt::WString &text) | |
| std::unique_ptr< Wt::WWidget > | createFormWidget (Wt::WFormModel::Field f) |
| Create Form Widget. More... | |
| std::unique_ptr< Wt::WWidget > | createEditWidget (Wt::WFormModel::Field f) |
| Create Edit Widget. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Wtx::TemplateFormView | |
| void | show (const std::string &functionName, const std::string &varName, const std::vector< Wt::WString > &args=std::vector< Wt::WString >()) |
Definition at line 58 of file TemplateFormView.h.
|
inline |
Internal Form Model.
This is the form model that was set using setFormModel() or that was passed along with the constructor.
Definition at line 194 of file TemplateFormView.h.
|
inline |
Get Form Widget Wrapper.
This will return a form widget wrapper based on the field def given.
Definition at line 583 of file TemplateFormView.h.
|
inline |
Get Form Widget Wrapper.
This will return a form widget wrapper based on the field def given.
Definition at line 554 of file TemplateFormView.h.
|
inlinevirtual |
Blurred Stub.
This 'virtual' stub does nothing. It should be reimplemented by the subclass.
Definition at line 248 of file TemplateFormView.h.
|
inlinevirtual |
Focussed Stub.
This 'virtual' stub does nothing. It should be reimplemented by the subclass.
Definition at line 236 of file TemplateFormView.h.
|
inlinevirtual |
Update a View from a Model.
This will update all the view object based on the field list from the model.
Reimplemented from Wtx::TemplateFormView.
Definition at line 331 of file TemplateFormView.h.
1.8.11