[ZPT] building a href in zpt

Kenneth Gonsalves lawgon at thenilgiris.com
Fri Jun 17 02:35:44 EDT 2005


hi,
i have a postgres table like so:

id integer
name varchar

i want to list the contents of the table and build an href like this:

<a href="foo.bar.com/edit?id=someid">name</a>

my zpt code so far is:

<a tal:attributes="href string:${portal_url}/editdemo?="
 tal:content="result/name">name</a>

but i cant figure out how to insert the tal:contern="result/id" after 
the '?='

any clues?


-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!


More information about the ZPT mailing list