[ 
https://jira.jboss.org/jira/browse/RF-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439071#action_12439071
 ] 

Christian Küppers commented on RF-1246:
---------------------------------------

This issue is present in Version 3.2.2 too.

> rich:datascroller - looks different before and after rich:dataTable
> -------------------------------------------------------------------
>
>                 Key: RF-1246
>                 URL: https://jira.jboss.org/jira/browse/RF-1246
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.2
>         Environment: Eclipse, Tomcat 6, Java 1.6, richfaces-ui-3.1.2.GA, jsf 
> 1.2_04-b16-p02
>            Reporter: Krashan Brahmanjara
>            Assignee: Viktor Volkov
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> Simple action - commandLink run table filtering so table content sometimes 
> are changed
> 1. For this sequence of code dataScroller is not displayed correctly. After 
> filtering Rowcount in scroller keeps old count of rows and count of buttons 
> pages is incorrect
> <a4j:commandLink actionListener="#{table.filter}"reRender="table,">
> <rich:datascroller align="left"  for="table" binding="#{table.dataScroller}" 
> />
> <rich:dataTabl id="table" rows="10" value="#{parSlowList.parElSloTable}" 
> ></rich:dataTable>
> 2. For this sequence everything is good. Scroller see correct table and row 
> count
> <a4j:commandLink actionListener="#{table.filter}"reRender="table,">
> <rich:dataTabl id="table" rows="10" value="#{parSlowList.parElSloTable}" 
> ></rich:dataTable>
> <rich:datascroller align="left"  for="table" binding="#{table.dataScroller}" 
> />
> -----------------------------------
> My filter looks like :
> public void table.filter(ActionEvent event) {
>   loadTable(filterValue);
>   getDataScroller().setPage("first");
> //  getDataScroller().getDataTabe().getRowCount() <-- in first scenario this 
> gave bad row count
>  }
> I think that UIDatascroller should contain resetDataTable method like 
> UIDataFltrSlider or something is wrong in getDataTable - 
> UIDataFltrSlider.getDataTable looks different than the same mathod in 
> scroller.
> public void resetDataTable() {
>         getSession().remove("...");
>         getDataTable().setValue(getDataTable().getValueBinding("#{" + 
> getForValRef() + "}"));
>     }
> ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to