Name

basevalidator

Synopsis

LZX: basevalidator
JavaScript: basevalidator
Type: Class
Access: public
Topic: Incubator.Validators
Declared in: lps/components/incubator/validators/basevalidator.lzx

Superclass Chain

node (LzNode) » view (LzView) » basevalidator

Known Subclasses

Known Direct Subclasses: datevalidator, emailvalidator, numbervalidator, stringvalidator

Details

Properties (6)

errorstring
<attribute name="errorstring" type="string" value="" />
public var errorstring : String;
innercompornent
<attribute name="innercompornent" type="expression" value="null" />
public var innercompornent : Object;
iserror
<attribute name="iserror" type="boolean" value="false" />
public var iserror : Boolean;
isformvalidator
<attribute name="isformvalidator" type="boolean" value="true" />
public var isformvalidator : Boolean;
required
<attribute name="required" type="boolean" value="false" />
public var required : Boolean;
requiredErrorstring
<attribute name="requiredErrorstring" type="string" value="this field is required." />
public var requiredErrorstring : String;

Methods (8)

addSubview()
<method name="addSubview" args="item" />
public function addSubview(item);
cleanErrors()
<method name="cleanErrors" />
public function cleanErrors();
dotrim()
<method name="dotrim" args="s" />
public function dotrim(s);
doValidation()
<method name="doValidation" />
public function doValidation();
getErrorstring()
<method name="getErrorstring" />
public function getErrorstring();
getValueText()
<method name="getValueText" args="val" />
public function getValueText(val);
setErrorMessage()
<method name="setErrorMessage" />
public function setErrorMessage();
setErrorstring()
<method name="setErrorstring" args="message" />
public function setErrorstring(message);

LZX Synopsis

<class name="basevalidator" extends=" LzView ">
  <attribute name=" errorstring " type="string" value="" />
  <attribute name=" innercompornent " type="expression" value="null" />
  <attribute name=" iserror " type="boolean" value="false" />
  <attribute name=" isformvalidator " type="boolean" value="true" />
  <attribute name=" required " type="boolean" value="false" />
  <attribute name=" requiredErrorstring " type="string" value="this field is required." />
  <method name=" addSubview " args="item" />
  <method name=" cleanErrors " />
  <method name=" dotrim " args="s" />
  <method name=" doValidation " />
  <method name=" getErrorstring " />
  <method name=" getValueText " args="val" />
  <method name=" setErrorMessage " />
  <method name=" setErrorstring " args="message" />
</class>

JavaScript Synopsis

public basevalidator extends  LzView  {
  public var errorstring  : String;
  public var innercompornent  : Object;
  public var iserror  : Boolean;
  public var isformvalidator  : Boolean;
  public var required  : Boolean;
  public var requiredErrorstring  : String;
  prototype public function addSubview (item);
  prototype public function cleanErrors ();
  prototype public function dotrim (s);
  prototype public function doValidation ();
  prototype public function getErrorstring ();
  prototype public function getValueText (val);
  prototype public function setErrorMessage ();
  prototype public function setErrorstring (message);
}