ICEfaces
  1. ICEfaces
  2. ICE-2312

Javascript failure with partialSubmit used within HTML <fieldset> element

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7DR#2
    • Fix Version/s: 1.6.3, 1.7DR#3, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows / Tomcat 6.0.13 / Liferay 4.3.3
       and
      Linux / JBoss 4.2.1.GA / ICEfaces 1.6.2

      Description

      I don't know if this is portal specific or not -- I tend to think it is not portal specific. Nevertheless, I've attached a portlet to reproduce this. It's very simple to reproduce.

      Basically, if you have this:

      <fieldset>
      <legend>Foo:</legend>
      <ice:inputText id="foo" partialSubmit="true" value="#{View.foo}" />
      <ice:outputText value="#{View.foo}" />
      </fieldset>

      Then IE and Firefox get a Javascript error at line 1422 of icefaces-d2d.js:

      e.peer=new This.FieldSetElement(e);

      The error message is "This.FieldSetElement is not a constructor"

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          Back port fix into 1.6 branch.

          Show
          Mircea Toma added a comment - Back port fix into 1.6 branch.
          Hide
          Mircea Toma added a comment -

          Remove references to old code. FieldSetElement and ObjectElement behavior was refactored into the default behavior for elements.

          Show
          Mircea Toma added a comment - Remove references to old code. FieldSetElement and ObjectElement behavior was refactored into the default behavior for elements.
          Hide
          Carlo Guglielmin added a comment -

          Ran into the same javascript error running plain ICEfaces 1.6.2 with a facelets application on jboss 4.2.1.GA.

          So as you suspected Neil, it isn't portlet specific.

          Show
          Carlo Guglielmin added a comment - Ran into the same javascript error running plain ICEfaces 1.6.2 with a facelets application on jboss 4.2.1.GA. So as you suspected Neil, it isn't portlet specific.
          Hide
          Neil Griffin added a comment -

          The attached .war can be installed my copying it to your $HOME/liferay/deploy folder (hot deploy folder) and starting up Liferay Portal 4.3.3.

          The ICEfaces JARs included in the WEB-INF/lib were built from the trunk on 10/31, and so are similar to ICEfaces 1.7-DR#2

          Show
          Neil Griffin added a comment - The attached .war can be installed my copying it to your $HOME/liferay/deploy folder (hot deploy folder) and starting up Liferay Portal 4.3.3. The ICEfaces JARs included in the WEB-INF/lib were built from the trunk on 10/31, and so are similar to ICEfaces 1.7-DR#2

            People

            • Assignee:
              Unassigned
              Reporter:
              Neil Griffin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: