Hi Mathias,


            I am facing the problem:



This is a part of my JSP  please help me for the same with your valuable
suggestion:



<x:dataTable id="myTable"

value="#{myBean.myList}" var="element"

preserveDataModel="false" rows="10" renderedIfEmpty="false">

<h:column>

<f:facet name="header">

<x:outputText value="Column 1" />

</f:facet>

<h:outputText value="#{element.label}" />

</h:column>

</x:dataTable>



<h:panelGrid columns="1">

<x:dataScroller id="myTable_scroller" for="myTable"

fastStep="5" pageCountVar="pageCount" pageIndexVar="pageIndex"

paginator="true" paginatorMaxPages="5"

paginatorActiveColumnStyle="font-weight:bold;">

<f:facet name="first">

<h:graphicImage url="images/navigate_first.png" border="0" />

</f:facet>

<f:facet name="last">

<h:graphicImage url="images/navigate_last.png" border="0" />

</f:facet>

<f:facet name="previous">

<h:graphicImage url="images/navigate_previous.png" border="0" />

</f:facet>

<f:facet name="next">

<h:graphicImage url="images/navigate_next.png" border="0" />

</f:facet>

<f:facet name="fastforward">

<h:graphicImage url="images/navigate_fastforward.png" border="0" />

</f:facet>

<f:facet name="fastrewind">

<h:graphicImage url="images/navigate_fastrewind.png" border="0" />

</f:facet>

</x:dataScroller>

<x:dataScroller id="myTable_counter" for="myTable"

pageCountVar="pageCount" pageIndexVar="pageIndex">

<h:outputFormat value="Page {0} / {1}">

<f:param value="#{pageIndex}" />

<f:param value="#{pageCount}" />

</h:outputFormat>

</x:dataScroller>

</h:panelGrid>



All works fine except in this case :

   - I have 10 pages of results and the fast-forward value is 5

   - The current page is the 6th,

   - When I click on the fast-forward button, the paginator try to show
the 11th page (so an empty page).



Regards.



Megha




Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

Reply via email to