click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm Edgar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLK-333) AutoCompleteTextField cannot be added on form. Form cannot be submited.
Date Thu, 02 May 2013 05:00:16 GMT

    [ https://issues.apache.org/jira/browse/CLK-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647290#comment-13647290
] 

Malcolm Edgar commented on CLK-333:
-----------------------------------

Causes issues if form is being used in an AJAX context.  This AJAX submitCheck ignore should
probably only occur on GET requests and not POST requests.

Current form code:
        // CLK-333. Don't regenerate submit tokens for Ajax requests.
        Context context = getContext();
        if (context.isAjaxRequest()) {
            return true;
        }
                
> AutoCompleteTextField cannot be added on form. Form cannot be submited.
> -----------------------------------------------------------------------
>
>                 Key: CLK-333
>                 URL: https://issues.apache.org/jira/browse/CLK-333
>             Project: Click
>          Issue Type: Bug
>          Components: core, extras
>    Affects Versions: 1.4
>            Reporter: Ivan Furdi
>            Assignee: Malcolm Edgar
>             Fix For: 1.5 M1, 1.4.1
>
>
> When one is trying to use AutoCompleteTextField field on a form
> or a FieldSet which is added to the form then submitting a form is not possible.
> Possible problem is in double post validation, that is - first you submit form with auto
complete field and if you try to submit with submit button afterwards, submission fails (method
form.onSubmitCheck(this, pagePath) returns false).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message