You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/11/13 22:20:43 UTC
[jira] Updated: (TAPESTRY-1748) Field validators continue to
generate client-side JavaScript even though the Form is configured to not
do client-side validation.
[ https://issues.apache.org/jira/browse/TAPESTRY-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAPESTRY-1748:
-------------------------------------------
Assignee: Howard M. Lewis Ship
Affects Version/s: 5.0.6
Summary: Field validators continue to generate client-side JavaScript even though the Form is configured to not do client-side validation. (was: JavaScript error with form.clientValidation="false")
> Field validators continue to generate client-side JavaScript even though the Form is configured to not do client-side validation.
> ---------------------------------------------------------------------------------------------------------------------------------
>
> 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, 5.0.6
> Reporter: Christian Köberl
> Assignee: Howard M. Lewis Ship
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org