[richfaces-issues] [JBoss JIRA] Created: (RF-3354) rich:datascroller doesn't change displayed data only page numbers are changed.

Andrey Chorniy (JIRA) jira-events at lists.jboss.org
Tue May 6 14:13:21 EDT 2008


rich:datascroller doesn't change displayed data only page numbers are changed.
------------------------------------------------------------------------------

                 Key: RF-3354
                 URL: http://jira.jboss.com/jira/browse/RF-3354
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
         Environment: JBoss 4.2.2 GA  (or Tomcat deployment)
Seam 2.0.1GA  or Seam 1.2.1GA
            Reporter: Andrey Chorniy


This issue is tied with special "pages.xml" configuration which is used to build RESTFul links. In that case request is executed for dummy-view (which has no rel xhtml file behind)
the action is executed at every request (usually parse link parameters, build required object model, etc.) as well if any ajax request executed for such page - it workd without invoking "handler-action"
and operates directly with Action-Bean.
This approach work's ok on richfaces 3.1.4 but now it doesn't work, since dataGrid data is not refreshed if use datascroller.


	<!-- This is dummy-view used to execute action at the time of URL opening (used to introduce RESTFul requests) -->
	<!-- If use real view instead, then at each ajax request the action method will be executed -->
	<!-- This approach work ok with RichFaces 3.1.4 and less, but stop working with RichFaces 3.2.0
	     rich:dataScroller doesn't change the data on pages (only page-numbers changed) -->
    <page view-id="/myHome.xhtml">
    	
    	<action execute="#{itemsDataProvider.show()}"/>
    	<navigation from-action="#{itemsDataProvider.show()}">
    		<!-- bind action with view -->
			<render view-id="/home.xhtml"/>    	
    	</navigation>
    </page>



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

        



More information about the richfaces-issues mailing list