[
https://issues.jboss.org/browse/RF-11254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Leathem updated RF-11254:
-------------------------------
Fix Version/s: 4.2.0.Tracking
(was: 4.1.0.Tracking)
Forum Reference: http://community.jboss.org/message/606594 (was:
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
> Fix For: 4.2.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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.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