The application is already designed with dtml. This is a little change. <br>Before I rename it the fields in zsql to avoid conflicts.<br><br><br><br><div class="gmail_quote">2008/11/8 Andreas Jung <span dir="ltr">&lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Any particular reason for using DTML instead of ZPT? DTML is dead.<br>
<br>
-aj<div><div></div><div class="Wj3C7c"><br>
<br>
On 06.11.2008 20:53 Uhr, Miguel Beltran R. wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi list<br>
<br>
After read <a href="http://plope.com/Books/2_7Edition/AppendixA.stx#2-19" target="_blank">http://plope.com/Books/2_7Edition/AppendixA.stx#2-19</a> I tried<br>
use two dtml-in for get information from zsql diferents, but say &quot;This<br>
resource may be trying to reference a nonexistent object or variable<br>
*&#39;x_var_region&#39;*.&quot;<br>
<br>
what is missing?<br>
<br>
The first dtml-in (prefix=&quot;q&quot;) only return one record.<br>
The second dtml-in return 12 records.<br>
<br>
[code]<br>
&lt;dtml-in expr=&quot;zsql_taller(<br>
zregi=bregi, ztall=btall)&quot;<br>
prefix=&quot;q&quot;&gt;<br>
&lt;p&gt;<br>
&lt;form class=&quot;formulario&quot; action=&quot;estado.html&quot; id=&quot;main_form&quot;<br>
name=&quot;main_form&quot;&gt;<br>
&lt;input type=&quot;hidden&quot; name=&quot;accion&quot; value=&quot;insertar&quot; /&gt;<br>
<br>
&lt;ul&gt;<br>
&lt;li&gt;&lt;label for=&quot;bregi&quot; class=&quot;titulo&quot;&gt;REGION&lt;/label&gt;<br>
&lt;select id=&quot;bregi&quot; name=&quot;bregi&quot;&gt;<br>
&lt;dtml-in dime_region prefix=&quot;x&quot;&gt;<br>
&lt;option value=&quot;&lt;dtml-var x_var_region&gt;&quot; &lt;--- Here try access tha variable<br>
&lt;dtml-if expr=&quot;x_var_region==q_var_region&quot;&gt;selected&lt;/dtml-if&gt;<br>
&nbsp;&gt;<br>
&lt;/option&gt;<br>
&lt;/dtml-in&gt;<br>
&lt;/select&gt;<br>
&lt;/li&gt;<br>
&lt;/ul&gt;<br>
<br>
&lt;/form&gt;<br>
&lt;p&gt;<br>
&lt;/dtml-in&gt;<br>
--<br>
________________________________________<br>
Lo bueno de vivir un dia mas<br>
es saber que nos queda un dia menos de vida<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Zope maillist &nbsp;- &nbsp;<a href="mailto:Zope@zope.org" target="_blank">Zope@zope.org</a><br>
<a 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 href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 &nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</blockquote>
<br>
<br>
-- <br>
ZOPYX Ltd. &amp; Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany<br>
Web: <a href="http://www.zopyx.com" target="_blank">www.zopyx.com</a> - Email: <a href="mailto:info@zopyx.com" target="_blank">info@zopyx.com</a> - Phone +49 - 7071 - 793376<br>
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535<br>
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK<br>
------------------------------------------------------------------------<br>
E-Publishing, Python, Zope &amp; Plone development, Consulting<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>________________________________________<br>Lo bueno de vivir un dia mas<br>es saber que nos queda un dia menos de vida<br>