Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 99520 invoked from network); 13 Sep 2002 14:50:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Sep 2002 14:50:37 -0000 Received: (qmail 25590 invoked by uid 97); 13 Sep 2002 14:50:59 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 25573 invoked by uid 97); 13 Sep 2002 14:50:58 -0000 Mailing-List: contact struts-user-help@jakarta.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 struts-user@jakarta.apache.org Received: (qmail 25555 invoked by uid 98); 13 Sep 2002 14:50:57 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <78F8A7599812D211A57C00805F9F91E008C979E4@nj0117exch002u.wh.lucent.com> From: "Andrade, Ernesto (Ernie)" To: "'Struts Users Mailing List'" Subject: RE: html:options List Date: Fri, 13 Sep 2002 10:50:18 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Try This worked for us with an ArrayList. Ernie -----Original Message----- From: Michael Lee [mailto:mleejr@hotmail.com] Sent: Friday, September 13, 2002 10:26 AM To: Struts Users Mailing List Subject: html:options List Ok, fun with html:options again! Im trying to do this.. ... <% pageContext.setAttribute("allUnitedStates", (List)Lookup.getData(Constant.GLOBAL.UNITED_STATES));%> ... This is just an array list of states. I want to use the same value as text. I've tried a million combinations and can't see any examples. All the examples want you to create an array of beans with getters and setters. I just want to dump a collection in there (I really need to help out with the docs when I get done with this project). thanks, Mike -- To unsubscribe, e-mail: For additional commands, e-mail: