Not work :(, say<br><br>Error Type: TraversalError<br>Error Value: ({'args': ()}, 'error_type')<br><br>::::::::::::: /a/b/<a href="http://muestra.pt">muestra.pt</a><br><div <br> tal:condition="exists:request/modo"<br>
tal:on-error="structure context/<a href="http://standard_error.pt">standard_error.pt</a>"<br>><br> <p <br> tal:condition="python:request.modo=='nada'"<br> tal:omit-tag=""<br>
><br> No se a ejecutado ninguna accion<br> </p><br> <p <br> tal:condition="python:request.modo=='ultimos'"<br> tal:content="structure container/<a href="http://muestra_ultimos.pt">muestra_ultimos.pt</a>"<br>
tal:omit-tag=""<br> > <br> </p><br></div><br><br>::::::::: /a/b/<a href="http://muestra_ultimos.pt">muestra_ultimos.pt</a><br><table border="1"><br> <thead><br> <tr><br>
<th>Tipo</th><br> <th>Producto</th><br> <th>Nombre</th><br> <th>Presentacion</th><br> <th>Unidad</th><br> <th>Existencia</th><br>
<th>Total</th><br> <th>Observaciones</th><br> <tr><br> </thead><br> <tbody><br> <tr id="tr" <br> tal:repeat="item context/zsql_producto"<br>
tal:attributes="id python: 'tr_' + repeat.number" <--here is the error what I want catch (how resolve?)<br> ><br> <td tal:content="item/tipo_producto">Tipo</td><br> </tr><br>
</tbody><br></table><br><br><br>::::::::::::: /<a href="http://standard_error.pt">standard_error.pt</a><br><table><br> <tr><br> <th>Tipo</th> <td tal:content="options/error_type ">TipoError</td><br>
<th>Valor</th> <td tal:content="options/error_value ">ValorError</td><br> <th></th> <td tal:content="options/error_tb ">tb</td><br> <th></th> <td tal:content="options/error_traceback ">Raestro en reversa</td><br>
<th></th> <td tal:content="options/error_message">mensaje de error</td><br> <th></th> <td tal:content="options/error_log_url">url de error</td><br>
</tr><br></table><br><br><div class="gmail_quote">2008/10/30 Jeff Peterson <span dir="ltr"><<a href="mailto:jeff.peterson@crary.com">jeff.peterson@crary.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just for independent confirmation he's right, "options" is what you want.<br>
<br>
--<br>
Jeffrey D Peterson<br>
Webmaster<br>
Crary Industries, Inc.<br>
<div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: <a href="mailto:zope-bounces@zope.org">zope-bounces@zope.org</a> [mailto:<a href="mailto:zope-bounces@zope.org">zope-bounces@zope.org</a>] On Behalf Of Andrew Milton<br>
Sent: Wednesday, October 29, 2008 11:02 PM<br>
To: Miguel Beltran R.<br>
Cc: <a href="mailto:zope@zope.org">zope@zope.org</a><br>
Subject: Re: [Zope] standard_error using zpt<br>
<br>
+-------[ Miguel Beltran R. ]----------------------<br>
| Hi List<br>
|<br>
| I remember what old versions from zope haved standard_error using DTML<br>
| How can do it the same using ZPT?<br>
|<br>
| I already try:<br>
| <td tal:content="error/type"><br>
| <td tal:content="python: error.type"><br>
| <td tal:content="context/error/type"><br>
<br>
>From memory the following should be available;<br>
<br>
options/error_type<br>
options/error_value<br>
options/error_tb<br>
options/error_traceback<br>
options/error_message<br>
options/error_log_url<br>
<br>
<br>
--<br>
Andrew Milton<br>
<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a><br>
</div></div>_______________________________________________<br>
Zope maillist - <a href="mailto:Zope@zope.org">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>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<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>