[Zope] From DTML to ZPT i need help

Andrew Milton akm at theinternet.com.au
Fri Sep 28 15:47:33 EDT 2007


+-------[ Dieter Maurer ]----------------------
| Andrew Milton wrote at 2007-9-29 01:01 +1000:
| > ...
| >Try this as a starting point, not guaranteed to be pretty or correct.
| >
| ><div tal:repeat="item news/zCatNewsCurrent" tal:define="article item/absolute-url">
| 
| Be careful: "tal:define" is evaluated before "tal:repeat" (independent
| of the textual appearance as attribute).

But if I just did all his homework for him, he'd never learn anything.

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list