112
----- Original Message ----
From: Jonathan <dev101@magma.ca>

>A single 'request' from a user can be handled by multiple python scripts (ie. you get a >user request, you invoke script A, script A calls script B, script B calls script C...) and all >of the scripts will have access to the same REQUEST data (ie. REQUEST will remain >available until you send a response back to the user).

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?

<tal:block metal:define-macro="main">
<div tal:replace="structure here/testing" />
<div
      tal:condition="here/Quotes | nothing"
      tal:content="structure here/s/getRandomQuote" />
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/header_bg.jpg" class=header>
 <tr>
  <td width="76"><img src="images/header_left.jpg" alt="" width="76" height="37"></td>
  <td align="right"><tal:block metal:define-slot="headline"><span tal:replace="template/title_or_id" /></tal:block></td>
  <td width="76"><img src="images/header_right.jpg" alt="" width="76" height="37"></td>
 </tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0" class=main align="center">
<tr>
  <td><br>

<!-- START TEXT SLOT -->
<tal:block metal:define-slot="text"></tal:block>
<!-- END TEXT SLOT -->
         
  </td>
</tr>
<tr>
  <td>

<br />&#160;<br/>

<!-- START FOOTER SLOT -->
<tal:block metal:define-slot="footer">
  <span metal:use-macro="here/templates/frame_footer/macros/main"></span>
</tal:block>
<!-- END FOOTER SLOT -->


  </td>
</tr>
</table>

</tal:block>


TIA,
Nancy


Access over 1 million songs - Yahoo! Music Unlimited.