Class UpdatePasswordWidget
java.lang.Object
eu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WWidget
eu.webtoolkit.jwt.WWebWidget
eu.webtoolkit.jwt.WInteractWidget
eu.webtoolkit.jwt.WTemplate
eu.webtoolkit.jwt.WTemplateFormView
eu.webtoolkit.jwt.auth.UpdatePasswordWidget
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class WTemplate
WTemplate.Function, WTemplate.FunctionsNested classes/interfaces inherited from class WObject
WObject.FormData -
Field Summary
Fields inherited from class WInteractWidget
dragTouchEndSlot_, dragTouchSlot_, noDefaultFields inherited from class WWidget
WT_GETEXTRAMS_JS -
Constructor Summary
ConstructorsConstructorDescriptionUpdatePasswordWidget(User user, RegistrationModel registrationModel, AuthModel authModel) Constructor.UpdatePasswordWidget(User user, RegistrationModel registrationModel, AuthModel authModel, WContainerWidget parentContainer) Constructor. -
Method Summary
Methods inherited from class WTemplateFormView
indicateValidation, setFormWidget, setFormWidget, updateModel, updateModelField, updateModelValue, updateModelValue, updateView, updateViewField, updateViewValue, updateViewValueMethods inherited from class WTemplate
addFunction, applyArguments, bindEmpty, bindInt, bindString, bindString, bindWidget, clear, conditionValue, enableAjax, format, format, format, format, getConditionsSet, getErrorText, getTemplateText, getWidgetIdMode, getWidgets, handleUnresolvedVariable, hasInternalPathEncoding, isEncodeTemplateText, iterateChildren, refresh, remove, removeWidget, removeWidget, renderTemplate, renderTemplateText, reset, resolveFunction, resolveString, resolveStringValue, resolveWidget, setCondition, setEncodeTemplateText, setInternalPathEncoding, setTemplateText, setTemplateText, setWidgetIdMode, varNameMethods inherited from class WInteractWidget
clicked, doubleClicked, enterPressed, escapePressed, gestureChanged, gestureEnded, gestureStarted, getMouseOverDelay, isEnabled, keyPressed, keyWentDown, keyWentUp, load, mouseDragged, mouseMoved, mouseWentDown, mouseWentOut, mouseWentOver, mouseWentUp, mouseWheel, propagateSetEnabled, render, setDraggable, setDraggable, setDraggable, setDraggable, setMouseOverDelay, setPopup, touchEnded, touchMoved, touchStarted, unsetDraggableMethods inherited from class WWebWidget
addStyleClass, anchorAt, becomePositionAnchor, beingDeleted, blurred, callJavaScriptMember, childrenChanged, createDomElement, doJavaScript, escapeText, escapeText, escapeText, escapeText, find, findById, focussed, formDataChanged, getAttributeValue, getBaseZIndex, getChildren, getClearSides, getDecorationStyle, getDomChanges, getFloatSide, getHeight, getHtmlTagName, getId, getJavaScriptMember, getLineHeight, getMargin, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getOffset, getPositionAnchor, getPositionAnchorName, getPositionScheme, getScrollVisibilityMargin, getStyleClass, getTabIndex, getToolTip, getVerticalAlignment, getVerticalAlignmentLength, getWidth, hasFocus, hasStyleClass, hideToolTip, isCanReceiveFocus, isDefaultNativeControl, isDisabled, isHidden, isHiddenKeepsGeometry, isInline, isLoaded, isPopup, isRendered, isScrollVisibilityEnabled, isScrollVisible, isSetFirstFocus, isThemeStyleEnabled, isVisible, jsStringLiteral, jsStringLiteral, manageWidget, parentResized, parentResized, propagateSetVisible, removeScript, removeStyleClass, resendFormData, resize, scrollVisibilityChanged, setAttributeValue, setBaseZIndex, setCanReceiveFocus, setClearSides, setDecorationStyle, setDefaultNativeControl, setDeferredToolTip, setDisabled, setFlexBox, setFloatSide, setFocus, setHidden, setHiddenKeepsGeometry, setHtmlTagName, setId, setInline, setJavaScriptMember, setLineHeight, setLoadLaterWhenInvisible, setMargin, setMaximumSize, setMinimumSize, setObjectName, setOffsets, setParentWidget, setPositionAnchor, setPositionAnchor, setPositionScheme, setScrollVisibilityEnabled, setScrollVisibilityMargin, setSelectable, setStyleClass, setTabIndex, setThemeStyleEnabled, setToolTip, setVerticalAlignment, showToolTip, showToolTipOnHover, unescapeText, updateSignalConnection, voidEventSignal, widgetAdded, widgetRemovedMethods inherited from class WWidget
acceptDrops, acceptDrops, addCssRule, addCssRule, addJSignal, addStyleClass, anchorAt, animateHide, animateShow, applyThemeStyles, boxBorder, boxPadding, createJavaScript, disable, dropEvent, enable, getDropTouch, getJsRef, getParent, hide, htmlText, htmlText, isExposed, isGlobalWidget, isLayoutSizeAware, isPositionAnchor, layoutSizeChanged, needsRerender, positionAt, positionAt, positionAt, positionAt, removeFromParent, removeStyleClass, render, resize, scheduleRender, scheduleRender, scheduleRender, scheduleThemeStyleApply, setClearSides, setDeferredToolTip, setFocus, setHeight, setHidden, setLayoutSizeAware, setMargin, setMargin, setMargin, setMargin, setMargin, setOffsets, setOffsets, setOffsets, setOffsets, setOffsets, setToolTip, setVerticalAlignment, setWidth, show, stopAcceptDrops, toggleStyleClass, toggleStyleClass, trMethods inherited from class WObject
getObjectName, setFormData
-
Constructor Details
-
UpdatePasswordWidget
public UpdatePasswordWidget(User user, RegistrationModel registrationModel, AuthModel authModel, WContainerWidget parentContainer) Constructor.If
authModelis notnull, the user also has to authenticate first using his current password. -
UpdatePasswordWidget
Constructor.Calls
this(user, registrationModel, authModel, (WContainerWidget)null)
-
-
Method Details
-
updated
-
canceled
-
createFormWidget
Description copied from class:WTemplateFormViewCreates a form widget.This method is called by
updateViewField()when it needs to create a form widget for a field, and none was specified usingsetFormWidget().- Overrides:
createFormWidgetin classWTemplateFormView
-