Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 56802 invoked from network); 1 May 2009 09:59:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 May 2009 09:59:13 -0000 Received: (qmail 44749 invoked by uid 500); 1 May 2009 09:59:13 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 44738 invoked by uid 500); 1 May 2009 09:59:13 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 44730 invoked by uid 99); 1 May 2009 09:59:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 09:59:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sabob1@gmail.com designates 209.85.221.124 as permitted sender) Received: from [209.85.221.124] (HELO mail-qy0-f124.google.com) (209.85.221.124) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 09:59:03 +0000 Received: by qyk30 with SMTP id 30so2911234qyk.32 for ; Fri, 01 May 2009 02:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=A2ar+IwMdesMDThkF/DZMK5U83HE2JSe1x2O5YgDiWc=; b=M7stEqebHjfYm54fMfehX0FwuIKo2hLinYN095guZQS9BCp+vKsNEx2stAf1E/bG11 rxagp5JPDk7XIsiVvaJSKhQYLGq/c9I0dfV9yvR9ScNf5r1nQhxSabEgew/G7Zk/CqWc RUnvT5R2qJBN55t79vxKE9rUVWxmDFAsawGgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=TT2Z69Q6gj3lHvRbvAGGfFuUDuAf6usz4voapZAqwvt/tmggsZBxiNd/pUk/DfoJuL JZHBXVkPanZJRzdkFTR8OOw3KPssOg7o6dXglL31f6YXsuaXKAcbWh2b45GCBHNmycv2 BDdgv6k0/uGmCv8cYbNzUYmR0qcJx/z2M7/Ww= Received: by 10.224.47.16 with SMTP id l16mr2901669qaf.107.1241171923066; Fri, 01 May 2009 02:58:43 -0700 (PDT) Received: from ?10.0.0.100? (dsl-240-179-68.telkomadsl.co.za [41.240.179.68]) by mx.google.com with ESMTPS id 26sm6089306qwa.6.2009.05.01.02.58.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 May 2009 02:58:42 -0700 (PDT) Message-ID: <49FAC7CC.3070702@gmail.com> Date: Fri, 01 May 2009 11:58:36 +0200 From: Bob Schellink User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: click-dev@incubator.apache.org Subject: AutoCompleteTextField remove issue Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, An issue was logged at our old JIRA system [1] which I'm not entirely sure how to solve cleanly. AutoCompleteTextField always adds itself to the parent Page so if one were to remove the Field from the Form, the Field is still present on the Page. For stateful pages this creates a problem where the JavaScript is rendered even though the Field is not. One way might be to override the field's setParent method to also remove it from the Page. bob