[ http://issues.apache.org/jira/browse/MYFACES-47?page=comments#action_66977 ] Catalin Kormos commented on MYFACES-47: ---------------------------------------
I could make the HtmlDataScroller implement the EditableValueHolder interface, so value change listeners could be registered on it and be notifyied about page index selection changes, but i'm not very sure that this is ok. That interface implies more functionality that is needed. Would't be more appropiate to make the HtmlDataScroller component fire a custom ActionEvent instead? > pageSelectionListener tag for dataScroller tag > ---------------------------------------------- > > Key: MYFACES-47 > URL: http://issues.apache.org/jira/browse/MYFACES-47 > Project: MyFaces > Type: New Feature > Versions: 1.0.8 beta > Environment: All > Reporter: Catalin Kormos > Assignee: sean schofield > Attachments: pageSelectionListener-component-patch-final, > pageSelectionListener-tlds-patch-final > > I needed a solution to receive notifications about the page selection of a > dataScroller for a dataTable; so, i've implemented a new > "pageSelectionListener" tag that can be nested inside the dataScroller tag, > very similar to "tabChangeListener" for tabbedPane. It works, i've tested it, > and created a patch for the new org.apache.myfaces package and tlds. I would > like to submit the patch, but don't know how. Could someone point me in the > right direction? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
