[Proto-Scripty] Amazing disappearing namespace

2010-03-23 Thread chrysanthe m
Hi All This is odd. I have been using prototype for months in a jsp included like this perfectly script src='html:rewrite page=/pages/js/prototype-1.6.1.js/' type=text/javascript/script I started to get message that Object.toJSON() is not a function. I then tried accessing Prototype.Version and

Re: [Proto-Scripty] Amazing disappearing namespace

2010-03-23 Thread Jeffrey Peck
Try accessing it directly (i.e. without the html:rewrite)... It seems like it's not being loaded. You also debug with a tool like FireBug to verify that it is being loaded. - Jeff On Mar 23, 2010, at 6:15 PM, chrysanthe m wrote: Hi All This is odd. I have been using prototype for

Re: [Proto-Scripty] Amazing disappearing namespace

2010-03-23 Thread chrysanthe m
Hi Jeff Thank you, I never knew about Firebug. Also I assume if I cant get a string from Prototype.Version, it is indeed not loading. I know that is self-evident, it is I am just delirious that it is not working, has work thousand of time for me before. On Tue, Mar 23, 2010 at 6:33 PM, Jeffrey

Re: [Proto-Scripty] Amazing disappearing namespace

2010-03-23 Thread Jeffrey Peck
The line html:rewrite page=/pages/js/prototype-1.6.1.js/ is server-side code, so it could be that something else has changed in the server configuration that would affect that. All that matters is that the src attribute ends up with a valid path. You could try to view the source of the