Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 44453 invoked from network); 8 Aug 2007 08:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 08:13:08 -0000 Received: (qmail 51622 invoked by uid 500); 8 Aug 2007 08:12:59 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 50615 invoked by uid 500); 8 Aug 2007 08:12:57 -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 50604 invoked by uid 99); 8 Aug 2007 08:12:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 01:12:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.83.174.24] (HELO lnx130.hrz.tu-darmstadt.de) (130.83.174.24) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 08:12:49 +0000 Received: from jsb.st.informatik.tu-darmstadt.de (jsb.st.informatik.tu-darmstadt.de [130.83.165.49]) by lnx130.hrz.tu-darmstadt.de (8.13.4/8.12.10) with ESMTP id l788CHES031266 for ; Wed, 8 Aug 2007 10:12:17 +0200 Received: from [130.83.165.22] (helo=JARRE) by jsb.st.informatik.tu-darmstadt.de with esmtp (Exim 3.36 #1 (Debian)) id 1IIgeP-0004tQ-00 for ; Wed, 08 Aug 2007 10:12:17 +0200 From: =?iso-8859-1?Q?Thorsten_Sch=E4fer?= To: "'Struts Users Mailing List'" Subject: Binding a Java 5 Enumeration to a Select Tag Date: Wed, 8 Aug 2007 10:12:07 +0200 Message-ID: <00c501c7d993$d0319a00$16a55382@st.informatik.tudarmstadt.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfZk9AVSvPMaWTORxytbQsCx1VU2g== X-TUD-HRZ-MailScanner: Found to be clean X-TUD-HRZ-MailScanner-SpamCheck: X-MailScanner-From: schaefer@informatik.tu-darmstadt.de X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'd like to bind an enumeration directly to a select tag, so that all possible values appear in the ui and I don't need to change the JSP if the enumeration changes. Does anybody have a code snippet how to do this? I could not find anything about it in the documentation. Cheers, Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org