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 94D8C6241 for ; Fri, 8 Jul 2011 07:36:50 +0000 (UTC) Received: (qmail 33596 invoked by uid 500); 8 Jul 2011 07:36:48 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 33562 invoked by uid 500); 8 Jul 2011 07:36:39 -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 33550 invoked by uid 99); 8 Jul 2011 07:36:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 07:36:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wmsopou@gmail.com designates 209.85.210.53 as permitted sender) Received: from [209.85.210.53] (HELO mail-pz0-f53.google.com) (209.85.210.53) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 07:36:31 +0000 Received: by pzk6 with SMTP id 6so1712365pzk.12 for ; Fri, 08 Jul 2011 00:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=+FUh4xr7QXIQZvFD1s1PEhpHbgWZkkRBTDQ0yuTeprA=; b=dKany+kAsUSh4LqkNdRYRkypFCF+g009Y5sdhuq+ShT4aGsr58n2urrAArJyZkWl7Y ECGh5A4/Uh8QQ8l6AhIet9TybwVAbkU21AwIke3Io51WeQm7Tb9JSfaZxMC79fJZlcX2 yOLsd6Pb+HUS5Cgy2Ef74bkk7XuiyMyW87fU4= MIME-Version: 1.0 Received: by 10.142.241.1 with SMTP id o1mr140118wfh.211.1310110569130; Fri, 08 Jul 2011 00:36:09 -0700 (PDT) Received: by 10.142.153.3 with HTTP; Fri, 8 Jul 2011 00:36:09 -0700 (PDT) Date: Fri, 8 Jul 2011 09:36:09 +0200 Message-ID: Subject: [trinidad 1.2] docs, rowselection, sorting, pagenation, filtering? From: Me Self To: users@myfaces.apache.org Content-Type: text/plain; charset=ISO-8859-1 I have a few questions about the trinidad table component. Hope someone can answer at least some of them.. 1) I havent found much documentation other than http://myfaces.apache.org/trinidad/devguide/table.html. Is there any ADF documentation that would be usefull or is the trinidad version too different from the ADF one? In particular Im interested in documentation on how to use/subclass CollectionModel. 2) Sorting: The MyFaces 1.2 book from packt mentions that sorting is supported simply by using a List with beans with fields that implement Comparable and setting . This dosent work for me. Is direct use of CollectionModel required to enable sorting? 3) Im using rowSelection="multiple". This adds a column with the header title "Select". All other text values in the table are backed by i18n bundle files. How do I override the default title of the row selection column with text from a bundle file? 4) Nobody I have talked to get the meaning of the "select all" "select none" icons above the row selection column. Is there any way to override the default icons with text links/buttons or other icons? 5) The table seems to operate with two control bars. In the top control bar I get the pagenation buttons (prev, next, dropdown with pagenumbers) and in the sub control bar I get the "select all"/"select none" icons. Is there any way to put them on the same line because it looks wierd that pagenations buttons are dangling far to the right with lots of space between them and the table? 6) Im planning to add my own filter buttons to the action facet and implement a CollectionModel where I can return rows based on the selected filters. When the user presses a filter button im going to update the model using ajax. Does that sound like standard way of doing or are there better options?