RE: Including javascript in a plugin

2007-04-23 Thread Kertis, Dennis
Sent: Monday, April 23, 2007 4:17 PM To: Struts Users Mailing List Subject: Re: Including javascript in a plugin Good Afternoon Dennis- I dont know if this will help your specific requirement but there is script coded in test.ftl (freemarker script) from struts-showcase-2.0.1 <@s.he

Re: Including javascript in a plugin

2007-04-23 Thread Musachy Barroso
If what you mean is including js files that you can use from your pages, or freemarker, I don't think so. I think it would nice to have a way to map resources to paths in a plugin, like: that would at least solve the problem of packaging js and css files in plugins, as for jsps, I kind of gave

Re: Including javascript in a plugin

2007-04-23 Thread Martin Gainty
Good Afternoon Dennis- I dont know if this will help your specific requirement but there is script coded in test.ftl (freemarker script) from struts-showcase-2.0.1 <@s.head theme="ajax" debug="true" /> click var anchor = dojo.byId("myAnchor"); alert(anchor); dojo.event.connect(anchor,