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

          Neil Griffin created issue -
          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
          Neil Griffin made changes -
          Field Original Value New Value
          Attachment icetest-portlet-4.3.3.1.war [ 10722 ]
          Carlo Guglielmin made changes -
          Affects Version/s 1.6.2 [ 10111 ]
          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.
          Carlo Guglielmin made changes -
          Environment Windows / Tomcat 6.0.13 / Liferay 4.3.3 Windows / Tomcat 6.0.13 / Liferay 4.3.3
           and
          Linux / JBoss 4.2.1.GA / ICEfaces 1.6.2
          Ken Fyten made changes -
          Fix Version/s 1.7DR#3 [ 10112 ]
          Assignee Mandeep Hayher [ mandeep.hayher ]
          Mandeep Hayher made changes -
          Assignee Mandeep Hayher [ mandeep.hayher ] Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15248 Mon Nov 26 16:14:15 MST 2007 mircea.toma Remove references to old code.
          ICE-2312
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/element.js
          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.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15257 Tue Nov 27 12:29:06 MST 2007 mircea.toma Remove references to old code.
          ICE-2312
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/bridge/lib/element.js
          Mircea Toma made changes -
          Fix Version/s 1.6.3 [ 10120 ]
          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.
          Ken Fyten made changes -
          Link This issue blocks ICE-2430 [ ICE-2430 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Mircea Toma [ mircea.toma ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: