Why would you need to refer to prototype.js? If you simply inlcude any JavaScript on the page, via RenderSupport, it is added to the rendered page automatically.
On Tue, Mar 17, 2009 at 6:37 AM, ningdh <ningd...@gmail.com> wrote: > Hi, > > I think it should be ${asset:context:scriptaculous/prototype.js}" without the > leading /. This is not going to work. > > DH > > ----- Original Message ----- > From: "Angelo Chen" > To: <users@tapestry.apache.org> > Sent: Tuesday, March 17, 2009 8:51 PM > Subject: t5: referring to prototype.js in html > > >> >> Hi, >> >> I need to refer to prototype.js in a html, here is what I did: >> <script type="text/javascript" >> src="${asset:context:/scriptaculous/prototype.js}" /> >> but got exception like this: >> Could not convert 'asset:context:/scriptaculous/prototype.js' into a >> component parameter binding: Unable to locate asset >> 'context:scriptaculous/prototype.js' (the file does not exist). >> >> any idea? thanks >> -- >> View this message in context: >> http://www.nabble.com/t5%3A-referring-to-prototype.js-in-html-tp22558456p22558456.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org