After thinking about this some more, I guess the best answer is to avoid it in the first place. Keep complex JavaScript in ".js" files. If the JavaScript in your JSP is using a feature like this, it probably belongs in a JS module.
> -----Original Message----- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2008 5:04 PM > To: Struts Users Mailing List > Subject: RE: Any issues using latest Dojo with Struts2? > > Oh, the templates? Yeah, if you tried to use that notation on > a JSP page it would cause a problem. I'd imagine escaping the > $ would work, although I haven't tried it. > > Dave > > --- "Karr, David" <[EMAIL PROTECTED]> wrote: > > > The following link into the "Dojo Book" has an example. There are > > others throughout the book. The "${...}" is substituted on > the CLIENT > > side. > > > > http://dojotoolkit.org/node/3161 > > > > > -----Original Message----- > > > From: Dave Newton [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, March 20, 2008 1:41 PM > > > To: Struts Users Mailing List > > > Subject: Re: Any issues using latest Dojo with Struts2? > > > > > > --- "Karr, David" <[EMAIL PROTECTED]> wrote: > > > > Isn't it the case that Struts2 integrates Dojo, but a version > > > > older than the latest Dojo version? > > > > > > Yes. > > > > > > > Should I expect any difficulties if I try to use the latest > > > Dojo in a > > > > Struts2 application? > > > > > > Not if you're not trying to combine the two versions; you can use > > > "naked" > > > Dojo in an S2 app just like you would in any other framework. > > > > > > > I also see that Dojo uses "${...}" references for variable > > > substitution. > > > > Will that cause problems if this code is in a JSP? > > > > > > I'm not sure what you mean there; do you have a link to > what you're > > > referring to? > > > > > > Dave > > > > > > > > > > -------------------------------------------------------------------- > > > - 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] > > > > > > > --------------------------------------------------------------------- > 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]