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.