I can't get WorkingWithLargeTables" on MyFaces  working.
could anyone post the sample jsp and Managed Bean code please?
thanks
Fred


Artur Skorupa wrote:
> 
> Hi All,
> 
> I use data model  for <t:dataTable>  taken from page 
> "WorkingWithLargeTables" on MyFaces wiki (PagedListDataModel). It's 
> model that's support paging and works fine with scroller. Everything is 
> OK, but I need to change page size dynamically. I don't know, how to 
> force data table to show more records on page. It always have the number 
> set at first.
> 
> For example :
> 
> <t:dataTable value="model in backing bean"  rows="10" ...... >
> ......>
> Bean is session scope.
> 
> At first pageSize variable of PagedListDataModel is set to 10.
> Then, when some action occurs, I switch pageSize to f. ex. 50. and 
> change rows property of table to 50.
> So now, I suppose to have 50 rows shown in table. But no. Still 10.
> 
> To force refresh of data, I set dataModel = null. -> Table refreshes, 
> but table still have 10 rows!!
> 
> I don't know what property should I set to force table to show more rows 
> an it's page.
> 
> Could You help me please, how to make it works?
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DataTable---changing-dataModel.pageSize-tf1188646.html#a7950432
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to