<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=245173212-03082004>
<DIV><SPAN class=904221216-03082004>I&nbsp;<SPAN class=245173212-03082004>had 
</SPAN>subclassed write_js in HTMLPage in order to have link as css_links 
</SPAN></DIV>
<DIV><SPAN class=904221216-03082004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=904221216-03082004>&nbsp;def 
write_js(self):<BR>&nbsp;&nbsp;'''<BR>&nbsp;&nbsp;Writes javascript to the 
client in the HEAD.<BR>&nbsp;&nbsp;@see: L{js_links}<BR>&nbsp;&nbsp;@see: 
L{js}<BR>&nbsp;&nbsp;'''<BR>&nbsp;&nbsp;for link in&nbsp; 
self.js_links:<BR>&nbsp;&nbsp;&nbsp;self.writeln('&lt;SCRIPT 
LANGUAGE="JavaScript" SRC="%s"&gt;&lt;/SCRIPT&gt;' 
%link)&nbsp;<BR>&nbsp;&nbsp;if 
self.js:<BR>&nbsp;&nbsp;&nbsp;self.__write_head_tag('script', 'text/javascript', 
self.js)<BR></SPAN></DIV>
<DIV><SPAN class=904221216-03082004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=904221216-03082004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=904221216-03082004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=904221216-03082004>It would be better to&nbsp;<SPAN 
class=245173212-03082004>add</SPAN> it in HTMLPage</DIV></SPAN>
<DIV><SPAN class=904221216-03082004></SPAN>&nbsp;</DIV>
<DIV><SPAN class=904221216-03082004></SPAN><FONT face=Tahoma color=#0000ff 
size=1>Villiam</FONT></DIV></SPAN></FONT></DIV></BODY></HTML>