You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Marcus Beyer <mb...@thomas-daily.de> on 2006/04/13 16:04:29 UTC

dataScroller with newspaperTable?

hello all,

Is it possible to apply a dataScroller on a newspaperTable?

I tried this with newspaperColumns="2" but got only one column.

I asked the people from the user mailing list with no result :(

Please help.

thanx!
Marcus



<t:newspaperTable id="at" newspaperColumns="2"
rows="#{articleHandler.numberRowsPerPage}"
value="#{articleHandler.currentRowSet.wrappedData}" var="article">
     <f:facet name="spacer"><f:verbatim>&#160;</f:verbatim></f:facet>
     <h:column id="col">
         <h:outputText value="#{article.title}" id="title" />
     </h:column>
</t:newspaperTable>

<t:dataScroller for="at"
                 style="margin-top: 1em"
                 fastStep="20"
                 pageCountVar="pageCount"
                 pageIndexVar="pageIndex"
                 paginator="true"
                 paginatorMaxPages="20"
                 paginatorTableClass="paginator"
                 paginatorActiveColumnClass="paginatorActiveColumn"
                 renderFacetsIfSinglePage="false"
                 >
</t:dataScroller>


Re: dataScroller with newspaperTable?

Posted by Marcus Beyer <mb...@thomas-daily.de>.
Marcus Beyer wrote:
> hello all,
> 
> Is it possible to apply a dataScroller on a newspaperTable?
> 
> I tried this with newspaperColumns="2" but got only one column.
> 
> I asked the people from the user mailing list with no result :(
> 
> Please help.

OK, maybe I should try a question:

Is it possible to combine a dataScroller with newspaperTable?

cheers
Marcus