http://tapestry.apache.org/tapestry4.1/usersguide/script.html see the <include-script> element
On Tue, Mar 25, 2008 at 1:15 PM, Grigoris Ioannou <[EMAIL PROTECTED]> wrote: > Hi all, > > I am including lots of javascript in my code through e.g. > <span jwcid="@Script" script="/script/myscript.xml" /> > Tapestry includes the whole source of the javascript files in the page > source, > which results in pages whose source may be consisting of hundreds of lines > of java code. > > Is there a way to avoid this? > > For instance, instead of including them, a > <script src='...' type='text/javascript'></script> > wouldnt be sufficient? > > Grigoris > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]