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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26404 Wed Nov 16 15:43:41 MST 2011 deryk.sinotte ICE-7456: add the current element name to the javax.faces.execute paramater
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/submit.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: