Object Attributes in Templates

Author Message

h8 me

Friday 06 May 2005 4:14:32 am

Hallo,

i have a problem:

i need to store an object attribute into an template variable. i'm fetching a list of objects and than i tried sth like :
let id = $:item.object.data_map.id
but it doesn't work. with attribute_view_gui attribute=$:item.... i can see the variable, but not save it !?!?

THX

Ɓukasz Serwatka

Friday 06 May 2005 7:33:03 am

Hi,

What datatype is id? If integer try use $:item.object.data_map.id.data_int

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.