Hello, Jonathan and Peter, Thanks for that :) i got the issue fixed up by add "root/static" to lib/myApp/View/TT.pm and yes, 'Static::Simple' was used.
Here's an extract... __PACKAGE__->config({ CATALYST_VAR => 'Catalyst', INCLUDE_PATH => [ myApp->path_to( 'root', 'src' ), myApp->path_to( 'root', 'lib' ), myApp->path_to( 'root', 'static' ), <-- Added this in ], PRE_PROCESS => 'config/main', WRAPPER => 'site/wrapper', ERROR => 'error.tt2', TIMER => 0, }); Thank you for the prompt response/help, guys! K.akimoto Quoting Jonathan Rockway <[EMAIL PROTECTED]>: > * 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: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > > > _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/