[Zope3-Users] error when adding with +/@@

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jun 19 18:26:11 EDT 2007


On Sunday 10 June 2007 07:10, Christophe Combelles wrote:
> I'm wondering why there is an error when adding an object (for ex a file)
> with
>
> +/@@zope.app.file.File
> or
> +/++view++zope.app.file.File
>
> while there is none when adding with
>
> +/zope.app.file.File
>
>
> zope.app.file.File is not a view for "+" ?

No, it is not. The "+" view does some traversal magic to extract the next 
traversal step. The next step is then used as a string to look up the view 
factory.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list