Brummeline Braaten <brummeline <at> gmail.com> writes:
>
> I use a t:datascroller to scroll between pages in a t:datatable.
> The problem is that the buttons for fast forward, next, back etc
> isn't rendered in my page. I have the pictures for the buttons in my
> project and the path is correct. I do not get any error messages.
> The datascroller work because I get the pagenumbers and I can change page by
> clicking on them. How can I get the buttons to show on my page?
>
>
My code is like this:
<h:form>
<h:panelGroup id="panel">
<t:dataTable var="notices" id="adminliste"
binding="#{notice.noticeTable}" rows="#{notice.numNoticePage}"
styleClass="metodevarselliste">
<h:column id="idkolonne">
<f:facet name="header">
<h:outputText id="idheader"
value="#{msg.varsel_id}"></h:outputText>
</f:facet>
<h:commandLink id="noteclink" binding="#{notice.noticeLink}"
action="#{notice.getNoticeDetail}" >
<h:outputText id="adminident"
value="#{notices.noticeId}"></h:outputText>
</h:commandLink>
</h:column>
<h:column id="tittelkolonne" >
<f:facet name="header">
<h:outputText id="tittelheader"
value="#{msg.varsel_tittel}"></h:outputText>
</f:facet>
<h:outputText id="tittel"
value="#{notices.title}"></h:outputText>
</h:column>
</t:dataTable>
<h:panelGrid id="panel2" columns="1" styleClass="scrollerTable2"
columnClasses="standardTable_ColumnCentered" >
<t:dataScroller id="varselscroller"
for="adminliste"
fastStep="3"
pageCountVar="pageCount"
pageIndexVar="pageIndex"
styleClass="scroller"
paginator="true"
paginatorMaxPages="20"
paginatorTableClass="paginator"
paginatorActiveColumnStyle="font-weight:bold;"
>
<f:facet name="firstfacet">
<t:graphicImage url="../images/arrow-first.gif" border="1" id="first"/>
</f:facet>
<f:facet name="lastfacet">
<t:graphicImage url="../images/arrow-last.gif" border="1" id="last"/>
</f:facet>
<f:facet name="previousfacet">
<t:graphicImage url="../images/arrow-previous.gif" border="1"
id="previous"/>
</f:facet>
<f:facet name="nextfacet">
<t:graphicImage url="../images/arrow-next.gif" border="1" id="next"/>
</f:facet>
<f:facet name="fastforwardfacet">
<t:graphicImage url="../images/arrow-ff.gif" border="1" id="fastf"/>
</f:facet>
<f:facet name="fastrewindfacet">
<t:graphicImage url="../images/arrow-fr.gif" border="1" id="fastr"/>
</f:facet>
</t:dataScroller>
</h:panelGrid>
</h:panelGroup>
</div>
</div>
</h:form>