Neil,
 
In the SearchForm, I am curious if it extends ValidatorForm, try to extend ActionForm 
instead to have it to perform client side validation.  Code and configuration appears 
to be fine.
 
Good Luck,
Allen Martis.

Neil Mitchell <[EMAIL PROTECTED]> wrote:
Hi all

I am unable to get validation working in the clientside. It's fine with serverside but 
will not validate on the clientside.
Here are my config files and jsp any help would be welcomed. Cheers in advance

JSP






alink="#ff00ff" background="foo.gif">





   








Animal


Jockey


Trainer


Owner








struts-config



"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>

      This is the Struts configuration file for the example application,
      using the proposed new syntax.
 -->








dynamic="true"
type="org.apache.struts.validator.DynaValidatorForm"> 





dynamic="true"
type="org.apache.struts.action.DynaActionForm">















path="/quickSearch"
type="com.arena.skylla.struts.research.actions.QuickSearchAction"
scope="request"
name="searchForm"
input="/researchHome.jsp"
validate="true">



path="/quickSearchResult"
type="com.arena.skylla.struts.research.actions.QuickSearchResultAction"
scope="request"
name="searchResultsForm"
validate="false">















  Configuration ================================== -->



value="/WEB-INF/validator-rules.xml,
/WEB-INF/validation.xml"/>





validation.xml



"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>

     Validation Rules for the Struts Example Web Application
 
     $Id: validation.xml,v 1.8 2003/05/25 22:51:20 dgraham Exp $
 -->








depends="required, minlength">

resource="false"/>

minlength
3











Neil Mitchell
Senior Developer

E-mail: [EMAIL PROTECTED] 
Office: +44 (0)1483 306660
Fax: +44 (0)1483 306670
Web: www.arenaleisureplc.com 
Arena Online Services Ltd, Alexandra House, 1-5 Alexandra Terrace, Guildford Surrey, 
GU1 3DA
**********************************************************************************************************
This e-mail and any attachments may be confidential and/or legally privileged. If you 
are not a named addressee you must not use, disclose, distribute, copy, print or rely 
on this e-mail. Although Arena Online routinely screens for viruses, addressees should 
check this e-mail and attachment for any viruses. Arena Online makes no representation 
or warranty as to the absence of viruses in this e-mail or any attachments. Please 
note that to ensure regulatory compliance and for the protection of our clients and 
business, we may monitor and read e-mails sent to and from our server(s).



Neil Mitchell
Senior Developer

E-mail: [EMAIL PROTECTED] 
Office: +44 (0)1483 306660
Fax: +44 (0)1483 306670
Web: www.arenaleisureplc.com 
Arena Online Services Ltd, Alexandra House, 1-5 Alexandra Terrace, Guildford Surrey, 
GU1 3DA
**********************************************************************************************************
This e-mail and any attachments may be confidential and/or legally privileged. If you 
are not a named addressee you must not use, disclose, distribute, copy, print or rely 
on this e-mail. Although Arena Online routinely screens for viruses, addressees should 
check this e-mail and attachment for any viruses. Arena Online makes no representation 
or warranty as to the absence of viruses in this e-mail or any attachments. Please 
note that to ensure regulatory compliance and for the protection of our clients and 
business, we may monitor and read e-mails sent to and from our server(s).



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


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now

Reply via email to