ICEfaces
  1. ICEfaces
  2. ICE-1571

Scrollable DataTable not maintaining scroll-state

    Details

      Description

      On a dataTable with the scrollable attribute set to true, the scroll-state is not maintained after a partialSubmit.

        Issue Links

          Activity

          Philip Breau created issue -
          Show
          Philip Breau added a comment - http://www.icefaces.org/JForum/posts/list/4616.page
          Philip Breau made changes -
          Field Original Value New Value
          Link This issue is duplicated by ICE-1713 [ ICE-1713 ]
          Hide
          Jason Dilley added a comment -

          Any hope of this being fixed (or even assigned) anytime in the next two years? This is a serious issue.

          Show
          Jason Dilley added a comment - Any hope of this being fixed (or even assigned) anytime in the next two years? This is a serious issue.
          Hide
          Barbara Sutton added a comment -

          Yes, I agree. This problem is causing us siginificant issue with the field techs who use our software. We are getting a lot of complaints and need a fix.

          Show
          Barbara Sutton added a comment - Yes, I agree. This problem is causing us siginificant issue with the field techs who use our software. We are getting a lot of complaints and need a fix.
          Hide
          Nicolás Amigo added a comment -

          I totally agree with Jason and Barbara, this issue is open for over two years! , I'm working with version 1.8.1 and this issue occurs again and again, we need this to be solved, please

          Show
          Nicolás Amigo added a comment - I totally agree with Jason and Barbara, this issue is open for over two years! , I'm working with version 1.8.1 and this issue occurs again and again, we need this to be solved, please
          Hide
          Dwight Harms added a comment -

          Also, the scroll position should be settable from server-side code, since the app may want (for example) to position the list to a particular area when it is first displayed.

          Show
          Dwight Harms added a comment - Also, the scroll position should be settable from server-side code, since the app may want (for example) to position the list to a particular area when it is first displayed.
          Hide
          Michael Mesiti added a comment -

          The scroll position on components seem to work but ONLY after the first submit on a page.

          For example, if you have a <ice:panelGroup scrollHeight="200px"> on a page, and a <ice:selectInputDate , when you first select a date, the panel group will reset to the top. If you select a data again, and all subsequent selections, the panel group scroll position works flawlessly (even after rescrolling). You can click other components, commandbuttons, etc, all work perfectly, but it must be after the first action before things work.

          I am using icefaces EE 2.0 with Mojarra 2.1.1 (I also tried 2.1.3)

          One thing I did noticed is that after selecting a date the first time, this is printed to the console:
          [window] append missing "javax.faces.ViewState" input element to form["vsxko5ij"]

          Should no view state yet exist for the components on first load, how can the scroll position be maintained?

          Ultimately this CAN be fixed and MUST be fixed. I share the same sentiment as other developers. I know a lot of effort is being put into icefaces - but it is important that attention to detail on things like this take top priority. Otherwise these components don't have much value.

          Show
          Michael Mesiti added a comment - The scroll position on components seem to work but ONLY after the first submit on a page. For example, if you have a <ice:panelGroup scrollHeight="200px"> on a page, and a <ice:selectInputDate , when you first select a date, the panel group will reset to the top. If you select a data again, and all subsequent selections, the panel group scroll position works flawlessly (even after rescrolling). You can click other components, commandbuttons, etc, all work perfectly, but it must be after the first action before things work. I am using icefaces EE 2.0 with Mojarra 2.1.1 (I also tried 2.1.3) One thing I did noticed is that after selecting a date the first time, this is printed to the console: [window] append missing "javax.faces.ViewState" input element to form ["vsxko5ij"] Should no view state yet exist for the components on first load, how can the scroll position be maintained? Ultimately this CAN be fixed and MUST be fixed. I share the same sentiment as other developers. I know a lot of effort is being put into icefaces - but it is important that attention to detail on things like this take top priority. Otherwise these components don't have much value.
          Evgheni Sadovoi made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.0 [ 10241 ]
          Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
          Assignee Priority P3
          Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.0.1 [ 10282 ]
          Fix Version/s 3.0 [ 10241 ]
          Assignee Priority P3 P2
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Mircea Toma [ mircea.toma ] Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2 P1
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P1 P2
          Assignee Mark Collette [ mark.collette ] Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #28175 Mon Mar 05 17:23:34 MST 2012 mircea.toma ICE-1571 Introduce 'scrollPosition' binding that can be used to preserve the scroll position after a page reload.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/ProductInfo.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #28176 Mon Mar 05 17:24:44 MST 2012 mircea.toma ICE-1571 Introduce 'scrollPosition' binding that can be used to preserve the scroll position after a page reload.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #28177 Mon Mar 05 17:25:25 MST 2012 mircea.toma ICE-1571 Introduce 'scrollPosition' binding that can be used to preserve the scroll position after a page reload.
          Files Changed
          Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
          Hide
          Mircea Toma added a comment -

          Introduced 'scrollPosition' binding that can be used to preserve the scroll position after a page reload. The scroll position is sent 400ms after the scrolling has stopped. When the page is loaded the script element inserted by the TableRenderer will reset scrolling position to where it was previously.
          The'scrollPosition' binding needs to be done to a bean that survives a page reload, such as 'window' scope.

          Show
          Mircea Toma added a comment - Introduced 'scrollPosition' binding that can be used to preserve the scroll position after a page reload. The scroll position is sent 400ms after the scrolling has stopped. When the page is loaded the script element inserted by the TableRenderer will reset scrolling position to where it was previously. The'scrollPosition' binding needs to be done to a bean that survives a page reload, such as 'window' scope.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s EE-3.0.0.GA [ 10262 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #32818 Fri Dec 14 12:52:06 MST 2012 arran.mccullough ICE-1571 Introduce 'scrollPosition' binding that can be used to preserve the scroll position after a page reload.
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/patches/sf-10973/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #32821 Fri Dec 14 12:57:37 MST 2012 arran.mccullough ICE-1571 Introduce 'scrollPosition' binding that can be used to preserve the scroll position after a page reload.
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/patches/sf-10973/icefaces/core/src/com/icesoft/faces/context/DOMContext.java

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Philip Breau
            • Votes:
              27 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: