[ZPT] Building a link

Edward Muller edwardam at interlix.com
Mon Aug 4 15:18:14 EDT 2003


<a tal:define="id order/getId" attributes="href string: depot?${id}"
tal:content="id"/>

untested (just in case I typo'd or thinko'd :-)

Read The Zope Book, Chapters 9, 13 & 26
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/

On Mon, 2003-08-04 at 13:38, Simon Faulkner wrote:
> How do I build a link?
> 
> I want:
> 
> <a href="depot?depot=Macclesfield>Macclesfield</a>
> 
> Where
> <a href="depot?"><span tal:content="order/getId"></span></a>
> 
> Gets close but no cigar...
> 
> TIA
> 
> Simon
> 
> _______________________________________________
> ZPT mailing list
> ZPT at zope.org
> http://mail.zope.org/mailman/listinfo/zpt
-- 
Edward Muller

Interlix (http://www.interlix.com)
Phone: 417-862-0573 - Cell: 417-844-2435 - Fax: 417-862-0572

Web Hosting - PC Service & Support - Custom Programming - Network Service & Support
Specializing in Open Source Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.zope.org/pipermail/zpt/attachments/20030804/4f952b51/attachment.bin


More information about the ZPT mailing list