ICEfaces
  1. ICEfaces
  2. ICE-10093

ace:tabSet dynamicAttribute test fails if using <icecore:singleSubmit/> tag

    Details

    • Assignee Priority:
      P3

      Description

      The tabSet attribute page: /tabSet/tabsetAttribute.jsf
      uses an <icecore:singleSubmit/> tag, and when clicking the "Change Style and StyleClass" button on this page, the actionListener is fired twice and the style/styleClass is changed twice on the tabSet (debug statements are added in the bean).
      This works as expected if replacing the icecore:singleSubmit tag with an f:ajax tag:
      <f:ajax execute="@all" render="@all">

      QA test app: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/tabSet

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Description The tabSet attribute page: /tabSet/tabsetAttribute.jsf
        uses an <icecore:singleSubmit/> tag, and when clicking the "Change Style and StyleClass" button on this page, the actionListener is fired twice and the style/styleClass is changed twice on the tabSet (debug statements are added in the bean).
        This works as expected if replacing the icecore:singleSubmit tag with an f:ajax tag:
        <f:ajax execute="@all" render="@all">

        The tabSet attribute page: /tabSet/tabsetAttribute.jsf
        uses an <icecore:singleSubmit/> tag, and when clicking the "Change Style and StyleClass" button on this page, the actionListener is fired twice and the style/styleClass is changed twice on the tabSet (debug statements are added in the bean).
        This works as expected if replacing the icecore:singleSubmit tag with an f:ajax tag:
        <f:ajax execute="@all" render="@all">

        QA test app: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/tabSet
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Assignee Priority P3 [ 10012 ]
        Ken Fyten made changes -
        Link This issue is duplicated by ICE-10097 [ ICE-10097 ]
        Hide
        Mircea Toma added a comment -

        Cancel default action whenever single submit is triggered to avoid having the browser submit the form.

        Show
        Mircea Toma added a comment - Cancel default action whenever single submit is triggered to avoid having the browser submit the form.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Tested with ee-3.3.0-GA maintenance branch r43383. The issue is resolved when using Chrome 38 or FF 33. Reopening because this issue is not resolved when using IE 9, 10 or 11.

        Show
        Liana Munroe added a comment - Tested with ee-3.3.0-GA maintenance branch r43383. The issue is resolved when using Chrome 38 or FF 33. Reopening because this issue is not resolved when using IE 9, 10 or 11.
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43547 Tue Nov 18 05:51:09 MST 2014 mircea.toma ICE-10093 Modified IE event decorator to invoke Event.preventDefault() function if available since more recent versions of the browser do not act on Event.returnValue = false anymore.
        Files Changed
        Commit graph MODIFY /bridge-support/branches/icefaces-ee-3.3.0.GA-maintenance/src/main/javascript/event.js
        Hide
        Mircea Toma added a comment -

        Modified IE event decorator to invoke Event.preventDefault() function if available since more recent versions of the browser (IE 9,10, 11) do not stop the execution of default action when Event.returnValue = false.

        Show
        Mircea Toma added a comment - Modified IE event decorator to invoke Event.preventDefault() function if available since more recent versions of the browser (IE 9,10, 11) do not stop the execution of default action when Event.returnValue = false .
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces ee-3.3.0-GA maintenance branch r43550. Tomcat 7, FF 33, Chrome 38, IE 8, 9, 10, 11.

        Show
        Liana Munroe added a comment - Verified ICEfaces ee-3.3.0-GA maintenance branch r43550. Tomcat 7, FF 33, Chrome 38, IE 8, 9, 10, 11.
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: