<!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 <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> </DIV>
<DIV><SPAN class=904221216-03082004> def
write_js(self):<BR> '''<BR> Writes javascript to the
client in the HEAD.<BR> @see: L{js_links}<BR> @see:
L{js}<BR> '''<BR> for link in
self.js_links:<BR> self.writeln('<SCRIPT
LANGUAGE="JavaScript" SRC="%s"></SCRIPT>'
%link) <BR> if
self.js:<BR> self.__write_head_tag('script', 'text/javascript',
self.js)<BR></SPAN></DIV>
<DIV><SPAN class=904221216-03082004></SPAN> </DIV>
<DIV><SPAN class=904221216-03082004></SPAN> </DIV>
<DIV><SPAN class=904221216-03082004></SPAN> </DIV>
<DIV><SPAN class=904221216-03082004>It would be better to <SPAN
class=245173212-03082004>add</SPAN> it in HTMLPage</DIV></SPAN>
<DIV><SPAN class=904221216-03082004></SPAN> </DIV>
<DIV><SPAN class=904221216-03082004></SPAN><FONT face=Tahoma color=#0000ff
size=1>Villiam</FONT></DIV></SPAN></FONT></DIV></BODY></HTML>