This is not an answer to the question nor is it about T4, but I'd really like 
to see more jQuery support in T5. I've left behind dojo in favor of jQuery when 
I discovered its existence from this list. 

Ariel

-----Original Message-----
From: news on behalf of Chinchih
Sent: Sat 7/28/2007 4:26 AM
To: users@tapestry.apache.org
Subject:  T4: How to exclude dojo?
 
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]



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

Reply via email to