Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 44853 invoked from network); 21 Jul 2003 17:44:30 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 21 Jul 2003 17:44:30 -0000 Received: (qmail 25542 invoked by uid 97); 21 Jul 2003 17:47:04 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 25535 invoked from network); 21 Jul 2003 17:47:04 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 21 Jul 2003 17:47:04 -0000 Received: (qmail 42857 invoked by uid 500); 21 Jul 2003 17:44:05 -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 42840 invoked from network); 21 Jul 2003 17:44:05 -0000 Received: from unknown (HELO dc-exch-cu.numetrics.com) (64.186.175.38) by daedalus.apache.org with SMTP; 21 Jul 2003 17:44:05 -0000 Received: from mehran ([192.168.0.158]) by dc-exch-cu.numetrics.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 21 Jul 2003 10:46:01 -0700 Message-ID: <007101c34faf$f3010fb0$9e00a8c0@nms.local> From: "atta-ur rehman" To: "Struts Users Mailing List" Subject: A column consisting of html:select widgets Date: Mon, 21 Jul 2003 10:46:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-OriginalArrivalTime: 21 Jul 2003 17:46:01.0390 (UTC) FILETIME=[F32894E0:01C34FAF] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dear All, I'm using struts 1.0.2. I have a requirement where i need to show a column consisting of dropdown lists. Every row of the table for the column shows a dropdown with the same list of options. I've used String[] getCategory() and setCategory(String[]) getter/setter in thr ActionForm. On the form submission i get the correct selected values for all the rows. Now my questions is how do I set the values of these dropdown from he database when the page is shown for the very first time. I've tried setCategory(String[]) setter, but the dropdowns don't show the correct option selected! I've also tried to search from the mail archive to no avail. Any help or pointers would be greatly appreciated. Regards, ATTA --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org