have that outputs javascript (using parseExtensions). You can return
pure javascript from ajax calls and have that code executed in the
browser.
I have only ever used rss, xml, and a few of my own like xls and
mms... never js, though.
/Martin
On Dec 1, 1:40 pm, Dave <davidcr...@gmail.com> wrote:
> I believe that is there so when you are coding your layouts, if you link to
> js/whatever.js it will redirect to the proper app/webroot/js folder
>
>
>
> On Tue, Dec 1, 2009 at 7:01 AM, thomaus <tho...@saimiris.com> wrote:
> > Hi,
>
> > Just a simple question. I can't figure out why is there a default
> > Views/layouts/js/ folder in Cake. I thought that all the Javascripts
> > should go into webroot/js/
>
> > Does anybody know?
>
> > Thanks in advance.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment