Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 13136 invoked from network); 9 Mar 2007 08:57:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2007 08:57:59 -0000 Received: (qmail 34230 invoked by uid 500); 9 Mar 2007 08:58:05 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 33922 invoked by uid 500); 9 Mar 2007 08:58:04 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 33911 invoked by uid 99); 9 Mar 2007 08:58:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 00:58:04 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [153.107.105.11] (HELO hplmx2.det.nsw.edu.au) (153.107.105.11) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 00:57:51 -0800 Received: from itfsmtp5.central.det.win (externalmail.det.nsw.edu.au [153.107.8.159]) by hplmx2.det.nsw.edu.au (8.13.1/8.13.1) with ESMTP id l298vUMX028818 for ; Fri, 9 Mar 2007 19:57:30 +1100 Received: from itfexhub4.central.det.win (Not Verified[153.107.9.31]) by itfsmtp5.central.det.win with MailMarshal (v6,1,8,2137) id ; Fri, 09 Mar 2007 19:57:29 +1100 Received: from itfexch4.central.det.win ([153.107.9.48]) by itfexhub4.central.det.win with Microsoft SMTPSVC(6.0.3790.1830); Fri, 9 Mar 2007 19:57:29 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [VALIDATOR] property order using extends attribute Date: Fri, 9 Mar 2007 19:57:30 +1100 Message-ID: <7674B8B2F9705845ADA12ABA2F2081490D3221@itfexch4.central.det.win> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [VALIDATOR] property order using extends attribute thread-index: AcdiKPgFoZTShggEQ0qzWuKBq8hG8A== From: "Strachan, Paul" To: X-OriginalArrivalTime: 09 Mar 2007 08:57:29.0485 (UTC) FILETIME=[F78E23D0:01C76228] X-Virus-Checked: Checked by ClamAV on apache.org Hi, =20 using validator 1.2.0 and struts 1.2.9 is there any way to control the or= der of validation error messages output on the screen? =20 for example: =20
=20 =20 =20 =20 =20 =20 =20 =20 =20
=20 This example displays: o First name is required o Last name is Required o Date of Birth is invalid =20 =20 Now if I change the validation as follows: =20
=20 =20 =20
=20
=20 =20 =20 =20 =20 =20
=20 When I validate against "MyForm" it displays: o Date of Birth is invalid o First name is required o Last name is Required =20 Is it possible to control the order so that the date of birth message is = displayed after the last name. Possibly an optional attribute (int) on th= e element ? =20 Thanks, =20 Paul =20 ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org