Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 83161 invoked from network); 3 Apr 2009 13:32:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 13:32:36 -0000 Received: (qmail 39956 invoked by uid 500); 3 Apr 2009 13:32:36 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 39920 invoked by uid 500); 3 Apr 2009 13:32:36 -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 39901 invoked by uid 99); 3 Apr 2009 13:32:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 13:32:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 13:32:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EB286234C003 for ; Fri, 3 Apr 2009 06:32:12 -0700 (PDT) Message-ID: <1069828977.1238765532958.JavaMail.jira@brutus> Date: Fri, 3 Apr 2009 06:32:12 -0700 (PDT) From: "Bob Schellink (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Commented: (CLK-508) Move isFormSubmission check to Field In-Reply-To: <688491967.1238253530456.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695383#action_12695383 ] Bob Schellink commented on CLK-508: ----------------------------------- Hi Malcolm, Agreed, I've rolled back the changes. What do you think of the SubmitLink idea where a Link can be used to submit a form. This control could be smart and detect if its parent is a Form or not. If it its not inside a Form it could fallback to a normal ActionLink. This control could be useful for components such as CheckBoxTree. regards bob -- http://incubator.apache.org/click/ > Move isFormSubmission check to Field > ------------------------------------ > > Key: CLK-508 > URL: https://issues.apache.org/jira/browse/CLK-508 > Project: Click > Issue Type: Improvement > Components: core, extras > Reporter: Bob Schellink > Assignee: Bob Schellink > Fix For: 2.1.0 > > > Currently Form determines whether its child controls should be processed based on whether Form was submitted or not. This restriction works well for Fields, however problems arise when adding components such as ActionLink, Tables and Trees which need to be processed even when Form is not submitted. Ajax based Fields also has this problem and often need to be added to the Page in order to be processed. > This issue will try and address the problem by introducing a new Field method called "canProcess". This method will return true if the Form is submitted or if its a Ajax request. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.