Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 91516 invoked from network); 19 Aug 2005 03:40:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Aug 2005 03:40:59 -0000 Received: (qmail 16910 invoked by uid 500); 19 Aug 2005 03:40:58 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 16640 invoked by uid 500); 19 Aug 2005 03:40:57 -0000 Mailing-List: contact dev-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 dev@myfaces.apache.org Received: (qmail 16622 invoked by uid 99); 19 Aug 2005 03:40:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL 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; Thu, 18 Aug 2005 20:40:55 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BC0DFE4 for ; Fri, 19 Aug 2005 05:40:54 +0200 (CEST) Message-ID: <2144890951.1124422854768.JavaMail.jira@ajax.apache.org> Date: Fri, 19 Aug 2005 05:40:54 +0200 (CEST) From: "Martin Marinschek (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-200) x:dataScroller renders facets twice (sometimes) In-Reply-To: <1627317342.1113991524094.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/MYFACES-200?page=comments#action_12319305 ] Martin Marinschek commented on MYFACES-200: ------------------------------------------- Hi Waldek, I added you as a watcher to this bug. can you check out SVN head or try the nightly build if this is still a problem? regards, Martin > x:dataScroller renders facets twice (sometimes) > ----------------------------------------------- > > Key: MYFACES-200 > URL: http://issues.apache.org/jira/browse/MYFACES-200 > Project: MyFaces > Type: Bug > Versions: 1.0.9 beta > Environment: Windows XP, Tomcat 5/JBoss 3.2.5 (my environment), in general any environment > Reporter: Waldek Piszczewiat > Priority: Minor > > When I use dataScroller tag with facets, i.e like this: > for="dataAssignment" > fastStep="#{assignments.layout.list.paginatorFastStep}" > pageCountVar="pageCount" > pageIndexVar="pageIndex" > styleClass="paginatorScroller" > paginator="true" > paginatorMaxPages="#{assignments.layout.list.paginatorMaxPages}" > paginatorTableClass="paginator" > paginatorActiveColumnStyle="font-weight:bold;" > > > > > > > > > > > > > > > > > > > > > > sometimes dataScroller renders facets twice (but only links, not a table delimiters). > I trace code and I found a method in class HtmlDataScrollerRenderer method renderFacet. The problem is the first line: > UIComponent link = getLink(facesContext, scroller, facetComp, facetName); > because in method getLink created link with not null child (facetComp). > I replaced this line by: > // create empty link, without children > UIComponent link = getLink(facesContext, scroller, null, facetName); > and component works good. I don't know what is a detailed specification of this component (now only first element from facet is rendered), so I don't create diff file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira