Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE45111E3F for ; Thu, 20 Feb 2014 17:41:25 +0000 (UTC) Received: (qmail 75033 invoked by uid 500); 20 Feb 2014 17:41:25 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 74945 invoked by uid 500); 20 Feb 2014 17:41:25 -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 74933 invoked by uid 99); 20 Feb 2014 17:41:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 17:41:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mkienenb@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qc0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 17:41:19 +0000 Received: by mail-qc0-f180.google.com with SMTP id i17so3754762qcy.11 for ; Thu, 20 Feb 2014 09:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=NXqOYQ5EGf9mebT5qB6sv1bjTxzqPdaQU8rwcVsYkyE=; b=C4fSnU5GkrnsI4656jB4bcL/F/YlQD4GBGBkAOBGZtDm7RdGVFhWNGL+3HmtNwP1j1 E5+ycYPiyXqO0YgbYzYmG9ZSD7KARU2wtJNXxUdcSrOHy/88qNtjJDDwCgfaN/Y091eI IqQ/gb/s4S7J5MvGggwMQnNHJIQBJuxbJMlUs9xQ9XoRlFwUHXsrxnD6IhtnOgIRiDPn m2TGSZgTsDz7LmwOtEjuq+NLPErDWWqtWbApKH39pA7E/D1l2mEy94aOvqDiWyLhsxQt W2f0uPuIBj8R07uKlTZRBO5CTPR1LC8HRKGFv3wGKlgOyAxOm2/xD4djoxiXMDi4m3zf M2tQ== X-Received: by 10.229.66.202 with SMTP id o10mr3421468qci.7.1392918058699; Thu, 20 Feb 2014 09:40:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.181.9 with HTTP; Thu, 20 Feb 2014 09:40:37 -0800 (PST) In-Reply-To: <1392913280056-117242.post@n7.nabble.com> References: <1392913280056-117242.post@n7.nabble.com> From: Mike Kienenberger Date: Thu, 20 Feb 2014 12:40:37 -0500 Message-ID: Subject: Re: problem wit hvisualize a size of colletion into a datatable To: MyFaces Discussion Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Calling arbitrary methods like size() isn't supported in EL 2.1, although I think it might be in EL 2.2. Here's the way to do it that will work in any version of JSF. xmlns:jstl="http://java.sun.com/jsp/jstl/functions" [...] On Thu, Feb 20, 2014 at 11:21 AM, maurojava wrote: > From the projectController , i have a method: getCollectionProject that > return a List . > Each project contains a list of Professor . > SO into the last line i would show the amount of professors for the project > . > > The var item rappresent a project. > project contains a List > i write "#{item.professors.size()}" for get the amount of professors for > the project valutated form each iteration . > > > Whi into the last outputText : > > > it shows only the words tot projects and not show the value of listSize? > > > -------------------------------- > > > > > var="item"> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > View this message in context: http://myfaces.10567.n7.nabble.com/problem-wit-hvisualize-a-size-of-colletion-into-a-datatable-tp117242.html > Sent from the MyFaces - Users mailing list archive at Nabble.com.