ICEfaces
  1. ICEfaces
  2. ICE-6399

Javascript error "Invalid argument line: 3 char: 7412" scrollable="true" and autoCentre="true"

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2-EE-GA_P02
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfacesEE-1.icefaces version : 8.2.GA-P02
      Working in : Mozilla Firefox(any version)
      Error encountered in :(Internet Explorer 6.0, 7.0)
      Tried in the following Servers: Tomcat, Websphere
      Java version : 1.6.0_18
      OS : Win XP
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      The workaround done was making ice-extras.js in icefaces.jar catch the error when the attributes like width has negative values (e.g -1000px) which was encountered only in IE.

      try{
        E[(D=="float"||D=="cssFloat")?(Object.isUndefined(E.styleFloat)?"cssFloat":"styleFloat"):D]=C[D];
      } catch (e) {
      /*catch the IE error for negative values..*/
      }
      Show
      The workaround done was making ice-extras.js in icefaces.jar catch the error when the attributes like width has negative values (e.g -1000px) which was encountered only in IE. try{   E[(D=="float"||D=="cssFloat")?(Object.isUndefined(E.styleFloat)?"cssFloat":"styleFloat"):D]=C[D]; } catch (e) { /*catch the IE error for negative values..*/ }

      Description

      This is an error encountered in IE 6.0 and 7.0 (Haven't tried in IE 8.0) that causes a javascript error on the page everytime its loaded.
      This was encountered when an ice:dataTable with scrollable="true" inside a ice:panelPopup with autoCentre="true" exists on the page.

        Activity

        Hide
        Calin Cosmin added a comment -

        same issue, js error "invalid argument" on icefaces-compat.js.jsf , line 2290
        when use dataTable scrollable="true" inside panelPopup
        Environment: ICEfaces 2.0 , GlassFish 3.0.1, IE8

        Show
        Calin Cosmin added a comment - same issue, js error "invalid argument" on icefaces-compat.js.jsf , line 2290 when use dataTable scrollable="true" inside panelPopup Environment: ICEfaces 2.0 , GlassFish 3.0.1, IE8

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Mancio
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: