If you find your missing ${parameters.templateDir} then you wont get
simple/head.ftl you'll need djConfig baseRelativePath so struts can find root
dojo.js e.g.
// Dojo configuration djConfig = { baseRelativePath: "<@s.url
includeParams='none' value='/struts/dojo' includeParams="none"
encode='false'/>", isDebug: ${parameters.debug?default(false)},
bindEncoding: "${parameters.encoding}", debugAtAllCosts: true // not
needed, but allows the Venkman debugger to work with the includes
};otherwise you may have to rebase with registerModulePath(module,path)if your
module's location is not
../moduleMartin--______________________________________________Disclaimer and
confidentiality noteEverything in this e-mail and any attachments relates to
the official business of Sender. This transmission is of a confidential nature
and Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within this
transmission.(mobile) 001-603-438-5053> From: [EMAIL PROTECTED]> To:
user@struts.apache.org> Subject: RE: How to improve dojo performance in Struts
2.0.9> Date: Wed, 10 Oct 2007 13:21:43 -0400> > You can open up the struts
2.0.9 jar and pull out the template folder from .> Copy that into your project,
then modify template/xhtml/head.ftl and> template/simple/head.ftl to refer to
the dojo.js file in your directory> instead of the one imbedded with struts.> >
Session A. Mwamufiya> Carnegie Mellon University> MBA | Tepper School of
Business> MSE (software eng.) | School of Computer Science> T: (412) 508-5455 |
[EMAIL PROTECTED]> > > -----Original Message-----> From: Juan Carlos Serrano
[mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 09, 2007 1:20 PM> To:
user@struts.apache.org> Subject: Re: How to improve dojo performance in Struts
2.0.9> > I am newbie in struts 2.> > How do you do that resources are loaded
from the directory rather than the> jar? I mean, in which configuration file
the directory of dojo and template> is written?> > thanks a lot> regards> > >
---------------------------------------------------------------------> To
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL
PROTECTED]>
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us