[ZPT] ZPT Dynamic URL

Sukhbir Gill sukhbirgs at gmail.com
Wed Jun 8 17:19:30 EDT 2005


I am trying to create url in Page Template. One variable is coming from 
query. Code is below

<code>
<tal:x repeat="result batch" >
<tr>
<td class="rt_display">
<a href='FAQs/rpt_article_transaction2?id= -------------- '> <span 
tal:replace="result/name">name goes here</span></a><br>
<span tal:replace="result/Summary">Summary goes here</span>
</td>
</tr>
</tal:x>
</code>

I want to insert id in place of ------------- from my result which i can 
display on my page by using 
<span tal:replace="result/id">id goes here</span>. I tried many different 
ways but nothing works.

Any help would be appreciated

Thanks
sukhbir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zpt/attachments/20050608/a90c708a/attachment.htm


More information about the ZPT mailing list