Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 42289 invoked from network); 1 Dec 2004 12:38:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Dec 2004 12:38:29 -0000 Received: (qmail 12297 invoked by uid 500); 1 Dec 2004 12:37:07 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 12226 invoked by uid 500); 1 Dec 2004 12:37:05 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 12180 invoked by uid 99); 1 Dec 2004 12:37:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of melowe@gmail.com designates 64.233.184.202 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.202) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 04:37:03 -0800 Received: by wproxy.gmail.com with SMTP id 67so135162wri for ; Wed, 01 Dec 2004 04:37:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=GHQVZd9jFCfdGYBty1OwoLgI0rJq4eyLySkAG/RDLAViT8n/hL5w+CFGUH4htB+NDhbqWckSjAC6enTvo9agr59WgVBOdQqh1tlpqAygT43aeH9gGjgkjeGqE1M2Lp8r7ts+j5PfZNeMzjWTF5OUjEWo26bttecVTzlxyim3F5Y= Received: by 10.54.6.79 with SMTP id 79mr658369wrf; Wed, 01 Dec 2004 04:36:59 -0800 (PST) Received: by 10.54.27.67 with HTTP; Wed, 1 Dec 2004 04:36:59 -0800 (PST) Message-ID: <3e1257da04120104362597b854@mail.gmail.com> Date: Wed, 1 Dec 2004 13:36:59 +0100 From: Mark Lowe Reply-To: Mark Lowe To: Struts Users Mailing List , Corey Scott Subject: Re: simple html:select issue In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Corey's suggestion could work with arraylist. If you use your code wrote: > Andy, > > I believe you are after something like this: > > > > > Regards, > Corey > > > > On Wed, 01 Dec 2004 11:18:33 +0000, andy wix wrote: > > Hi, > > > > I am trying to use select and options tags in the simplest way where I have > > an ArrayList of Strings in the request (Logs) and I wish the one selected to > > end up in the form's logName variable. > > According to page 296 of Struts in action I think this should work: > > > > > > > > > > > > but I get: > > > > [ServletException in:/selectLog.jsp] No name specified' > > java.lang.IllegalArgumentException: No name specified at > > org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:721) > > at > > org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) > > at > > > > etc > > > > Thanks, > > Andy > > > > _________________________________________________________________ > > It's fast, it's easy and it's free. Get MSN Messenger today! > > http://www.msn.co.uk/messenger > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > For additional commands, e-mail: user-help@struts.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org