It looks like they are set-up, but nothing happens.  It goes
right into my dispatch action method.

If I submit the form with nothing entered, it goes into the add
method.  It was working last night, but ....

Here is my form action: (it works)
watchActionAdd.do?method=add

Here is the form declaration:
        <action path="/watchActionAdd" 
            parameter="method"
            type="com.appriss.jxportal.watch.WatchAction"
            name="watchForm"
            scope="request"
            validate="true"
            input="/watch/watchAdd.jsp">
            <forward name="watchView"
path="/watch/watchView.jsp" contextRelative="true"/>
        </action>

Here is the validation declaration:
    <formset>
        <form name="watchForm">
            <field property="lastName"
depends="required,minlength">
                <arg0 key="lastName"/>
                <arg1 name="minlength" key="${var:minlength}"
resource="false"/>
                <var>
                    <var-name>minlength</var-name>
                    <var-value>2</var-value>
                </var>
            </field>
            <field property="firstName"
depends="required,minlength">
                <arg0 key="firstName"/>
            </field>
            <field property="dobBegin" depends="date">
                <arg0 key="dobBegin"/>
                <var>
                    <var-name>datePattern</var-name>
                    <var-value>MM/dd/yyyy</var-value>
                </var>
            </field>
        </form>
    </formset>


It acts as if there is no validation turned on.


=====

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton



                
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to