Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 1383 invoked from network); 20 Oct 2009 15:43:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 15:43:33 -0000 Received: (qmail 56426 invoked by uid 500); 20 Oct 2009 15:43:32 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 56336 invoked by uid 500); 20 Oct 2009 15:43:31 -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 56328 invoked by uid 99); 20 Oct 2009 15:43:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 15:43:31 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.82.254.243] (HELO mail203.messagelabs.com) (216.82.254.243) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 15:43:28 +0000 X-VirusChecked: Checked X-Env-Sender: IKiris@pershing.com X-Msg-Ref: server-15.tower-203.messagelabs.com!1256053109!48649857!239 X-StarScan-Version: 6.1.3; banners=pershing.com,-,- X-Originating-IP: [160.254.180.12] Received: (qmail 30107 invoked from network); 20 Oct 2009 15:43:04 -0000 Received: from unknown (HELO wtpcpapgtw13.bnymellon.com) (160.254.180.12) by server-15.tower-203.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 20 Oct 2009 15:43:04 -0000 X-AuditID: a0fe0378-b7b07ae000006edb-27-4addda880308 Received: from lgstpc01.bankofny.com (wtpcplgcor01.bankofny.com [160.254.8.41]) by wtpcpapgtw13.bnymellon.com (Symantec Mail Security) with SMTP id 6F.1F.28379.88ADDDA4; Tue, 20 Oct 2009 11:43:04 -0400 (EDT) To: users@myfaces.apache.org MIME-Version: 1.0 Subject: trinidad's treeTable paginating next/previous causes whole page to reload/refresh Message-ID: From: IKiris@pershing.com Date: Tue, 20 Oct 2009 11:42:59 -0400 Content-Type: multipart/alternative; boundary="=_alternative 0056543E85257655_=" X-Brightmail-Tracker: AAAAAA== This is a multipart message in MIME format. --=_alternative 0056543E85257655_= Content-Type: text/plain; charset="US-ASCII" Hello , I have a tr:treeTable in which pagination is enabled via setting 'rowsByDepth' attribute. The pagination (next/previous) is working, but it causes whole to page to be reloaded (page refresh). Is is a bug in tr:treeTable or am I missing something in below UI code? Is this a known thing ? BTW, I experimented with tr:table, and its pagination with basically same code is OK, does not refresh the whole page. I'm guessing something wrong with tr:treeTable. I was hoping wrapping the tr:treeTable in a subform and putting 'autoSubmit="true"' would solve it. But does not. Here is the relevant UI code segment; ............................ ............................ // The BfeSummary.java ManagedBean method that above 'rowsByDepth' attribute's EL is calling is; public final int[] rowsByDepth = {2, 2}; Regards, -- ilker Information Classification: Internal Use Only ****************************************************** IMPORTANT: Any information contained in this communication is intended for the use of the named individual or entity. All information contained in this communication is not intended or construed as an offer, solicitation, or a recommendation to purchase any security. Advice, suggestions or views presented in this communication are not necessarily those of Pershing LLC nor do they warrant a complete or accurate statement. If you are not an intended party to this communication, please notify the sender and delete/destroy any and all copies of this communication. Unintended recipients shall not review, reproduce, disseminate nor disclose any information contained in this communication. Pershing LLC reserves the right to monitor and retain all incoming and outgoing communications as permitted by applicable law. Email communications may contain viruses or other defects. Pershing LLC does not accept liability nor does it warrant that email communications are virus or defect free. ****************************************************** --=_alternative 0056543E85257655_= Content-Type: text/html; charset="US-ASCII"
Hello ,

I have a tr:treeTable in which pagination is enabled via setting 'rowsByDepth' attribute.

The pagination (next/previous) is working, but it causes whole to page to be reloaded (page refresh).

Is is a bug in tr:treeTable or am I missing something in below UI code?

Is this a known thing ?  

BTW, I experimented with tr:table, and its pagination with basically same code is OK, does not refresh the whole page. I'm guessing something wrong with tr:treeTable.


I was hoping wrapping the tr:treeTable in a subform and putting 'autoSubmit="true"' would solve it. But does not.


Here is the relevant UI code segment;

<tr:subform>
   <tr:treeTable         var="bfeVar"
                        value="#{bfeSummary.bfeTreeModelAdapter.model}"
                        binding="#{editor.component}"
                        partialTriggers="displayButtonSubformId:displayButtonId"
                        autoSubmit="true"
                  rendered="true"
                  width="100%"
                  rowBandingInterval="1"
                  rowsByDepth="#{bfeSummary.rowsByDepth}"
                  summary="BFEs matching the Search Criteria"
                      emptyText="bla bla">

            ............................
            ............................
   </tr:treeTable>
</tr:subform>


// The BfeSummary.java ManagedBean method that above 'rowsByDepth' attribute's EL is calling is;
public final int[] rowsByDepth = {2, 2};

Regards,
-- ilker


Information Classification: Internal Use Only

******************************************************
IMPORTANT: Any information contained in this communication is intended for the use of the named individual or entity. All information contained in this communication is not intended or construed as an offer, solicitation, or a recommendation to purchase any security. Advice, suggestions or views presented in this communication are not necessarily those of Pershing LLC nor do they warrant a complete or accurate statement.

If you are not an intended party to this communication, please notify the sender and delete/destroy any and all copies of this communication. Unintended recipients shall not review, reproduce, disseminate nor disclose any information contained in this communication. Pershing LLC reserves the right to monitor and retain all incoming and outgoing communications as permitted by applicable law.

Email communications may contain viruses or other defects. Pershing LLC does not accept liability nor does it warrant that email communications are virus or defect free.
******************************************************
--=_alternative 0056543E85257655_=--