[
https://issues.apache.org/jira/browse/TAPESTRY-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Köberl updated TAPESTRY-1748:
---------------------------------------
Attachment: tapestry-form-noclient.zip
Here is a simple example, that shows the error. Just run "mvn jetty:run" and
point jour browser to http://localhost:8080/tapestry-form-noclient/start
> JavaScript error with form.clientValidation="false"
> ---------------------------------------------------
>
> Key: TAPESTRY-1748
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1748
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.5
> Reporter: Christian Köberl
> Attachments: tapestry-form-noclient.zip
>
>
> The T5 validators generate the validation JavaScript although the form has
> set "clientValidation=false". The form does not inlude the required JS-libs
> when "clientValidation=false. This leads to an JS error on the client side.
> This script is generated with clientValidation=false:
> <script language="javascript" type="text/javascript">
> <!--
> Event.observe(window, "load", function() {
> Tapestry.Field.required('nameField', 'You must provide a value for
> Name.');
> });
> // -->
> </script>
> This is the error in Firefox:
> Error: Event.observe is not a function
> Source: http://localhost:8080/tapestry-form-noclient/
> Line: 18
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]