ICEfaces
  1. ICEfaces
  2. ICE-7139

Component ice:commandLink - throws JS error "object doesn't support this property or method" in IE 8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 3.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE 8.0.7600 on Windows 7, and IE 8.0.6001 on Windows XP; tomcat7

      Description

      There is a JS error "object doesn't support this property or method" when clicking on the link to load the second page.
      Attached the test case war file built for Tomcat 7, and attached screen shot of the error in IE 8.


      The code is here:
      <html
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:ice="http://www.icesoft.com/icefaces/component" >
       <ui:composition template="/templates/Master.xhtml">
         <ui:define name="content">
           <h:form>
            <ice:commandLink action="/pages/Main.xhtml" value="logon" />
           </h:form>
         </ui:define>
       </ui:composition>
       </html>

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25391 Thu Sep 01 17:26:21 MDT 2011 mircea.toma ICE-7139 Select for evaluation only non-empty strings.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/fixjsf.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25380 Thu Sep 01 09:24:49 MDT 2011 mircea.toma ICE-7139 Remove useless return.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/fixjsf.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25379 Thu Sep 01 09:16:47 MDT 2011 mircea.toma ICE-7139 Evaluate inline and referenced scripts in the global context to avoid capturing private function or variable definitions.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/fixjsf.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25292 Mon Aug 22 08:02:26 MDT 2011 mircea.toma ICE-7139 Check first if the title exists in the update before trying to extract the title content.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/fixjsf.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25291 Mon Aug 22 07:56:36 MDT 2011 mircea.toma ICE-7139 Make sure that only the code is passed into the 'eval' function without additional parameters.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/fixjsf.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: