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

u j (JIRA) jira-events at lists.jboss.org
Wed Aug 10 04:28:24 EDT 2011


     [ https://issues.jboss.org/browse/RF-11254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

u j updated RF-11254:
---------------------

    Forum Reference: http://community.jboss.org/message/606594


> 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
>
> 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