Return-Path: Delivered-To: apmail-myfaces-commits-archive@www.apache.org Received: (qmail 83664 invoked from network); 28 Oct 2006 12:11:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2006 12:11:32 -0000 Received: (qmail 81176 invoked by uid 500); 28 Oct 2006 12:11:43 -0000 Delivered-To: apmail-myfaces-commits-archive@myfaces.apache.org Received: (qmail 81070 invoked by uid 500); 28 Oct 2006 12:11:43 -0000 Mailing-List: contact commits-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 commits@myfaces.apache.org Received: (qmail 81059 invoked by uid 99); 28 Oct 2006 12:11:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 05:11:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 05:11:31 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B6A49D49BE for ; Sat, 28 Oct 2006 13:11:10 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@myfaces.apache.org Date: Sat, 28 Oct 2006 12:11:10 -0000 Message-ID: <20061028121110.21556.48192@ajax.apache.org> Subject: [Myfaces Wiki] Update of "Buffer" by ArashRajaeeyan X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification. The following page has been changed by ArashRajaeeyan: http://wiki.apache.org/myfaces/Buffer ------------------------------------------------------------------------------ || tag-class || org.apache.myfaces.custom.buffer.BufferTag || == Usage == + Obviously you can use buffer to reduce copy and paste reusability which is a very bad practice, but another scenario of buffer is handling some lifecycle problems, for example if you want to view a Data Scroller before your Data Table, You can't have dataScroller tag BEFORE the table tag in your JSP files, as it can't find the not yet rendered table. + So, the solution is that you first render the table to a buffer, then you render the dataScroller, and then you render the buffer's content. + That way, the dataScroller will appear before the table even though it was rendered after it. + == Syntax == @@ -24, +28 @@ == Notes == == Examples == - + === Simple Buffer === {{{ @@ -46, +50 @@ Buffer Two }}} + === Data Scroller === + == FAQ == == Known issues ==