ICEfaces
  1. ICEfaces
  2. ICE-7105

Myfaces 2 "cannot find enclosing form" on alternate requests

    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: Bridge, Framework, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 2 MyFaces 2

      Description

      You can reproduce the problem with the core/auction application (I turned off Push to avoid the extra logging and processing). I found that the Chrome console provided the best data as to what was going wrong.

      1) Click on the details triangle for one of the auction items. The details should render without any errors.
      2) Click on the details triangle again. No request is sent, the details line does not get closed, and the following error is dumped out to the Chrome console:

      "Uncaught cannot find enclosing form"

      3) Click on the details triangle again. This time it works properly.

      Alternating clicks will work/fail in the same way.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #25216 Tue Aug 09 08:41:26 MDT 2011 mircea.toma ICE-7105 Fallback to using form as submitting element when the element was removed by a previous update and form.onsubmit callback is called directly (by application or third party library code).
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js

            People

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

              Dates

              • Created:
                Updated:
                Resolved: