info.magnolia.cms.gui.dialog
Class DialogPassword

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by info.magnolia.cms.gui.dialog.DialogPassword
All Implemented Interfaces:
DialogControl
Direct Known Subclasses:
DialogPasswordHash

public class DialogPassword
extends DialogBox

Version:
2.0
Author:
Vinzenz Wyser

Field Summary
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogBox
BOXTYPE_1COL, BOXTYPE_2COLS
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
DEFAULT_VALUE_PROPERTY, SESSION_ATTRIBUTENAME_DIALOGOBJECT, SESSION_ATTRIBUTENAME_DIALOGOBJECT_REMOVE, VALIDATION_PATTERN_PROPERTY, value
 
Constructor Summary
DialogPassword()
           
 
Method Summary
 void drawHtml(Writer out)
          Actually draw the dialog content.
 boolean isBcrypt()
           
 void setBcrypt(boolean useBcrypt)
           
 boolean validate()
          If the validation fails the code will set a message in the context using the AlertUtil.
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogBox
drawHtmlPost, drawHtmlPre, getBoxType, getHtmlDescription, setBoxType
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
addOption, addSub, clearWebsiteNode, drawHtmlPostSubs, drawHtmlPreSubs, drawSubs, getConfigValue, getConfigValue, getDescription, getId, getLabel, getMessage, getMessage, getMessages, getName, getOptions, getParent, getRequest, getResponse, getStorageNode, getSub, getSubs, getTopParent, getValidationPattern, getValue, getValues, getWebsiteNode, init, isRequired, readValue, readValues, removeSessionAttribute, setConfig, setConfig, setConfig, setDescription, setLabel, setName, setOptions, setRequired, setSaveInfo, setSessionAttribute, setTopParent, setValidationMessage, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogPassword

public DialogPassword()
Method Detail

drawHtml

public void drawHtml(Writer out)
              throws IOException
Description copied from interface: DialogControl
Actually draw the dialog content.

Specified by:
drawHtml in interface DialogControl
Overrides:
drawHtml in class DialogControlImpl
Parameters:
out - Writer
Throws:
IOException - exceptions thrown when writing to the Writer can be safely rethrown by the dialog
See Also:
DialogControl.drawHtml(Writer)

validate

public boolean validate()
Description copied from class: DialogControlImpl
If the validation fails the code will set a message in the context using the AlertUtil.

Overrides:
validate in class DialogControlImpl
Returns:
true if valid

isBcrypt

public boolean isBcrypt()

setBcrypt

public void setBcrypt(boolean useBcrypt)


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.