* On Fri, Jul 18 2008, [EMAIL PROTECTED] wrote:
>  Did this work?
>    I have actually tried this and yes, like Emily,my JS stuff is store
> in myapp/root/lib/site .
>
>
>     <script src="[% Catalyst.uri_for('/multifile.js') %]"></script>
>
>
> Does not work.
>  Did I miss anything out?  

Unless you have an action that matches "/multifile.js", nothing is going
to happen when that URL is visited.  If you use Static::Simple, put the
javascript in /static, and link via $c->uri_for('/static/multifile.js'),
then something will happen.

Someone else suggested linking to '/lib/site/multifile.js'.  I don't
think that will work either.

Regards,
Jonathan Rockway

-- 
print just => another => perl => hacker => if $,=$"

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to