<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2><FONT face="Times New Roman" size=3>Hi
there, <BR></FONT>
<P> I've see a couple of questions <SPAN class=671115921-10062007>in
the Prototype list </SPAN>about this but none with a direct
<BR>answer. <SPAN class=671115921-10062007>I've also asked there but
haven't had a single answer about that in two days. I'm starting to suspect I
should know better what happen at load page time to see if everything is ok in
this Seaside component.</SPAN></P>
<P><SPAN class=671115921-10062007></SPAN> The thing is that <SPAN
class=671115921-10062007>a couple of days ago </SPAN>I've starting to see this
message with <BR>Firebug. <SPAN class=671115921-10062007>Anybody see this
sometimes? Under</SPAN><SPAN class=671115921-10062007> </SPAN>which situation
could possibly be? <BR></P>
<P><SPAN class=671115921-10062007>Message is:</SPAN></P>
<P>Element.extend is not a function <BR></P>
<P>I'm using <BR></P>
<P>var Prototype = { <BR>10 Version: '1.5.1_rc1', <BR>... <BR></P>
<P>in Firefox 2.0.0.4 <BR></P>
<P> Debuggin from my own code just after it calls a <BR></P>
<P>var candidate = $(anElementId) <BR></P>
<P> I followed this: <BR></P>
<P>function $(element) { <BR>1227 if (arguments.length > 1) { <BR>1228 for
(var i = 0, elements = [], length = arguments.length; i < <BR>length; i++)
<BR>1229 elements.push($(arguments[i])); <BR>1230 return elements; <BR>1231 }
<BR>1232 if (typeof element == 'string') <BR>1233 element =
document.getElementById(element); <BR>1234 return Element.extend(element);
<BR>1235} <BR></P>
<P>and executing line by line I saw that it reaches line 1233 with the
<BR>appropriate (unextended) element and when executing line 1234 it says
<BR>"Element.extend is not a function" <BR></P>
<P>Surely something basic is going on here but I'm unable to see what. <BR>Does
anybody see what is going on? <BR></P>
<P> thanks, <BR></P>
<P>Sebastian <BR>PS<SPAN class=671115921-10062007>1</SPAN>: all this code is
being executed starting from an invocation in the <BR>onLoad() of the script of
the page </P></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=671115921-10062007>PS2: I've
already tried, and had the same results, with the last version of Prototype
1.5.1 downloaded today from it's site (and processed the ' chars to
properly update the #prototypeJs method in SULibrary class).</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=671115921-10062007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=671115921-10062007>PD3: is for
the framework I've mentioned in the previous mail I've sent
today</SPAN></FONT></DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"></SPAN></st1:PersonName> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"></SPAN></st1:PersonName> </P></DIV></SPAN>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV></BODY></HTML>