[Zope-dev] Simulate DTML-Method Proxy-Roles for python-product-methods ?

2000-11-15 Thread Martin Grönemeyer
Hello. I've started to implement a small Product in Python. One method should be able to access an object in a folder which isn't accessible by anonymous but only by a special role. Is it possible to give a proxy-role to the python-method to access this object ? cheers Martin i.A. Martin

Re: [Zope-dev] Question: How can instatiate a Zclass from python.

2000-11-03 Thread Martin Grönemeyer
t argument. self.aq_acquire('Control_Panel').Products.NameOfYourZClassProduct.NameOfYour ZClass(Instance-Parameter) Good luck. i.A. Martin Grönemeyer Technik || | || c o m.u n i t G m b H ||| | | || | | | | | | | | http://www.comunit.de/ mailto:[EMAIL PROTECTED] Eiffestr. 598 205

[Zope-dev] Namespace trouble

2000-09-28 Thread Martin Grönemeyer
Hello everyone, if've had little namespace problems with this code-snipped (dtml-method): dtml-with REQUEST dtml-in "[1,2,3,4,5,6,7,8]" dtml-call "REQUEST.set('row_index',_['sequence-index'])" dtml-var "REQUEST.get('row_index')" dtml-var row_index /dtml-in /dtml-with This produces an

[Zope-dev] Nameconflict 'Property' and Object in Folder

2000-07-25 Thread Martin Grönemeyer
Hi all, has there some discussions about a name conflict, if I start to add an object to a folder with an object-id wich is also a Property of the folder ? In the method _checkId of the ObjectManager e.g. the folder is checked with hasatrr(this,id). And this is true if there exists a property

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-19 Thread Martin Grönemeyer
i have some strange problmes by using the "REQUEST.resolve_url('http://mydomain/...')" in DTML if SiteAccess is active. I have also some Sites in use without SiteAccess and no problems with the above method. Tell me more about the problem, please. SiteAccess replaces REQUEST.traverse, which