[richfaces-issues] [JBoss JIRA] Commented: (RF-1644) <rich:datascroller scrollerlistener="" event is not fired when clicked on the scroller

Alan Stewart (JIRA) jira-events at lists.jboss.org
Sun Feb 3 21:21:04 EST 2008


    [ http://jira.jboss.com/jira/browse/RF-1644?page=comments#action_12397992 ] 
            
Alan Stewart commented on RF-1644:
----------------------------------

Attached is rich-sandbox-1.0.war which illustrates the problem. Deply to Tomcat, use http://localhost:8080/rich-sandbox/userSearch.jsf.  Click on the Search button then one of the dataScroller links. Theere are 1000 records but the dataScroller does not display them as the code necessary is not being called as the method specified in the scrollerListemer is not being called.

You can then replace the richfaces-xxx-3.2.0-SNAPHOT jars with the 3.1.3.GA jars and all works
Alan

> <rich:datascroller scrollerlistener="" event is not fired when clicked on the scroller  
> ----------------------------------------------------------------------------------------
>
>                 Key: RF-1644
>                 URL: http://jira.jboss.com/jira/browse/RF-1644
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: Software
>            Reporter: Arul Kumaran
>         Assigned To: Viktor Volkov
>             Fix For: 3.2.0
>
>
> <rich:datascroller .... > used to be working in version 3.1.0 and is broken when I moved to 3.2.0-SNAPSHOT version. I moved to this version to incorporate fix on rich:suggestionbox not passing the value of the "var" attribute. After I moved to 3.2.0-SNAPSHOT version the suggestion box issue is fixed but the datascroller stopped working since the scrollerlistener attribute method is not invoked. 
> e.g.
> <rich:datascroller align="center" for="#{for}" maxPages="#{maxPages}" fastStep="#{fastStep}" scrollerListener="#{backingBean.scrollEvent}" pageIndexVar="#{backingBean.pageIndex}" renderIfSinglePage="#{renderIfSinglePage}" oncomplete="handleResize()" />
> Issue is : scrollerListener="#{backingBean.scrollEvent}"  is not invoked
> public void scrollEvent(DataScrollerEvent event) {
>      ....
>      pageIndex = (Integer.valueOf(newValue) - 1);
> }

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