Hello!
Has anybody ever tried to set "clientValidation=false" in a form with
validators?
The T5 validators still generate the validation JavaScript but the form
does not inlude the required JS-libs. 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>
I looked around in the validators and it seems that they do not know if
clientValidation is enabled or not - they just render the JS code with
PageRenderSupport#addScript.
Anyone the same problems? Has anyone a workaround for this?
--
Chris