ICEfaces
  1. ICEfaces
  2. ICE-6298

icecore:singleSubmit not working in IE7 for h:selectOneMenu onchange events

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 3.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Discovered with the PortletFaces Bridge + Liferay 6.0.x but I don't think portals have anything to do with it. I could be wrong.
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      In order to workaround the problem, I had to manually add an onchange handler like this:

      <h:selectOneMenu id="fooId" immediate="true" onchange="ice.se(event, this)" required="true" value="#{fooBean.fooId}">
      <f:selectItem itemLabel="-- Select --" itemValue="" />
      <f:selectItems itemValue="#{foo.fooId}" itemLabel="#{foo.name}" value="#{listModelBean.fooList}"
      var="foo" />
      <f:valueChangeListener binding="#{backingBean.fooIdValueChangeListener}" />
      </h:selectOneMenu>

      The problem with the workaround is that I think two Ajax transactions fire instead of one. But I could be wrong on that.
      Show
      In order to workaround the problem, I had to manually add an onchange handler like this: <h:selectOneMenu id="fooId" immediate="true" onchange="ice.se(event, this)" required="true" value="#{fooBean.fooId}"> <f:selectItem itemLabel="-- Select --" itemValue="" /> <f:selectItems itemValue="#{foo.fooId}" itemLabel="#{foo.name}" value="#{listModelBean.fooList}" var="foo" /> <f:valueChangeListener binding="#{backingBean.fooIdValueChangeListener}" /> </h:selectOneMenu> The problem with the workaround is that I think two Ajax transactions fire instead of one. But I could be wrong on that.

      Description

      On Chrome and FireFox, when the user selects an f:selectItem from an h:selectOneMenu, the icecore:singleSubmit component causes form submission. But on IE8, the onchange event isn't getting intercepted by icecore:singleSubmit or something. Basically the form is not submitted until someone onblurs out of the h:selectOneMenu.

        Activity

        Neil Griffin created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 3.2 [ 10338 ]
        Assignee Priority P2
        Assignee Ted Goddard [ ted.goddard ]
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2 [ 10011 ]

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: