Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 69787 invoked from network); 1 Nov 2005 16:03:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 16:03:39 -0000 Received: (qmail 91724 invoked by uid 500); 1 Nov 2005 16:03:26 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 91700 invoked by uid 500); 1 Nov 2005 16:03:26 -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 91689 invoked by uid 99); 1 Nov 2005 16:03:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 08:03:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [128.121.218.147] (HELO arubaclick.com) (128.121.218.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 08:03:22 -0800 Received: from caribmedia.com (199-0-81-103.setardsl.aw [199.0.81.103]) (authenticated bits=0) by arubaclick.com (8.12.11/8.12.11) with ESMTP id jA1G33od075140 for ; Tue, 1 Nov 2005 12:03:04 -0400 (AST) Received: {(helo=instagate) }}by caribmedia.com with esmtp (Exim 3.36 #1) id 1EWyfA-0007Ht-00 for user@struts.apache.org; Tue, 01 Nov 2005 12:07:04 -0400 Received: from localhost ([127.0.0.1]) by instagate (MailMonitor for SMTP v1.2.2 ) ; Tue, 1 Nov 2005 12:07:04 -0400 (AST) Received: from [10.0.0.14] (helo=[10.0.0.14]) by caribmedia.com with esmtp (Exim 3.36 #1) id 1EWyfA-0007Hq-00 for user@struts.apache.org; Tue, 01 Nov 2005 12:07:04 -0400 Message-ID: <436791A8.5030004@caribmedia.com> Date: Tue, 01 Nov 2005 12:02:48 -0400 From: Otmar Manuela Organization: Caribmedia User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Expression in an expression? References: <43668F12.6080407@caribmedia.com> <1d0ae860510311346y448321f5m21a251d840dc86ee@mail.gmail.com> In-Reply-To: <1d0ae860510311346y448321f5m21a251d840dc86ee@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the responses. I will go with Michael's suggestion. In the future, the number of collections may not stay constant, but if it comes to that, I will have to look for an alternative solution. Otmar Manuela Michael Rasmussen wrote: >You could try putting all of your collections into a collection and >accessing them by the index that way, or you could use a: > > style approach combined with your current tag and use index >in a series of > > > > >Unfortunately expressions within expressions will not work and >wouldn't be really clean if you actually did find a way to do it. > >On 10/31/05, Otmar Manuela wrote: > > >>Hi, >> >>Can someone help me with the following? I have the following code in my >>jsp file: >> >> >> >>The problem is that I have a number of collections and I want to be able >>to dynamically tell the bean which collection to use. The code below >>does not work, but it will give you an idea of what I'm trying to >>accomplish: >> >> >> >>Is there a way to accomplish this? >> >>Thanks, >> >>Otmar Manuela >> >> >>--------------------------------------------------------------------- >>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