ICEfaces
  1. ICEfaces
  2. ICE-9298

REGRESSION: ace:autocompleteEntry > Disabling input and submitting value casues JS error in IE7/8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3 trunk revision# 35632
      Browsers: IE7/8 (Can't reproduce in Firefox/Chrome or IE10)
    • Assignee Priority:
      P2

      Description

      Disabling the autoCompleteEntry and typing a value into the field and submitting causes a JS error in IE7/8.

      To reproduce:
      1) Build / deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/autoCompleteEntry
      2) In IE7 or 8 navigate to: 'AutoCompleteEntry Dynamic Attribute Test'
      3) Click rendered and disabled
      4) Type a value into the autoCompleteEntry and hit enter (JS error is seen)

      Message: Invalid argument.
      Line: 1
      Char: 24999
      Code: 0
      URI: http://10.18.39.136:8080/autoCompleteEntry/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=3_4_0_130528


        Activity

        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix at revision 35682. The disabled attribute was only preventing the autocomplete functionality from being initialized and was preventing typing on the text field by other means, which didn't work on IE 7/8. The fix consists in actually rendering the 'disabled' attribute on the input field and adding the 'ui-state-disabled' CSS class.

        Testing notes: it should NOT be possible to type on the text field when disabled=true.

        Show
        Arturo Zambrano added a comment - - edited Committed fix at revision 35682. The disabled attribute was only preventing the autocomplete functionality from being initialized and was preventing typing on the text field by other means, which didn't work on IE 7/8. The fix consists in actually rendering the 'disabled' attribute on the input field and adding the 'ui-state-disabled' CSS class. Testing notes: it should NOT be possible to type on the text field when disabled=true.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: