<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><span idspanfor="frame" mlb_idspanflag="true" style="border: 1px solid black; padding: 0px 3px; z-index: 500; font-size: xx-small; font-family: sans-serif; background-color: rgb(214, 227, 254); position: absolute; top: 0pt; left: 0pt;">112</span><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jonathan &lt;dev101@magma.ca&gt;<br><br>

 
<style type="text/css">DIV {
MARGIN:0px;}
</style>


<div><font face="Arial" size="2">&gt;A single 'request' from a user can be handled by 
multiple python scripts (ie. you get a &gt;user request, you invoke script A, script 
A calls script B, script B calls script C...) and all &gt;of the scripts will have 
access to the same REQUEST data (ie. REQUEST will remain &gt;available until you 
send a response back to the user).</font></div><br>Hmmm. I have a problem. The following code works perfectly with the system I have set up on about 400 pages...something I clearly wouldn't want to re-edit...*except* for the 2nd line, which calls a script. Now, that second line *by itself* works just fine!! I've tested both the above scenarios. But in combination, it doesn't work. Why?<br><br>&lt;tal:block metal:define-macro="main"&gt;<br>&lt;div tal:replace="structure here/testing" /&gt;<br>&lt;div <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:condition="here/Quotes | nothing"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:content="structure here/s/getRandomQuote" /&gt;<br>&lt;table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/header_bg.jpg" class=header&gt;<br>&nbsp;&lt;tr&gt;<br>&nbsp; &lt;td width="76"&gt;&lt;img src="images/header_left.jpg" alt="" width="76" height="37"&gt;&lt;/td&gt;<br>&nbsp; &lt;td align="right"&gt;&lt;tal:block
 metal:define-slot="headline"&gt;&lt;span tal:replace="template/title_or_id" /&gt;&lt;/tal:block&gt;&lt;/td&gt;<br>&nbsp; &lt;td width="76"&gt;&lt;img src="images/header_right.jpg" alt="" width="76" height="37"&gt;&lt;/td&gt;<br>&nbsp;&lt;/tr&gt;<br>&lt;/table&gt;<br>&lt;table width="95%" border="0" cellspacing="0" cellpadding="0" class=main align="center"&gt;<br>&lt;tr&gt;<br>&nbsp; &lt;td&gt;&lt;br&gt;<br><br>&lt;!-- START TEXT SLOT --&gt; <br>&lt;tal:block metal:define-slot="text"&gt;&lt;/tal:block&gt;<br>&lt;!-- END TEXT SLOT --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp; &lt;/td&gt;<br>&lt;/tr&gt;<br>&lt;tr&gt;<br>&nbsp; &lt;td&gt;<br><br>&lt;br /&gt;&amp;#160;&lt;br/&gt;<br><br>&lt;!-- START FOOTER SLOT --&gt;<br>&lt;tal:block metal:define-slot="footer"&gt;<br>&nbsp; &lt;span metal:use-macro="here/templates/frame_footer/macros/main"&gt;&lt;/span&gt;<br>&lt;/tal:block&gt;<br>&lt;!-- END FOOTER SLOT --&gt;<br><br><br>&nbsp;
 &lt;/td&gt;<br>&lt;/tr&gt;<br>&lt;/table&gt;<br><br>&lt;/tal:block&gt;<br><br><br>TIA,<br>Nancy<br></div></div></div><br>

<hr size=1>Access over 1 million songs - <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited.</a></body></html>