you can include your dojo.js and customer layers as script tags right
before </body> and still use parseOnLoad: true as far as I know. The
dojo.require()s aren't necessary if you have everything in your custom
layer (but if you forgot something you'll end up with an error of
course).
Dustin
On Aug 27, 2009, at 1:44 PM, Jose Noheda wrote:
> Hi,
>
> I was wondering that if I include my custom build js file at the end
> of the body tag and add a dojo.addOnLoad (in HEAD) to parse things
> later then could I remove all the dojo.require calls entirely? I'm
> assuming that the build includes all the needed dependencies here.
> My problem is that I have dozens of repeated dojo.requires (each
> inside an inline script tag) due to the nature of the JSP tag files
> and I'm trying to reduce the perceived speed as much as I can
> (currently not that stellar, you know?)
>
> Regards
> _______________________________________________
> FAQ:
http://dojotoolkit.org/support/faq> Book:
http://docs.dojocampus.org>
Dojo-interest@...
>
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest_______________________________________________
FAQ:
http://dojotoolkit.org/support/faqBook:
http://docs.dojocampus.orgDojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest