Dario Lopez-Kästen wrote at 2006-2-13 08:06 +0100:
...
It can -- with some difficulties:
Templates and scripts are called because they define
index_html as None.
If you give a template or script a non-None index_html,
then this object will be called instead of the
Dario Lopez-Kästen wrote:
from a script or template:
container.my_product_instance.some_method(...)
but not
http://some/url/my_product_instance/some_method?...
You could try looking at some kind of __bobo_traverse__ function or
maybe __before_publisher_traverse__. I've probably mispelled
Dieter Maurer said the following on 2006-02-10 19:48:
Dario Lopez-Kästen wrote at 2006-2-10 10:56 +0100:
...
for a product I am writing, i need to experiment with inhibiting
URL-traversal to the methods and subobjects of it. I still wnat the
methods and objects to be available via direct
Greetings,
for a product I am writing, i need to experiment with inhibiting
URL-traversal to the methods and subobjects of it. I still wnat the
methods and objects to be available via direct call, for instance:
from a script or template:
container.my_product_instance.some_method(...)
but
Dario Lopez-Kästen wrote at 2006-2-10 10:56 +0100:
...
for a product I am writing, i need to experiment with inhibiting
URL-traversal to the methods and subobjects of it. I still wnat the
methods and objects to be available via direct call, for instance:
You can use a SiteAccess AccessRule for