Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 63944 invoked from network); 13 Jul 2009 13:02:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 13:02:52 -0000 Received: (qmail 53882 invoked by uid 500); 13 Jul 2009 13:03:00 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 53811 invoked by uid 500); 13 Jul 2009 13:03:00 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 53803 invoked by uid 99); 13 Jul 2009 13:03:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 13:03:00 +0000 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: domain of jacek.bilski@gmail.com designates 209.85.219.223 as permitted sender) Received: from [209.85.219.223] (HELO mail-ew0-f223.google.com) (209.85.219.223) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 13:02:51 +0000 Received: by ewy23 with SMTP id 23so2153234ewy.12 for ; Mon, 13 Jul 2009 06:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WEoG4ViyzQPh9nBqaWGkb3FbE+Tx1UqPspdyj8a4BbY=; b=Sn1at2O+1NNlqEYKTUELMWP6L6fS79wW4CmFFDxjpMMJ1whDZJ5h3DChfNqwhqiLVG tFPjqmK+3XcZtFCLhTWub0qFg6oHnvR863j6MkU9AqIU2MSvS0RCvRrEkTKLXjRGDCoD lgV9O0xbQxz20x5Uql9tQF32geMNvkBZVTZng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=NFyGSOlTRlyIo9xfWVULj31C5RQ91fhCZV1N7jhPqdOXNSKsSnNOA6+YYOpPBYzJIA LF3GWrroPRyOw+GC5sYv6Xwai+RbjAhcYCGRG9s2fbP2KN8CZQFTHAjNt9mLkkkLq9qG HY9JcE9vkMFm3IXORS13wuZhGH+WAw9vRDvZY= Received: by 10.210.42.13 with SMTP id p13mr5052600ebp.8.1247490150026; Mon, 13 Jul 2009 06:02:30 -0700 (PDT) Received: from ?192.168.0.105? (ardelia.static.korbank.pl [193.239.57.121]) by mx.google.com with ESMTPS id 10sm9939515eyz.11.2009.07.13.06.02.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Jul 2009 06:02:29 -0700 (PDT) Message-ID: <4A5B3063.3000608@gmail.com> Date: Mon, 13 Jul 2009 15:02:27 +0200 From: Jacek Bilski User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: Accessing multi level data from within my backing bean. References: <5fd4e90c0907130521o463fc2b5w87fc76bf1606895a@mail.gmail.com> In-Reply-To: <5fd4e90c0907130521o463fc2b5w87fc76bf1606895a@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Shaun, Shaun Campbell wrote: > I have a scenario which I would have thought would have been > straightforward. I have a backing bean which provides a list of data > which I am able to display to my web page using: > > styleClass="jobs" cellspacing="0" > cellpadding="0" border="0" > rowClasses="odd,even" > columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column"> > > > This all works fine but what I want to do now is do the same thing from > the job variable to print out a sub list for each job. My job class has > a getOps() method which returns another list which I want to display. > No matter what I try to do to access this list I get an error. Can you paste here this error of yours? In your case I would use Tomahawks dataList for #{jobsBean.jobs}, and for every job I would put dataTable with value=#{job.ops}. Regards Jacek Bilski