Click
  1. Click
  2. CLK-780

AutoCompleteTextField does not pop up suggestion list when in a form

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: extras
    • Environment:
      Windows 7, Eclipse 3.4, Google App Engine SDK (latest), JRE 1.6_20

      Description

      I noticed that the AutoCompleteTextField does not seem to work. Looking at the code, I found that dispatchActionEvent() may not be called (in particular, if there is no request parameter with the field's name, then dispatchActionEvent() will not be called).

      As a [temporary] fix, I subclass AutoCompleteTextField and override onProcess() something like this:

      if (getContext().isAjaxRequest())

      { dispatchActionEvent }

      else

      { super.onProcess(); }

      This seems to work in my case, but it is entirely likely that I am doing something dangerous/stupid/wrong.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            John Ghidiu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development