Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 25739 invoked from network); 21 Feb 2006 11:49:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 11:49:40 -0000 Received: (qmail 36022 invoked by uid 500); 21 Feb 2006 11:49:38 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 35679 invoked by uid 500); 21 Feb 2006 11:49:37 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 35659 invoked by uid 99); 21 Feb 2006 11:49:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 03:49:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of martin.marinschek@gmail.com designates 64.233.184.192 as permitted sender) Received: from [64.233.184.192] (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 03:49:36 -0800 Received: by wproxy.gmail.com with SMTP id 68so816821wri for ; Tue, 21 Feb 2006 03:49:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sxOP+y/RkZjnWT+PP5s1FteeXJ3y/IDSGS13agAZZYYzRjBu6YWCdYQ9Jgf6IkWBOMITvZQef9hgWOa5K0XQEXLzeeykW9c2kCktyjh/DpBGvtZh6E91Cafj4RlSMpdSW6PK3lEFrel0Guq9bev6nk7puDmFntIz0eo/It0LUDk= Received: by 10.64.241.8 with SMTP id o8mr1345496qbh; Tue, 21 Feb 2006 03:49:15 -0800 (PST) Received: by 10.65.188.5 with HTTP; Tue, 21 Feb 2006 03:49:15 -0800 (PST) Message-ID: <5a99335f0602210349w53f46b4cs389681e734afb53@mail.gmail.com> Date: Tue, 21 Feb 2006 12:49:15 +0100 From: "Martin Marinschek" Reply-To: martin@marinschek.com To: "MyFaces Development" Subject: Re: [jira] Commented: (MYFACES-1146) Impossible to hide footer in dataTable In-Reply-To: <43FAEC26.5080507@ops.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1746510026.1140513686088.JavaMail.jira@ajax.apache.org> <43FAE33F.2040106@ops.co.at> <43FAE71E.2040608@weber-oldenburg.de> <43FAEC26.5080507@ops.co.at> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Of course, this leads to additional evaluations of the rendered attribute. Well, sounds good. regards, Martin On 2/21/06, Mario Ivankovits wrote: > Hi! > > why not render a empty panelGroup, if so declared in the jsf source? > > IMO it is intuitive that there *is* a empty panel rendered in your exam= ple. > > > So I'll check the rendered attribute of the facet child and if none of > the facets are going to be rendered I'll suppress the footer (header) at > all. > > --- > Mario > > >> This might be complicated, if not impossible to do. > >> I have to check all children of all footer facets to see if the row > >> should be renderer or not. > >> Think of the following (for sure untypical, just to get the point): > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> We can say we take the rendered state of the first/root child of the > >> facet tag, but this is not very intuitive, is it? > >> > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces