ICEfaces
  1. ICEfaces
  2. ICE-5102

compat version of component-showcase autocomplete has issues after one of the inputs has been selected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha1
    • Fix Version/s: 2.0-Alpha2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      jsf2.0, ICEfaces2.0, compat and comps-compat jars

      Description

      For id="iceform:AutoCmpTxt", when first accessing the autocomplete view, the popup with suggested matches does not go away after selecting a city (you have to click outside the popup to close it).
      Also, once id="iceform:AutoCmpTxtFace" has been selected (and this one works just fine--no problems), then you go back to the first input to select city (iceform:AutoCmpTxt), it won't allow you to choose anything. The box just comes up (flashes) and down so user is not allowed to select anything.

      This is the same behaviour for Safari as well as FF. Note that once either input field (Txt or TxtFace) are selected, the other selectInputText field does not allow you to select any city.

        Issue Links

          Activity

          Hide
          Judy Guglielmin added a comment -

          Slightly different behaviour (still not correct) with IE. If you fill in the upper selectInputText with a selected City, then try to select a city with the lower input field, it merely changes the top field. If you fill in the second field before the top one (leave top one blank), then it tries to fill in the value from the top one into the lower one (in drop down only get the same selection as the previous one).

          Show
          Judy Guglielmin added a comment - Slightly different behaviour (still not correct) with IE. If you fill in the upper selectInputText with a selected City, then try to select a city with the lower input field, it merely changes the top field. If you fill in the second field before the top one (leave top one blank), then it tries to fill in the value from the top one into the lower one (in drop down only get the same selection as the previous one).
          Hide
          Adnan Durrani added a comment -

          It was due to some code added to 1.8.2EE to fix ICE-1993, but for some unknown reason it has some different behaviour in compat. So to fix this case we have to clear a hidden field after submit call.

          Modified: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\core\src\main\resources\META-INF\resources\ice-extras.js
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\core\src\main\resources\META-INF\resources\ice-extras.js
          Completed: At revision: 20003

          Show
          Adnan Durrani added a comment - It was due to some code added to 1.8.2EE to fix ICE-1993 , but for some unknown reason it has some different behaviour in compat. So to fix this case we have to clear a hidden field after submit call. Modified: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\core\src\main\resources\META-INF\resources\ice-extras.js Sending content: D:\work\development\head\svn\ossrepo\icefaces\scratchpads\glimmer\compat\core\src\main\resources\META-INF\resources\ice-extras.js Completed: At revision: 20003

            People

            • Assignee:
              Adnan Durrani
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: