Hi,

I think it should be ${asset:context:scriptaculous/prototype.js}" without the 
leading /.

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
> 
>

Reply via email to