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

This widget represents a hidden input form element. It is used to provide information invisible to the user. More...

#include <cppcms/form.h>

Inheritance diagram for cppcms::widgets::hidden:
cppcms::widgets::text cppcms::widgets::base_html_input cppcms::widgets::base_text cppcms::widgets::base_widget cppcms::widgets::base_widget cppcms::base_form booster::noncopyable cppcms::base_form booster::noncopyable cppcms::form_flags cppcms::form_flags

List of all members.

Public Member Functions

virtual void render (form_context &context)

Detailed Description

This widget represents a hidden input form element. It is used to provide information invisible to the user.

I has the same properties as a text widget has but it does not render any HTML for message(), help() and other informational types.

When you render the form in templates, it is a good idea to render it separately to make sure that no invalid HTML is created.


Member Function Documentation

virtual void cppcms::widgets::hidden::render ( form_context context) [virtual]

Render the HTML of the widget. It overrides the default HTML rendering as hidden widget is never displayed.

Reimplemented from cppcms::widgets::base_widget.


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