Return-Path: Delivered-To: apmail-incubator-myfaces-user-archive@www.apache.org Received: (qmail 79712 invoked from network); 6 Apr 2005 13:37:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2005 13:37:47 -0000 Received: (qmail 60660 invoked by uid 500); 6 Apr 2005 13:37:45 -0000 Delivered-To: apmail-incubator-myfaces-user-archive@incubator.apache.org Received: (qmail 60605 invoked by uid 500); 6 Apr 2005 13:37:45 -0000 Mailing-List: contact myfaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list myfaces-user@incubator.apache.org Received: (qmail 60592 invoked by uid 99); 6 Apr 2005 13:37:45 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of aaronbartell@gmail.com designates 64.233.170.205 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.205) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Apr 2005 06:37:43 -0700 Received: by rproxy.gmail.com with SMTP id y7so163579rne for ; Wed, 06 Apr 2005 06:37:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=rA9QIlTjmpH/sshLzeBOedCQ/OqZZJtkaInkaXZMVkQFhjBP21CbG0QZIOjBI8E/Ys0mrBKrzDWaG3rr1EvWD7WPgLu5KXhd+yGEutZQi9nJFrar5/u9w9v6kKXBdIKD05GEqYONNwBFpHa0uNhA02xA4GsLt2iDsUcukMqDFAk= Received: by 10.38.126.34 with SMTP id y34mr751053rnc; Wed, 06 Apr 2005 06:37:41 -0700 (PDT) Received: from ?192.168.0.100? ([69.24.191.246]) by mx.gmail.com with ESMTP id 70sm98857rnc.2005.04.06.06.37.41; Wed, 06 Apr 2005 06:37:41 -0700 (PDT) Message-ID: <4253E622.1090609@gmail.com> Date: Wed, 06 Apr 2005 08:37:38 -0500 From: Aaron Bartell User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: extra row in a datatable References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If this record of a different type is always the last one then it doesn't necessarily need to be part of the Collection, but could instead be a non-Collection property of your backing bean and you could use the footer facet of the datatable to display it. HTH, Aaron Bartell Srikanth Madarapu wrote: >Hi > > I have a with a ListDataModel. The list data model has objects of type say "X". I would like to add an additional row to the table, at the end, after all the objects in the list are rendered. I cannot add that additional row to the list because the additional row comes from a different object type "Y". Sounds weird, but is that possible ? If yes how ? > >The datatable has two columns, first is a String and the second is a boolean (check box). In the last row I need to have String in the first column and a drop down list (SelectOneListBox) in the second column. > >Thanks in advance. > >-Srikanth Madarapu > > > >