Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1689

change event is not executed for <tc:suggest>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 4.0.0
    • Themes
    • None

    Description

      A change event is not executed for <tc:suggest> if a suggestion is selected.

      <tc:in value="...">
          <tc:suggest query="...">
              <tc:selectItems ... />
          </tc:suggest>
          <tc:event/>
      </tc:in>
      

      Same if <tc:event/> is replaced by <f:ajax>.

      The change event is only executed if no suggestion is available for the entered string or if the suggested string is completely written by the user.

      Example:
      <tc:suggest> knows the values "Sun, Moon, Stars".
      If the user enter 'Su' and select 'Sun' from the suggestion list: no change event is executed.
      If the user enter 'Su' and press TAB to complete the string 'Sun': no change event is executed.
      If the user enter 'Sun': change event is executed.
      If the user enter 'Jupiter': change event is executed.

      Attachments

        1. tobago-1689.patch
          6 kB
          Marcus Kroeger
        2. TOBAGO_1689.patch
          4 kB
          Henning Nöth

        Activity

          People

            deki Dennis Kieselhorst
            hnoeth Henning Nöth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: