public class UserProfileChangePasswordWidget extends SpringFormWidget<UserProfileChangePasswordForm>
METADATA_KEY_NO_CONTENTPARAM_WIDGET_ID| Constructor and Description |
|---|
UserProfileChangePasswordWidget() |
UserProfileChangePasswordWidget(boolean currentPasswordRequired) |
| Modifier and Type | Method and Description |
|---|---|
protected UserProfileChangePasswordForm |
formBackingObject(javax.servlet.http.HttpServletRequest request)
Create the form backing object.
|
String |
getTile(String outputType)
Get the tile to be used for rendering
|
protected Long |
getUserId(javax.servlet.http.HttpServletRequest request)
Return the ID of the user for which the password should be changed
|
boolean |
isCurrentPasswordRequired() |
protected void |
onSubmit(javax.servlet.http.HttpServletRequest request,
UserProfileChangePasswordForm formBackingObject,
org.springframework.validation.BindingResult errors)
Do the actual submit operation, like updating database values.
|
createBinder, handleRefresh, handleSubmit, initBinder, prepareBackingObjectOnRefresh, prepareBackingObjectOnSubmit, processFormSubmission, setValidator, suppressValidation, validateFormhandleRequest, initParametersdetermineOutputType, getAttribute, getBooleanParameter, getGroupName, getIntParameter, getIntParameter, getLongArrayParameter, getLongParameter, getLongParameter, getParameter, getParameter, getParameterEscaped, getParameterEscaped, getParameters, getRequest, getResponse, getResponseMetadata, getStringArrayParameter, getViewIdentifier, getWidgetId, isSuccess, setAttribute, setGroupName, setParameter, setRequest, setResponse, setResponseMetadata, setSuccesspublic UserProfileChangePasswordWidget()
public UserProfileChangePasswordWidget(boolean currentPasswordRequired)
protected UserProfileChangePasswordForm formBackingObject(javax.servlet.http.HttpServletRequest request)
SpringFormWidgetSpringFormWidget.prepareBackingObjectOnRefresh(HttpServletRequest, Object) or
SpringFormWidget.prepareBackingObjectOnSubmit(HttpServletRequest, Object).formBackingObject in class SpringFormWidget<UserProfileChangePasswordForm>request - the current requestpublic String getTile(String outputType)
WidgetoutputType - the output type (rss, dhtml ...) without any '.'protected Long getUserId(javax.servlet.http.HttpServletRequest request)
request - the servlet requestpublic boolean isCurrentPasswordRequired()
protected void onSubmit(javax.servlet.http.HttpServletRequest request,
UserProfileChangePasswordForm formBackingObject,
org.springframework.validation.BindingResult errors)
SpringFormWidgetonSubmit in class SpringFormWidget<UserProfileChangePasswordForm>request - the current requestformBackingObject - the form backing objecterrors - for adding errors that occur during the submit operationCopyright © 2019 Communote team. All rights reserved.