Your /sf alias hasn't been set up correctly.

The AJAX helpers automatically add a javascript include from /sf/js/prototype.js

If you haven't configured the alias correctly, then the Prototype JS won't get 
loaded.

----- Original Message -----
From: "Sumedh" <sumedh.inam...@gmail.com>
To: "symfony users" <symfony-users@googlegroups.com>
Sent: Tuesday, February 17, 2009 10:09:56 AM GMT +00:00 GMT Britain, Ireland, 
Portugal
Subject: [symfony-users] Re: Problem with prototype include


The view.yml file has following line -


  javascripts:    []


but no specific mention of the prototype JS...

The template doesn't have anything special...i used an AJAX call in
it, and it spit out the error about that function not being present...

On Feb 12, 5:09 pm, Martino Piccinato <m...@yoolab.com> wrote:
> can we see the template page?
> have you checked you view.yml file to see if prototype is loaded from there?
>
> On Thu, Feb 12, 2009 at 12:49 PM, Sumedh <sumedh.inam...@gmail.com> wrote:
>
> > Hi Friends,
>
> > I just created a new module and a new template page in it.
>
> > I am facing a problem that prototype JS is not getting included in the
> > page. It works fine for other pages on the site so far.
>
> > What might be the cause? :|
>
> > Thanks in advance... :)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to