Re: ZPT Dynamic URL

Sukhbir Gill <[email protected]> Wed, 8 Jun 2005 21:26:01 -0600
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
Thanks Phillip, it was a great help. Worked like a charm.
regards
sukhbir

On 6/8/05, Phillip Hutchings <[email protected]> wrote:
> 
> On 09/06/05, Sukhbir Gill <[email protected]> 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/
> [email protected] / [email protected]
>

_______________________________________________
ZPT mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zpt