CppCMS
Public Member Functions
cppcms::widgets::submit Class Reference

Submit button widget. More...

#include <cppcms/form.h>

Inheritance diagram for cppcms::widgets::submit:
cppcms::widgets::base_html_input cppcms::widgets::base_widget cppcms::base_form booster::noncopyable cppcms::form_flags

List of all members.

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)

Detailed Description

Submit button widget.


Member Function Documentation

virtual void cppcms::widgets::submit::load ( http::context context) [virtual]

Load the form information from the provided http::context context. A user can call this function to load all information from the raw POST/GET data into the internal widget representation.

Implements cppcms::base_form.

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.

Return true if this specific button was pressed.

void cppcms::widgets::submit::value ( std::string  val)

Set the text on the button.

Set the text on the button.


The documentation for this class was generated from the following file: