Submit button widget. More...
#include <cppcms/form.h>
Public Member Functions | |
| bool | value () |
| void | value (std::string val) |
| void | value (locale::message const &msg) |
| virtual void | render_value (form_context &context) |
| virtual void | load (http::context &context) |
Submit button widget.
| virtual void cppcms::widgets::submit::render_value | ( | form_context & | context | ) | [virtual] |
Write the actual value of the HTML tag. Derived classes must implement this.
Implements cppcms::widgets::base_html_input.
| void cppcms::widgets::submit::value | ( | std::string | val | ) |
Set the text on the button.
| void cppcms::widgets::submit::value | ( | locale::message const & | msg | ) |
Set the text on the button.
| bool cppcms::widgets::submit::value | ( | ) |
Return true if this specific button was pressed.
1.7.1