Re: T4: How to exclude dojo?
There isn't currently a way to do this. I have thought about it and think I have a good idea on how to do this with T5 but am thinking that it's not worth the investment in T4. (it would require a lot of behind the scenes refactoring and such that might be time better spent on T5) On 7/27/07, Chinchih <[EMAIL PROTECTED]> wrote: > 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 block: > > > > 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] > > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T4: How to exclude dojo?
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 block: <!-- dojo.addOnLoad(function(e) { dojo.require("tapestry.form");tapestry.form.registerForm("Form"); tapestry.form.focusField('button');}); // --> 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]
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 block: 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]