many thanks. I suppose I did not understand that a request.form object is given all objects &#39;requested&#39; even if they are a macro in a template that is called by another template, or a fill-slot that is satisfied by another template.<br>
<br><div><span class="gmail_quote">On 9/5/08, <b class="gmail_sendername">Andreas Jung</b> &lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<span class="q"><br><br> --On 5. September 2008 13:05:23 -0700 David Bear &lt;<a href="mailto:David.Bear@asu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">David.Bear@asu.edu</a>&gt; wrote:<br>
<br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex"> I would like to test the value of a field entered on a form in a zpt, but<br>
 I&#39;m don&#39;t know the syntax<br><br> basically I would like to do something like this<br><br> &lt;div tal:condition=&quot;request/form/fieldA=1&quot;&gt; do this<br>  &nbsp; &nbsp;&lt;p metal:use-macro=&quot;here/atemplate/macros/may&quot; /&gt;<br>
 &lt;/div&gt;<br></blockquote><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
 but this doesn&#39;t seem to want to work.<br></blockquote><br></span> See<br><br> &lt;<a href="http://www.plope.com/Books/2_7Edition/AdvZPT.stx#2-19" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.plope.com/Books/2_7Edition/AdvZPT.stx#2-19</a>&gt;<span class="q"><br>
<br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex"><br> Also, I would like to be able to use the same request object in both my<br>
 template and the macro, but my macro doesn&#39;s seem to have access to the<br> same request object.<br></blockquote><br></span> This statement is likely wrong since the &#39;request&#39; is always available - and of course there is only &#39;request&#39; object over the lifetime of a HTTP request.<br>
<br> -aj<br><span class="sg"><br><br><br> -aj</span><br>_______________________________________________<br> Zope maillist &nbsp;- &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br> ** &nbsp; No cross posts or HTML encoding! &nbsp;**<br> (Related lists -<br>
 &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br> &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
<br><br clear="all"></blockquote></div><br><br clear="all"><br>-- <br>David Bear<br>College of Public Programs at ASU<br>602-464-0424