ICEmobile
  1. ICEmobile
  2. MOBI-1044

problems with contentPane height when child of mobi:accordion and containing dataView

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      jsf2 icemobile

      Description

      when a dataView is child of contentPane in a mobi:accordion, the height and scrolling are not consistent.
      Opening and closing the same pane with the dataView will render differently quite often.
      Sometimes the other panes of the accordion will no longer be shown, see screenshots. Test case is attached.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40413 Tue Mar 25 09:48:39 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/accordion/Accordion.java
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/component/IAccordion.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/accordion/AccordionMeta.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentpane/ContentPaneRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/accordion/AccordionRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/AccordionCoreRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40499 Tue Apr 01 08:21:39 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - add new fitToParent (default true) attribute on Accordion
        - remove Accordion autoHeight attribute
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/pagepanel/PagePanelRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_page_panel.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base3/1_fieldset_a.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/pagepanel/PagePanel.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/bberry/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/component/IAccordion.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentpane/ContentPaneRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/bb10/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/bb10/1_fieldset_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/ipad/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/ios7/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/layout/AccordionTag.java
        Commit graph DEL /icemobile/trunk/icemobile/resources/themes/base3/1_page_panel_a.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_accordion.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/android_light/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/0_base.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_content-pane.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/webapp/layout/accordion/accordionWithCForEach.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base3/1_accordion_a.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/archaic/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_fieldset.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/accordion/AccordionMeta.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/iphone/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/layout/accordion-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentpane/ContentPane.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/android_dark/1_accordion_ext.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/accordion/AccordionRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/AccordionCoreRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40525 Wed Apr 02 07:35:55 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - add new fitToParent (default true) attribute on Accordion
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40693 Thu Apr 03 09:40:43 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - add new fitToParent (default true) attribute on Accordion
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/pagepanel/PagePanel.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40723 Mon Apr 07 08:50:42 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_page_panel.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40726 Mon Apr 07 09:52:13 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - dataView: on row select, do not scrollIntoView on simulator as it moves the main window scrollbar on desktop chrome
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40729 Mon Apr 07 12:13:28 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - avoid resizing dataView components that are in closed accordion panes and re-scroll closed panes to top
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40734 Tue Apr 08 08:27:35 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - recheck resizable containers on interval
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40740 Tue Apr 08 12:27:49 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - auto-scroll active row into view only on activation event, not on every resize event
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40752 Wed Apr 09 10:13:53 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - auto-scroll active row into view only on activation event, not on every resize event
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/input/date-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/layout/contentstack-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_page_panel.css
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/layout/accordion-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/layout/panelpopup-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base3/1_accordion_a.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputTextRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40766 Thu Apr 10 07:49:29 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - avoid holding on to accordion element references as they can become stale and dynamically made changes to them are not reflected in the page
        - take into account parent border and padding when calculating accordion fitted height
        - re-apply previous scroll position on accordion content pane after applying fitted height
        - consolidate accordion init code for both first construction and updates
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40775 Thu Apr 10 10:00:49 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - when crawling up DOM, break if parent is document element
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40782 Thu Apr 10 13:23:14 MDT 2014 philip.breau MOBI-1044
        problems with contentPane height when child of mobi:accordion and containing dataView
        - when crawling up DOM, break if parent is document element
        - do not fitToParent on older IEs
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40949 Wed May 07 11:54:18 MDT 2014 philip.breau MOBI-1044, MOBI-1052, MOBI-1054
        problems with contentPane height when child of mobi:accordion and containing dataView
        - avoid setting fitToParent height on accordion unless there's at least 100px for an open pane
        - if Accordion Form Proxy can't be found in opening pane (may be client="false") then search for the first one in the stack and use that for the ajax update in toggle
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js

          People

          • Assignee:
            Philip Breau
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: