In INameChooser

chooseName(self, name, object)

method takes default object name and the object you are adding.  Thru
this object I would expect you to have access to attributes of your
object entered in the objects add form.  Unless the fields in your
form you need access to are not in your object's schema.  If this is
the case not sure if you could maybe extend your persistent schema
interface with another interface containing your non-persistent fields
and somehow have access to those in chooseName().  Haven't tried this
though :)


On 9/11/05, Florian Lindner <[EMAIL PROTECTED]> wrote:
> A INameChooser adapter would really be perfect for me. But I need access to
> the form data of the add form. And AFAIK I don't have this using the
> NameChooser. You now a way to get the form data in the NameChooser?
> Thanks,
> Florian
Zope3-users mailing list

Reply via email to