[ZPT] Newbie
Geir Bækholt
lists at elvix.com
Mon Aug 4 20:53:37 EDT 2003
On Mon, 4 Aug 2003 18:46:01 +0100 GMT (..19:46 where i live(GMT+2) )
Simon Faulkner asked the ZPT mailinglist about the following:
> The code
> <tr tal:repeat="order here/Countries/objectValues">
> <td class=orders><span tal:content="order/getId"></span></td>
> </tr>
> Will list all the countries :-)
> But how do I get
> <H1 tal:content="user/getUserName">Country</h1>
> the username into the here/Countries/USERNAME/objectvalues?
<untested>
<table tal:define="username user/getUserName">
<tr tal:repeat="order here/Countries/?username/objectValues">
</untested>
:)
--
Geir Bækholt
More information about the ZPT
mailing list