ICEfaces
  1. ICEfaces
  2. ICE-7182

The ICEfaces form decorations are not added during postbacks when running under MyFaces 2.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2 MyFaces 2
    • Assignee Priority:
      P1

      Description

      On normal stock h: components, ICEfaces 'decorates' forms in order to add stuff needed for form submission. This includes:

            <input name="ice.window" type="hidden" value="fbgs26iu6l" />
            <input name="ice.view" type="hidden" value="veamhp42" />
            <script id="hForm:hForm_captureSubmit" type="text/javascript">
            ice.captureSubmit('hForm',false);ice.captureEnterKey('hForm');</script>

      This work is done in a class called FormSubmit and is implemented as SystemEventListener that listens for HtmlForm components that trigger PostAddToViewEvents:

      public class FormSubmit implements SystemEventListener {

              <system-event-listener>
                  <system-event-listener-class>org.icefaces.impl.event.FormSubmit</system-event-listener-class>
                  <system-event-class>javax.faces.event.PostAddToViewEvent</system-event-class>
              </system-event-listener>

      While this strategy appears to work fine in Mojarra, the form decorations are not being applied when running under MyFaces and the Ajax request is a postback.

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Salesforce Case []
          Assignee Priority P1
          Assignee Deryk Sinotte [ deryk.sinotte ]
          Deryk Sinotte made changes -
          Link This issue depends on ICE-5868 [ ICE-5868 ]
          Deryk Sinotte made changes -
          Link This issue depends on ICE-5868 [ ICE-5868 ]
          Deryk Sinotte made changes -
          Link This issue blocks ICE-5868 [ ICE-5868 ]
          Deryk Sinotte made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.1-Beta [ 10291 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: