SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
└─SwatInputControl
└─SwatEntry
└─SwatEmailEntry
└─SwatConfirmEmailEntry
public class SwatConfirmEmailEntry
extends SwatEmailEntry
| Field Summary | |
|---|---|
| SwatEmailEntry | A reference to the matching email entry widget. |
| Method Summary | |
|---|---|
| protected array | Gets the array of CSS classes that are applied to this entry. |
| void | process() Checks to make sure email addresses match. |
| Methods inherited from Swat.SwatEmailEntry | |
|---|---|
| getCSSClassNames, process, validateEmailAddress | |
| 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 SwatEmailEntry $email_widget = null
A reference to the matching email entry widget
protected array getCSSClassNames()
Gets the array of CSS classes that are applied to this entry
public void process()
Checks to make sure email addresses match
Checks to make sure the values of the two email address fields are the same. If an associated email entry widget is not set, an exception is thrown. If the addresses do not match, an error is added to this widget.
An email address confirmation entry widget
Automatically compares the value of the confirmation with the matching email entry widget to see if they match.