From adffaces-user-return-537-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Jul 25 20:39:48 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 62826 invoked from network); 25 Jul 2006 20:39:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2006 20:39:48 -0000 Received: (qmail 39403 invoked by uid 500); 25 Jul 2006 20:39:47 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 39390 invoked by uid 500); 25 Jul 2006 20:39:47 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 39381 invoked by uid 99); 25 Jul 2006 20:39:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 13:39:47 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of awiner@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 13:39:46 -0700 Received: by ug-out-1314.google.com with SMTP id u40so2917392ugc for ; Tue, 25 Jul 2006 13:39:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uSgx5F4H9/9D/yOWDBJNNWvmp5AuCXfrggt65+/X/9t0mhdBba0WcPHswGhNG6W2Dq/d6ZqliEhbXaw2OX2Q7+lrLSyIE0iHl8PlYh4eMaEUonZwQpStQe9LVg0DHjUyKLAuZtJjenxv7LjBVqrJXqVv44+WqJA3v/Mu0PcPie8= Received: by 10.67.101.8 with SMTP id d8mr5134804ugm; Tue, 25 Jul 2006 13:39:25 -0700 (PDT) Received: by 10.67.99.17 with HTTP; Tue, 25 Jul 2006 13:39:25 -0700 (PDT) Message-ID: <6dac79b90607251339k6c81e18g3ee71cdc16b01426@mail.gmail.com> Date: Tue, 25 Jul 2006 13:39:25 -0700 From: "Adam Winer" To: adffaces-user@incubator.apache.org Subject: Re: af:table - redirect and selection problems In-Reply-To: <3F93771BED0831428D89F95B15C76A3B01BE6124@MAIL-L-Q.baylor.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3F93771BED0831428D89F95B15C76A3B01BE6124@MAIL-L-Q.baylor.edu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Could you provide the whole stack trace? BTW, a tiny tip: instead of: just use: -- Adam On 7/25/06, Sloan, Noah M wrote: > Using Facelets (1.0.10) and MyFaces + Tomahawk 1.1.2. > I have an af:table like the following: > > > > > > > > > > > > ... > > The table is paginated. Whenever the username link is clicked, I get: > java.lang.IllegalStateException > org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432) > javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:125) > javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:125) > ... > > So, I removed the redirect for that action ti see what would happen. I no longer get an exception but instead, no matter which username is clicked, the last row of the currently displayed page is selected. e.g. if a page displayed the following: > foo > bar > john > No matter which one is clicked, john will be the one that is put into #{result}. > > I switched to an h:dataTable and both problems went away, but we need the pagination af:table offers. > > So, what is it that I need to do differentely to use an af:table? > > Cheers, > ns > > P.S. I would use a t:dataTable, but AFAIK the dataScoller still wont function while using ADF. > > >