rendered paste bodyZpt
<div metal:fill-slot="main" tal:define="fp_descricao request/descricao;
fp_codigo python:context.REQUEST.SESSION.get('tipousuario');
fp_sql python:context.zsql_select_opcoes_acesso(codigo=fp_codigo,descricao=fp_descricao);"
tal:condition="fp_sql">
<script language="JavaScript" src="javascript.js"></SCRIPT>
<table tal:repeat="resultados fp_sql">
<tr>
<td><a tal:define="link resultados/ac_link;"
tal:attributes="onClick string:Abrir('link',120);"
tal:content="resultados/ac_descricao">Descricao</a>
</td>
<!--tal:attributes="href python:string(link)"-->
</tr>
</table>
</div>