[Erp5-dev] RelationStringField - Container Getter Method

Romain Courteaud romain at nexedi.com
Mon May 21 15:20:56 CEST 2007


* Shresth K [2007-05-21 14:26:35 +0530]:

> Hello,

Hello,

> 
> Can anyone please explain the use of this field in some detail:
> 
> This is what the wiki has -
> 
> "Container Getter Method :
> Method called to find the container in which new object will be created if
> creation is allowed."
> 
> The immediate questions which arise are:
> 1. What is the expected return value from the method?
> 2. Is it somehow possible to choose for the end-user, which container the
> object will be created in provided the user has access to multiple candidate
> containers?

Currently, this parameter is not used at all by the RelationStringField,
and was probably removed by mistake.

The expected beheviour was to return the container object, and it was
not possible for the user to choose where to create the object.
http://svn.erp5.org/?view=rev&revision=5582

Regards,
Romain



More information about the Erp5-dev mailing list