[ZPT] ZPT Dynamic URL

Sukhbir Gill sukhbirgs at gmail.com
Wed Jun 8 23:26:01 EDT 2005


Thanks Phillip, it was a great help. Worked like a charm.
regards
sukhbir

On 6/8/05, Phillip Hutchings <sitharus at gmail.com> wrote:
> 
> On 09/06/05, Sukhbir Gill <sukhbirgs at gmail.com> wrote:
> > 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
> 
> <a tal:attributes="href 
> string:FAQs/rpt_article_transaction2?id=${result/id}">
> 
> 
> --
> Phillip Hutchings
> http://www.sitharus.com/
> sitharus at gmail.com / sitharus at sitharus.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zpt/attachments/20050608/c9babf49/attachment.htm


More information about the ZPT mailing list