DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36777>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36777

           Summary: validation is not working with struts1.2
           Product: Struts
           Version: 1.0.2 Final
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Validator Framework
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


My application was working fine with reuqest processor was handling all the 
requests.
Then i tried to put validations to one of my screen. Initially, the 
validator.xml looked like this
<?xml version="1.0" encoding="UTF-8" ?>
<!-- 
    $Revision: 1.216 $ 
    $Date: 2004/09/01 02:56:54 $
    -->
<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules 
Configuration 1.0//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";>
<form-validation>
  <global>
    <constant>
      <constant-name>phone</constant-name>
      <constant-value>^\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$</constant-value>
    </constant>
    <constant>
      <constant-name>zip</constant-name>
      <constant-value>^\d{5}\d*$</constant-value>
    </constant>
  </global>
  
</form-validation>

Later I put the following code into validation.xml
i.e.,
<formset>
<form name="scheduleMeetingForm">
<field property="strAgenda" depends="required" />
</form>
</formset>

Once i put it, the request processor stopped calling any of the Action classes. 
I am simply getting JSP pages without action being done.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to