SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
└─SwatInputControl
└─SwatEntry
└─SwatPasswordEntry
└─SwatConfirmPasswordEntry
public class SwatConfirmPasswordEntry
extends SwatPasswordEntry
| Field Summary | |
|---|---|
| SwatPasswordEntry | A reference to the matching password widget. |
| Method Summary | |
|---|---|
| protected array | Gets the array of CSS classes that are applied to this entry. |
| void | process() Checks to make sure passwords match. |
| Methods inherited from Swat.SwatPasswordEntry | |
|---|---|
| getCSSClassNames, getInputTag | |
| Methods inherited from Swat.SwatEntry | |
|---|---|
| display, getCSSClassNames, getDisplayValue, getFocusableHtmlId, getInputTag, getNonce, getRawValue, getState, getValidationMessage, hasRawValue, process, setState | |
| Methods inherited from Swat.SwatInputControl | |
|---|---|
| getForm, init | |
| Methods inherited from Swat.SwatControl | |
|---|---|
| addMessage, getNote, printWidgetTree | |
| Methods inherited from Swat.SwatWidget | |
|---|---|
| addCompositeWidget, addMessage, confirmCompositeWidgets, copy, createCompositeWidgets, display, displayHtmlHeadEntries, getCSSClassNames, getCompositeWidget, getCompositeWidgets, getFocusableHtmlId, getHtmlHeadEntrySet, getMessages, hasMessage, init, isDisplayed, isInitialized, isProcessed, isSensitive, printWidgetTree, process, replaceWithContainer | |
| Methods inherited from Swat.SwatUIObject | |
|---|---|
| addComment, addJavaScript, addStyleSheet, addTangoAttribution, copy, getCSSClassNames, getCSSClassString, getFirstAncestor, getHtmlHeadEntrySet, getInlineJavaScript, getUniqueId, isVisible | |
public SwatPasswordEntry $password_widget = null
A reference to the matching password widget
protected array getCSSClassNames()
Gets the array of CSS classes that are applied to this entry
public void process()
Checks to make sure passwords match
Checks to make sure the values of the two password fields are the same. If an associated password widget is not set, an exception is thrown. If the passwords do not match, an error is added to this widget.
A password confirmation entry widget
Automatically compares the value of the confirmation with the matching password widget to see if they match.