Hi Jay,

So how do you know that validate() isn't being called? Have you placed a 
break point in your validate and execute methods? Can you send us the 
snippets from struts-config.xml for both the classes and tell us which 
works and which doesn't?

Geeta




Jay Sheth <[EMAIL PROTECTED]> 
08/08/2005 03:31 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
{Spam?} validate() not called






Hi,
I am trying to use the validate() by extending the
org.apache.struts.validator.ValidatorForm class.

The problem is that the validate() is being called for one form class
which I have created, however it is not being called for another
similar form class. There are no errors which compiling etc...so i
dont get to know why it is not being called.

Any hints on how to debug as to why it is not called ?

The snippet struts-config.xml is : 
<action
            path="/maintainRecurringTasks"
            type="tasks.action.MaintainRecurringTasksPageAction"
            scope="request"
            name="MaintainRecurringTasksPageForm"
            attribute="MaintainRecurringTasksPageForm" 
            parameter="maintainRecurringTasks"
            validate="true">
            <forward name="success" 
               path="/jsp/tasks/MaintainRecurringTasks.jsp" /> 
        </action>

Thanks,

Jay

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



CONFIDENTIALITY NOTICE:This email is intended solely for the person or 
entity to which it is addressed and may contain confidential and/or 
protected health information.  Any duplication, dissemination, action 
taken in reliance upon, or other use of this information by persons or 
entities other than the intended recipient is prohibited and may violate 
applicable laws.  If this email has been received in error, please notify 
the sender and delete the information from your system.  The views 
expressed in this email are those of the sender and may not necessarily 
represent the views of IntelliCare.

Reply via email to