ICEfaces
  1. ICEfaces
  2. ICE-7456

MyFaces 2: singleSubmit not working properly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      MyFaces 2 ICEfaces 2
    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Replace singleSubmit with f:ajax tag

      Description

      There's an issue with some examples that use singleSubmit. For example, the Comp Suite Context Menu: Effects demo allows you to choose which effect to use when visually displaying the menu. The markup in question currently looks like this:

      <ui:define name="example">
          <h:form>
          <icecore:singleSubmit/>
          <h:panelGrid columns="3">
                 ...

      This doesn't work properly when running under MyFaces. Clicking a radio button does trigger a submit, but the resulting update simply resets the radio back to the default selection. Changing it to use an f:ajax tag appears to clear things up:

      <ui:define name="example">
          <h:form>
          <f:ajax execute="@this" render="@all">
          <h:panelGrid columns="3">
                 ...

      This isn't related to ACE at all. I can pare down the example to a very simply one using only stock components and the behaviour is the same.

        Activity

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Workaround Description Replace Replace singleSubmit with f:ajax tag
        Salesforce Case []
        Assignee Priority P1
        Assignee Ted Goddard [ ted.goddard ]
        Deryk Sinotte made changes -
        Attachment ice-7456.zip [ 13749 ]
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Deryk Sinotte [ deryk.sinotte ] Ted Goddard [ ted.goddard ]
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.0.RC1 [ 10300 ]
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: