[richfaces-issues] [JBoss JIRA] Commented: (RF-1644) <rich:datascroller scrollerlistener="" event is not fired when clicked on the scroller
Vanja Petreski (JIRA)
jira-events at lists.jboss.org
Thu Apr 3 06:40:30 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-1644?page=comments#action_12406824 ]
Vanja Petreski commented on RF-1644:
------------------------------------
Workaround:
<rich:datascroller scrollerListener="#{backingBean.notWorkingMethod}" actionListener="#{backingBean.workingMethod}" />
public void notWorkingMethod(DataScrollerEvent e) {
// Not fired
}
public void workingMethod(ActionEvent e) {
DataScrollerEvent dse = (DataScrollerEvent)e;
// Do the work
}
> <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: Nick Belaevski
> Fix For: 3.2.1
>
> Attachments: rich-sandbox-1.0.war, rich-sandbox.rar
>
>
> <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