[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185173#comment-17185173
 ] 

Thomas Andraschko commented on TOMAHAWK-1687:
---------------------------------------------

JFYI: we dont have any active tomahawk commiters anymore
so its unlikely that someone helps you
if you check the homagepage, you will see the active/inactive projects

> javax.servlet.ServletException: Cannot add the same component twice
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1687
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1687
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.14
>         Environment: JBoss EAP 7.2
>            Reporter: Filipe
>            Priority: Major
>
> I'm having the error "javax.servlet.ServletException: Cannot add the same 
> component twice" on XHTMLs where I have one or more 't:dataScroller's. 
> Example:
> <t:dataList id="resultItems" var="item" rowIndexVar="rowIndex" 
> value="#\{bean.items}" rows="10">
> (...)
> </t:dataList>
> <t:dataScroller id="resultItemsScroller" 
> binding="#\{bean.resultItemsScroller}" for="resultItems" layout="list" 
> pageCountVar="pageCount" pageIndexVar="pageIndex" rowsCountVar="rowsCount" 
> firstRowIndexVar="firstRowIndex" lastRowIndexVar="lastRowIndex" 
> displayedRowsCountVar="displayedRowsCount" fastStep="10" paginator="true" 
> paginatorMaxPages="10" paginatorActiveColumnClass="active">
>  <p class="text-center">
>  <h:outputText value="Showing page #\{pageIndex} of #\{pageCount} (lines 
> #\{firstRowIndex} to #\{lastRowIndex} of #\{rowsCount} lines)" escape="false" 
> rendered="#\{pageCount > 1}" />
>  <h:outputText value="#\{rowsCount} line(s)" escape="false" 
> rendered="#\{pageCount == 1}" />
>  </p>
>  </t:dataScroller>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to