Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 24th, 2007, 01:32 AM
Authorized User
 
Join Date: Jul 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in Struts Validation

I'm facing a problem with validation in sturts.

The scenario is like this.

I've two fields in a form. Lets say Field1 and Field2.

Field2 is dependent on Field1.

When I'm validating the form, Field2 is also getting validated even there are some errors in Field1.

Is there any method to provide the dependency so that Field2 is not getting validated until Field1 having no validation errors?

I'm using validation.xml for defining the rules.





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in using struts validator skmmail Struts 0 September 4th, 2007 06:00 AM
Help ! Struts Validation ajai_mp Struts 1 November 13th, 2006 06:55 AM
problem in struts javed Struts 1 August 2nd, 2006 12:34 AM
Struts Validation sridevi J2EE 2 June 20th, 2005 11:56 PM
problem in struts svarupula Apache Tomcat 1 January 24th, 2005 04:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.