Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.5-SNAPSHOT
-
None
-
Windows XP, jakarta-tomcat-5.0.28.
Description
The the HtmlDataScroller class is currently using the actionListener event (in particular the ScrollerActionEvent) to maintain the firstRow index of the dataTable. My idea is that if someone needs to control this variable from inside a managed bean for example in order to maintain the page number in a master/detail scenario then that person can use this actionEvent too. But in order for broadcast method of HtmlDataScroller component class to not overwrite the control logic that one can implement from the bean the suggestion is to modify method: "public void broadcast(FacesEvent event)" changing the broadcastToActionListener(scrollerEvent); to the end of the if (event instanceof ScrollerActionEvent)...portion of the code. This change allows anyone to control the rowIndex from a bean with a simple event-based logic.
Attachments
Attachments
Issue Links
- is part of
-
MYFACES-47 pageSelectionListener tag for dataScroller tag
- Closed