[Zope] Totaly dynamic path?

Max M maxm@mxm.dk
Fri, 05 Jul 2002 08:39:19 +0200


Roger wrote:

>how can I construct a dynamic path like:
>getattr(self, 'personManager').getData().addPerson( firstname='max',
>lastname='miller')
>  
>

I think you got it backwards how you usually do it in Zope.

Normally you would create a product, and then you would create a 
function in that product that is a constructor, ie. it constructs new 
instances of your product in Zope.

You then register that function in Zope,

If you try to do it your way, you need to create your own security 
mechanism end other things that Zope do for you otherwise.

See the minimal product for more info about how it works.

regards Max Miller

-- 

"Sorry I would Really Like To Help More On This Project,
But Am To Busy Doing Paid Work On A Tight Deadline"
    Max M