This content has been marked as final.
Show 7 replies
-
1. Re: actionListener not fired on datascroller
supernovasoftware.com Apr 11, 2007 4:05 PM (in response to supernovasoftware.com)Here is my action listener code if that helps.
package pipetracker.dao.message; import javax.faces.event.AbortProcessingException; import javax.faces.event.ActionEvent; import javax.faces.event.ActionListener; import org.jboss.seam.annotations.Name; @Name("topicListScrollerActionListener") public class TopicListScrollerActionListener implements ActionListener { public void processAction(ActionEvent event) throws AbortProcessingException { System.out.println("wtf"); } }
-
2. Re: actionListener not fired on datascroller
sergeysmirnov Apr 11, 2007 6:08 PM (in response to supernovasoftware.com)It should work. http://jira.jboss.com/jira/browse/RF-91 has been created.
-
3. Re: actionListener not fired on datascroller
supernovasoftware.com Apr 11, 2007 8:10 PM (in response to supernovasoftware.com)Thank you very much. Is there and approximate date for 3.0.1?
-
4. Re: actionListener not fired on datascroller
sergeysmirnov Apr 11, 2007 8:15 PM (in response to supernovasoftware.com)next week, most likely.
-
5. Re: actionListener not fired on datascroller
mbrunnert Apr 19, 2007 3:22 AM (in response to supernovasoftware.com)Hi! I'm suffering from this issue as well. I tried the snapshot some days ago but i got even more problems with the datascroller not reacting to actions at all.
Is there a date when 3.0.1 will be released?
BR
Mattias -
6. Re: actionListener not fired on datascroller
sergeysmirnov Apr 19, 2007 6:29 PM (in response to supernovasoftware.com)Mattias, we need to see your page code snippet
-
7. Re: actionListener not fired on datascroller
mbrunnert Apr 25, 2007 1:17 PM (in response to supernovasoftware.com)Here is my facelets code:
<rich:datascroller id="tableScroller" for="table" actionListener="#{mainBean.scrollerListener}"/> <t:dataTable value="#{mainListItems}" var="listItem" style="border: solid 1px black" rowIndexVar="rowIndex" rowId="#{listItem.id}" id="table" rows="10">
Here is my bean action method:public void scrollerListener(ActionEvent sae) { log.debug("Event: #0", sae.getClass().toString()); log.debug("Pageindex: #0", pageIndex); }
As you see i only do some logging to try to see if i the method is called when navigate the datascroller, but nothing comes up in my allthough the navigation is working as expected
BR Mattias