#{field (_prefix ? _prefix + '.' : 'object.') + _name} %{ if(_value){ if(_type){ currentType = play.Play.classloader.loadClass(_type) } else{ currentType = _value?.getClass() } } else if(_type){ currentType = play.Play.classloader.loadClass(_type) } // Eval fields tags def fieldsHandler = [:] if(_body) { _body.setProperty('fieldsHandler', fieldsHandler); _body.toString(); // we skeep the real result ... } }%

#{list items: _value, as:'obj'} #{crud.objectListItem prefix:field.name, entityId:_id, entityField:_name, itemValue:obj, itemType:currentType, itemIdx:obj_index-1 /} #{/list}
#{/field}