|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.pagecontrols.framework.AValidator com.plumtree.uiinfrastructure.validators.NotEmptyValidator
public class NotEmptyValidator
A PageControl Validator to check that the value of the page control is not null or an empty String
Field Summary | |
---|---|
java.lang.String |
m_strFormName
name of the form where this validator appears (used by JavaScript validation) |
java.lang.String |
m_strInputName
name of the input which this validator works on (used by JavaScript validation) |
Fields inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AValidator |
---|
m_sErrorMessage |
Constructor Summary | |
---|---|
NotEmptyValidator(java.lang.String _sFormName,
java.lang.String _sInputName)
Empty constructor creates a new NotEmptyValidator |
Method Summary | |
---|---|
java.lang.String |
GetJSFunction(java.lang.String _sParameters)
Return the name of the JavaScript validation method along with whatever parameters the script needs. |
java.lang.String |
GetJSValidationCode()
Returns the JavaScript Validation method that may be used on a page to validate associated form input. |
java.lang.String |
GetName()
Return the name of this Validator |
UIError |
Validate(java.lang.Object _oObject)
Validation method. |
Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AValidator |
---|
GetErrorMessage, SetErrorMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IValidator |
---|
SetErrorMessage |
Field Detail |
---|
public java.lang.String m_strFormName
public java.lang.String m_strInputName
Constructor Detail |
---|
public NotEmptyValidator(java.lang.String _sFormName, java.lang.String _sInputName)
Method Detail |
---|
public UIError Validate(java.lang.Object _oObject)
IValidator
Validate
in interface IValidator
public java.lang.String GetJSValidationCode()
GetJSValidationCode
in interface IValidator
IValidator.GetJSValidationCode()
public java.lang.String GetJSFunction(java.lang.String _sParameters)
GetJSFunction
in interface IValidator
_sParameters
- areguments to Javascript function
public java.lang.String GetName()
GetName
in interface IValidator
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |