    <JSB>
        <JSB_DESCRIPTOR NAME="netscape.peas.ValidatedText" DISPLAYNAME="Validated Text"
            NEEDSFORM ENV="client" EVENTMODEL="JS"
            HELP_URL="$installdir/doc/compref1.htm#Validated Text Field"
            SHORTDESCRIPTION="Validated input text form field" VISUAL="netscape.palomar.page.component.HTMLTextField">

        <JSB_PROPERTY NAME="value" DISPLAYNAME="Value" PROPTYPE="JS" TYPE="string"
            READMETHOD="getValue" WRITEMETHOD="setValue"
            ISBOUND ISDEFAULT SHORTDESCRIPTION="Current value of text">

        <JSB_PROPERTY NAME="size" DISPLAYNAME="Size" PROPTYPE="JS" TYPE="number"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Size of text field">

        <JSB_PROPERTY NAME="isRequired" DISPLAYNAME="Value Is Required" PROPTYPE="JS" TYPE="boolean"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Validation requires a value for this field.">

        <JSB_PROPERTY NAME="expression" DISPLAYNAME="Validation Expression" PROPTYPE="JS" TYPE="string"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Validation expression (use 'obj' to refer to JavaScript object corresponding to field.">

        <JSB_PROPERTY NAME="validateOnSubmit" DISPLAYNAME="Validate On Submit" PROPTYPE="JS" TYPE="boolean"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Validation is perfomed on form's onSubmit event.">

        <!-JSB_PROPERTY NAME="validateOnBlur" DISPLAYNAME="Validate On Blur" PROPTYPE="JS" TYPE="boolean" DEFAULT_VALUE="true"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Validation is perfomed on onBlur event."-!>

        <JSB_PROPERTY NAME="validateOnChange" DISPLAYNAME="Validate On Change" PROPTYPE="JS" TYPE="boolean" DEFAULT_VALUE="true"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Validation is perfomed on onChange event.">

        <JSB_PROPERTY NAME="errorMessage" DISPLAYNAME="Error Message" PROPTYPE="JS" TYPE="string"
            READMETHOD="" WRITEMETHOD=""
            SHORTDESCRIPTION="Custom error message to display if validation fails.">

        <JSB_METHOD NAME="getValue" TYPE="string" ENV="client"></JSB_METHOD>
        <JSB_METHOD NAME="setValue" TYPE="void" ENV="client">
            <JSB_PARAMETER NAME="newValue" TYPE="string">
        </JSB_METHOD>

        <JSB_METHOD NAME="blur" TYPE="void"> </JSB_METHOD>
        <JSB_METHOD NAME="focus" TYPE="void"> </JSB_METHOD>
        <JSB_METHOD NAME="select" TYPE="void"> </JSB_METHOD>

        <JSB_METHOD NAME="validate" TYPE="boolean"> </JSB_METHOD>

        <JSB_EVENT NAME="onBlur" LISTENERMETHODS="onBlur" LISTENERTYPE="onBlurListener" EVENTMODEL="JS">
        <JSB_EVENT NAME="onChange" LISTENERMETHODS="onChange" LISTENERTYPE="onChangeListener" EVENTMODEL="JS" ISDEFAULT>
        <JSB_EVENT NAME="onFocus" LISTENERMETHODS="onFocus" LISTENERTYPE="onFocusListener" EVENTMODEL="JS">
        <JSB_EVENT NAME="onSelect" LISTENERMETHODS="onSelect" LISTENERTYPE="onSelectListener" EVENTMODEL="JS">

        <JSB_CONSTRUCTOR SRC="cValidatedText.js">

        </JSB_CONSTRUCTOR>