Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 62336 invoked from network); 3 Feb 2006 18:26:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Feb 2006 18:26:21 -0000 Received: (qmail 68622 invoked by uid 500); 3 Feb 2006 18:26:15 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 68271 invoked by uid 500); 3 Feb 2006 18:26:14 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 68256 invoked by uid 99); 3 Feb 2006 18:26:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 10:26:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jmikus@gmail.com designates 66.249.82.206 as permitted sender) Received: from [66.249.82.206] (HELO xproxy.gmail.com) (66.249.82.206) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 10:26:13 -0800 Received: by xproxy.gmail.com with SMTP id s11so588516wxc for ; Fri, 03 Feb 2006 10:25:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RhETXEajyP1Zz2p8WKHPzDkCyun8GCxNYZhqrcf0Bd4rQtJhFa0abkYdJdmKRIsP7joNUZYNsri4pahC7yBEcZ0tyrqz1MrqNkfisJCteOYYj2GPtCdGmRgZstfJL2ku0e/J43k3bo5UYvp73M0EBxfDH7zrrSDFOZmaGrAyLb4= Received: by 10.70.31.8 with SMTP id e8mr2564563wxe; Fri, 03 Feb 2006 10:25:52 -0800 (PST) Received: by 10.70.72.10 with HTTP; Fri, 3 Feb 2006 10:25:52 -0800 (PST) Message-ID: <1db115340602031025v42927dc9o8b349f26d31f30a7@mail.gmail.com> Date: Fri, 3 Feb 2006 10:25:52 -0800 From: Michael Jouravlev To: Struts Developers List Subject: Re: Problem with html:select In-Reply-To: <20060203182113.13668.qmail@web32007.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060203182113.13668.qmail@web32007.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 2/3/06, Kumar Kadiyala wrote: > Hello, > > I am running into a problem with the html:select tag. > I have the "multiple" attribute set so that the list > renders as a multi select list box. I am using the > value attribute of this tag and if I specify an Array > as the value, the initial selection in the list box is > not correct. I looked into the source code (SelectTag) > and it seems like the value property has a dataType > String. Shouldn't the dataType be String for single > select lists and Arrays(or Collections) for multi > select lists? I have to use the value attribute on the > SelectTag. Is there a workaround? http://javaboutique.internet.com/tutorials/strutsform/ This is the developers' list. Use the struts-user list for usage/howto/problems/questions. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org