JoseLuis de la Rosa Triviño wrote:
I modified the expression to
{{{python:portal.portal_directories.members[context.aq_parent.getId()].center}}}
At document creation, context aka object is None
AFAIK you can't get your object's container from a field expression
(since the document doesn't exist yet); either change your document's
workflow (adding a script after the create transition), or register an
event handler (there's an example I think on Florent's blog)
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel