If I change the scope to SessionScoped then the exception does not occur and the datatable behaves as expected.java.lang.ClassCastException: javax.faces.model.ListDataModel cannot be cast to org.primefaces.model.LazyDataModel
LazyDataModel does not work with request scope
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
It appears that the LazyDataModel will not work with request scope. Has anyone else run into this issue. I get the following exception when I use request scope:
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
Ok, looks like I'm not the only one: http://primefaces.prime.com.tr/forum/vi ... =10#p30744
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
Created an issue ticket: http://code.google.com/p/primefaces/iss ... il?id=2170
-
- Information
-
Who is online
Users browsing this forum: No registered users and 31 guests