[richfaces-issues] [JBoss JIRA] Commented: (RF-11254) datascroller page not reset if datascroller not rendered, so data grid is empty

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Sep 12 08:54:26 EDT 2011


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

Lukáš Fryč commented on RF-11254:
---------------------------------

Hi, this issue states Git pull has been sent but I can't see any URL attached. Could you please update issue with proper state?

> datascroller page not reset if datascroller not rendered, so data grid is empty 
> --------------------------------------------------------------------------------
>
>                 Key: RF-11254
>                 URL: https://issues.jboss.org/browse/RF-11254
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.0.0.Final
>            Reporter: u j
>             Fix For: 4.1.0.Tracking
>
>
> RichFaces 4 resets correctly the current page to 1, if the model of the associated datagrid is reassigned,
> but this happens only if the rendered attribute of the datascroller is true.
> That is:
> - grid with > 1 page
> - set page 2 with datascroller
> - do some action which produces a new model with only 1 page
> - rendered attribute of datascroller is dynamic so it yields false if only one page (workaround because renderIfSinglePage does not work :-)
> -> data grid is empty instead of showing the content, because page is not reset to 1
> Binding the page attribute to a bean property and setting it to 1 doesn't help either.
> Code:
> <rich:dataScroller rendered="#{fn:length(bean.result) > 6}" />

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list