ICEfaces
  1. ICEfaces
  2. ICE-10386

showcase issues with Myfaces 2.2.5 JSF

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces-4.0.0 tag r.43344 (Jenkins Build#9)
      Server: Tomcat 7.0.42
      Browsers: all
    • Assignee Priority:
      P1

      Description

      The next Myfaces specific issues have been found in showcase:
      1) icecore:jsEventListener:
      JS error when clicking in the input text entry and pressing Enter key (all browsers).
      IE11 error:
      SCRIPT438: Object doesn't support property or method 'getElementsByName'
      File: jsf.js.jsf, Line: 1, Column: 51742

      Chrome error:
      Uncaught TypeError: undefined is not a function jsf.js.jsf?ln=javax.faces&v=4_0_0_141104:1

      2) ace:ajax > Client-side Callbacks: server-side warning when accessing this demo.
      Nov 04, 2014 2:27:46 PM org.apache.myfaces.renderkit.html.HtmlLabelRenderer encodeBegin
      WARNING: Attribute 'for' of label component with id ajaxCallbacksStartForm:__2s_c is not defined

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Carmen Cristurean made changes -
        Description The next Myfaces specific issues have been found in showcase:
        1) icecore:jsEventListener:
        JS error when clicking in the input text entry and pressing Enter key (all browsers).
        IE11 error:
        SCRIPT438: Object doesn't support property or method 'getElementsByName'
        File: jsf.js.jsf, Line: 1, Column: 51742

        Chrome error:
        Uncaught TypeError: undefined is not a function jsf.js.jsf?ln=javax.faces&v=4_0_0_141104:1

        2) Server-side warning when accessing ace:ajax > Client-side Callbacks:
        Nov 04, 2014 2:27:46 PM org.apache.myfaces.renderkit.html.HtmlLabelRenderer encodeBegin
        WARNING: Attribute 'for' of label component with id ajaxCallbacksStartForm:__2s_c is not defined

        The next Myfaces specific issues have been found in showcase:
        1) icecore:jsEventListener:
        JS error when clicking in the input text entry and pressing Enter key (all browsers).
        IE11 error:
        SCRIPT438: Object doesn't support property or method 'getElementsByName'
        File: jsf.js.jsf, Line: 1, Column: 51742

        Chrome error:
        Uncaught TypeError: undefined is not a function jsf.js.jsf?ln=javax.faces&v=4_0_0_141104:1

        2) ace:ajax > Client-side Callbacks: server-side warning when accessing this demo.
        Nov 04, 2014 2:27:46 PM org.apache.myfaces.renderkit.html.HtmlLabelRenderer encodeBegin
        WARNING: Attribute 'for' of label component with id ajaxCallbacksStartForm:__2s_c is not defined

        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        Hide
        Mircea Toma added a comment -

        I cannot reproduce this issue. I used Firefox, Chrome and IE11 for testing.

        Please make sure to SHIFT+reload the page before testing. The browser might cache the JS code used in a previous testing session.

        Show
        Mircea Toma added a comment - I cannot reproduce this issue. I used Firefox, Chrome and IE11 for testing. Please make sure to SHIFT+reload the page before testing. The browser might cache the JS code used in a previous testing session.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk r43839. Tomcat 7, IE 11, FF 33, Chrome 39. All browsers with clean cache.
        1.) I was not able to reproduce issue 1 (no js error) however when testing in the manner described (clicking in the input, then pressing ENTER) the demo navigated back to the Showcase Overview page. When refreshing the Showcase Overview page I was directed back to the jsEventListener demo. This occurred in all browsers.

        2.) I was able to reproduce issue 2 just by accessing the demo.

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk r43839. Tomcat 7, IE 11, FF 33, Chrome 39. All browsers with clean cache. 1.) I was not able to reproduce issue 1 (no js error) however when testing in the manner described (clicking in the input, then pressing ENTER) the demo navigated back to the Showcase Overview page. When refreshing the Showcase Overview page I was directed back to the jsEventListener demo. This occurred in all browsers. 2.) I was able to reproduce issue 2 just by accessing the demo.
        Liana Munroe made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43857 Mon Dec 22 11:50:42 MST 2014 mircea.toma ICE-10386 Modified icecore:jsEventListener renderer to disable form submit on enter. Also the conpontent triggered submit uses execute=@form attribute now.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/application.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/JSEventListener.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43858 Mon Dec 22 11:52:27 MST 2014 mircea.toma ICE-10386 Replaced h:outputLabel with h:outputText since there's no component to point to using the 'for' attribute.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/ajax/ajaxCallbacks.xhtml
        Hide
        Mircea Toma added a comment -

        1) Modified icecore:jsEventListener renderer to disable form submit on enter. Also the component triggered submit uses execute=@form attribute now.

        2) Replaced h:outputLabel with h:outputText in ajaxCallbacks.xhtml page since there's no component to point to using the for attribute.

        Show
        Mircea Toma added a comment - 1) Modified icecore:jsEventListener renderer to disable form submit on enter. Also the component triggered submit uses execute=@form attribute now. 2) Replaced h:outputLabel with h:outputText in ajaxCallbacks.xhtml page since there's no component to point to using the for attribute.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r43866. Tomcat 7, IE 11, FF 34, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43866. Tomcat 7, IE 11, FF 34, Chrome 39.
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: