I know that Tapestry 4.1.x bundles with dojo, and to use the dojo functions, the
@Shell component will have to be used to include the necessary js files.
However, in our application we prefer to use jQuery instead of Dojo. I noticed
that if a Form component is used, Tapestry will output the following code inside
the generated <body> block:

<script type="text/javascript"><!--
dojo.addOnLoad(function(e) {
dojo.require("tapestry.form");tapestry.form.registerForm("Form");
tapestry.form.focusField('button');});
// --></script>

Is there a way to "turn off" Dojo to avoid having to include dojo?

Thanks,
Chinchih


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to