icefaces


Data pager in icefaces not paging


I have been trying to populate data from a csv file in ice:datatable. I am trying to bind the datatable to a data paginator to display 10 rows on each page.But when I click on other page numbers of paginator,it encounters the following exception
java.lang.IllegalArgumentException: -10
at javax.faces.component.UIData.setFirst(UIData.java:275)
at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:160)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Adding the that I am using.
<ice:dataTable id="csvDataTable"
value="#{fileControllerBean.rowModel}"
rows="10">
<ice:columns value="#{fileControllerBean.columnModel}"
var="headings">
<f:facet name="header">
<h:outputText value="#{headings}"></h:outputText>
</f:facet>
<ice:outputText value="#{fileControllerBean.cellValue}"> </ice:outputText>
</ice:columns>
/ice:dataTable>
<ice-cc:dataPager forTable="csvDataTable"></ice-cc:dataPager>
Very old question, but this error usually happens when in any of the setters called when the page is changed, the dataTable model changes, for example if a clear() is called.

Related Links

icefaces outputConnectionStatus in javascript
How can I add a title to a disabled icefaces commandbutton?
Hide menuBar on click icefaces
ice:paneConfirmation - is it really so bad?
SessionRenderer not rendering throws ViewExpiredException
icefaces 1.8.2 Datapaginator unexpected PaneltabSet content swap
How can i download ICEfaces-1.7.0 Netbeans plugin?
Icefaces ace:autoCompleteEntry not working
ICEFaces: values for the “icon” attribute
EffectQueue and chaining effects in IceFaces 1.8
Ace Datatable row selector with paginator
How to customize internal server error popup?
How to use more than one ace:fileEntry tag in the same page?
Enabling ICEfaces compat leads to not recognizing h:head and h:body
Passing parameter to <ice:rowSelector>'s clickListener attribute
ICEfaces configured for view, but h:head and h:body components are required

Categories

HOME
semantic-ui
erlang
filterrific
angular-cli
amazon-swf
sed
webrtc
firebase-app-indexing
otrs
qpython3
wms
docker-swarm
rocketmq
defragmentation
click
cockroachdb
game-physics
dlib
typeahead
scaling
off-canvas-menu
derived
google-api-java-client
novnc
opencart2.3
kong
version-numbering
spring-data-neo4j
bxslider
read-write
m2e
receipt
precedence
autocompletetextview
xamarin.uitest
fax
cgo
ical-dotnet
distributed-transactions
tango
taglib
automator
rapidweaver
taskmanager
ticker
redux-router
project-template
sql-server-administration
iostat
push-diffusion
debugdiag
tuxedo
zurb-foundation-apps
windows-nt
multilingual-app-toolkit
squirrel
java.util.calendar
application-loader
subresource-integrity
ipojo
twython
ubercart
criteria-api
coypu
guzzle6
virus
adcolony
firebug-lite
sthttprequest
aquafold
mfmailcomposeviewcontroll
dbsetup
cdata
google-closure-library
qss
zend-framework-modules
die
nssavepanel
posting
paintcomponent
testunit
chdatastructures
linfu

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App