15 Oct
2008
15 Oct
'08
11:41 a.m.
Hamzat Kamal wrote:
Hi,
I just want to why <dtml-var "xx.getProperty('title')"> will display the object title and and <dtml-var "xx.getProperty('id')"> will dispaly none.
apart from the fact that you probably should start using TAL instead of DTML,
<dtml-let xx=" _.getitem('id')"> <dtml-var "xx.getProperty('title')"> <dtml-var "xx.getProperty('id')"> </dtml-let>
Did you look at the resulting output? Not the HTML rendered in the browser but the source - "view source" in the browser. Regards Tino