Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 83624 invoked from network); 2 Aug 2007 07:31:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 07:31:15 -0000 Received: (qmail 87528 invoked by uid 500); 2 Aug 2007 07:31:05 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 87509 invoked by uid 500); 2 Aug 2007 07:31:05 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 87495 invoked by uid 99); 2 Aug 2007 07:31:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 00:31:05 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WEIRD_QUOTING X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 07:31:00 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IGV8p-00070w-Rl for user@struts.apache.org; Thu, 02 Aug 2007 00:30:39 -0700 Message-ID: <11959696.post@talk.nabble.com> Date: Thu, 2 Aug 2007 00:30:39 -0700 (PDT) From: Hiroyuki Suzuki To: user@struts.apache.org Subject: Validating using indexedListProperty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: jerkyjerk@atenista.net X-Virus-Checked: Checked by ClamAV on apache.org hello guys..its me again.. I have a problem regarding my validation of html:text which is inside the iteration and the validation will depends if the corresponding checkbox has been selected. this is my JSP bitratebox is for the multibox and=20 bitrateTxt is for the text =20 =20 " size=3D"50"/= > when I tried to write it in my validation.xml a FOR bitrateTxt[0] when bitratebox[0] is checked =20 =20 field[0]=20 bitratebox =20 =20 fieldTest[0]=20 EQUAL =20 =20 fieldValue[0]=20 500k =20 =20 I used bitrateTxt[0] because the generated html will look like this =20 500k =20 Actionform =09private String[] bitratebox =3D {}; =09private String[] items1 =3D {"500k","1M","2M","5M","6M"}; =09public String[] getBitratebox() { =09=09return this.bitratebox; =09} =09public void setBitratebox(String[] bitratebox) { =09=09this.bitratebox =3D bitratebox; =09}=09 =09public String[] getItems1(){ =09=09return this.items1; =09private String[] bitrateTxt =3D {"","","","",""}; =09public String[] getBitrateTxt() { =09=09return this.bitrateTxt; =09} =09public void setBitrateTxt(String[] bitrateTxt) { =09=09this.bitrateTxt =3D bitrateTxt; =09} Is my validdation correct? I cant make this work properly.. Please teach me the incorrect part. Thank you.. --=20 View this message in context: http://www.nabble.com/Validating-using-indexe= dListProperty-tf4204569.html#a11959696 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org