[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 got:
Prototype is not defined.
That should give a string of the version, correct?  I dropped down another
version and same.  Ideas?

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



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 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 got:

Prototype is not defined.
That should give a string of the version, correct?  I dropped down  
another version and same.  Ideas?


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


--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



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 Peck jeff.p...@snet.net wrote:

 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 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 got:
 Prototype is not defined.
 That should give a string of the version, correct?  I dropped down another
 version and same.  Ideas?

 --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To post to this group, send email to
 prototype-scriptacul...@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.


 --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To post to this group, send email to
 prototype-scriptacul...@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



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 page or even have the page output somewhere  
else the result of html:rewrite page=/pages/js/prototype-1.6.1.js/  
to find where it is really pointing.  My guess is it's not pointing to  
a valid file.


On Mar 23, 2010, at 7:57 PM, chrysanthe m wrote:


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 Peck jeff.p...@snet.net  
wrote:
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 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 got:

Prototype is not defined.
That should give a string of the version, correct?  I dropped down  
another version and same.  Ideas?


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


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




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


--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.