You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2010/11/18 12:24:13 UTC

[jira] Created: (CLK-730) Cannot switch off validation while javaScriptValidation is switched on

Cannot switch off validation while javaScriptValidation is switched on
----------------------------------------------------------------------

                 Key: CLK-730
                 URL: https://issues.apache.org/jira/browse/CLK-730
             Project: Click
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Bob Schellink
            Assignee: Bob Schellink
             Fix For: 2.3.0-M1


If a page switch JS validation on and server side validation off, the Form renders an onsubmit attribute but no handler is rendered. That is because Form checks whether getValidate && isJavaSriptValidation is true before rendering the JS validation. However when rendering the onsubmit attribute, Form only checks is isJavaSriptValidation is true. I think From shouldn't tie client-side and server-side validations together as there are use cases for having one without the other.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLK-730) Cannot switch off validation while javaScriptValidation is switched on

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink resolved CLK-730.
-------------------------------

    Resolution: Fixed

fixed

> Cannot switch off validation while javaScriptValidation is switched on
> ----------------------------------------------------------------------
>
>                 Key: CLK-730
>                 URL: https://issues.apache.org/jira/browse/CLK-730
>             Project: Click
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>             Fix For: 2.3.0-M1
>
>
> If a page switch JS validation on and server side validation off, the Form renders an onsubmit attribute but no handler is rendered. That is because Form checks whether getValidate && isJavaSriptValidation is true before rendering the JS validation. However when rendering the onsubmit attribute, Form only checks is isJavaSriptValidation is true. I think From shouldn't tie client-side and server-side validations together as there are use cases for having one without the other.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.