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

        Cruz Miraback created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35682 Fri May 31 15:40:15 MDT 2013 art.zambrano ICE-9298 fix to render the 'disabled' attribute on the input field as well as the disabled CSS class
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA [ 10572 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: