Wt  3.3.0
Public Member Functions | Protected Member Functions
Wt::Auth::UpdatePasswordWidget Class Reference

A widget which allows a user to choose a new password. More...

#include <Auth/UpdatePasswordWidget>

Inheritance diagram for Wt::Auth::UpdatePasswordWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 UpdatePasswordWidget (const User &user, RegistrationModel *registrationModel, AuthModel *authModel, WContainerWidget *parent=0)
 Constructor.

Protected Member Functions

virtual WFormWidgetcreateFormWidget (WFormModel::Field field)
 Creates a form widget.

Detailed Description

A widget which allows a user to choose a new password.

This widget lets a user choose a new password.

The widget renders the "Wt.Auth.template.update-password" template. Optionally, it asks for the current password, as well as a new password.

See also:
AuthWidget::createUpdatePasswordView()

Constructor & Destructor Documentation

Wt::Auth::UpdatePasswordWidget::UpdatePasswordWidget ( const User user,
RegistrationModel registrationModel,
AuthModel authModel,
WContainerWidget parent = 0 
)

Constructor.

If authModel is not null, the user also has to authenticate first using his current password.


Member Function Documentation

WFormWidget * Wt::Auth::UpdatePasswordWidget::createFormWidget ( WFormModel::Field  field) [protected, virtual]

Creates a form widget.

This method is called by updateViewField() when it needs to create a form widget for a field, and none was specified using setFormWidget().

Reimplemented from Wt::WTemplateFormView.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator

Generated on Mon Apr 8 2013 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1