Return-Path: X-Original-To: apmail-click-dev-archive@www.apache.org Delivered-To: apmail-click-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A40E2741E for ; Mon, 21 Nov 2011 17:35:16 +0000 (UTC) Received: (qmail 76554 invoked by uid 500); 21 Nov 2011 17:35:16 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 76533 invoked by uid 500); 21 Nov 2011 17:35:16 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 76526 invoked by uid 99); 21 Nov 2011 17:35:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 17:35:16 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 17:35:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B36FF94C72 for ; Mon, 21 Nov 2011 17:34:51 +0000 (UTC) Date: Mon, 21 Nov 2011 17:34:51 +0000 (UTC) From: "Bob Schellink (Commented) (JIRA)" To: dev@click.apache.org Message-ID: <866942743.51840.1321896891736.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1452239000.51799.1321895933601.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CLK-780) AutoCompleteTextField does not pop up suggestion list when in a form MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLK-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154307#comment-13154307 ] Bob Schellink commented on CLK-780: ----------------------------------- Below is an example of AutoCompleteTextField inside a form working for me? http://click.avoka.com/click-examples/ajax/auto-complete.htm > AutoCompleteTextField does not pop up suggestion list when in a form > -------------------------------------------------------------------- > > Key: CLK-780 > URL: https://issues.apache.org/jira/browse/CLK-780 > Project: Click > Issue Type: Bug > Components: extras > Affects Versions: 2.3.0 > Environment: Windows 7, Eclipse 3.4, Google App Engine SDK (latest), JRE 1.6_20 > Reporter: John Ghidiu > Labels: AutoCompleteTextField > Original Estimate: 24h > Remaining Estimate: 24h > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira