[Zope] Z-1.10.3, method invocation by URL: why doesn't this work?

Thomas Riedl tom.riedl@linux-ag.de
Fri, 10 Sep 1999 13:51:38 +0200


Hi there,

I just again hit the limited borders of my wanaabe zope zenism:

(for reasons you wouldn't like to read the answer to your obvious
question 'Why?' ;-) I'm still stuck to Zope-1.10.3)

I thought of the following: Have a method 'framify' that inserts headers
& footers 'round a document's body. Call it like
/folder1/folder2/dtmldoc1/framify (just for aesthetics; args DO work, 
but I really like that URLism) and it displays dtmldoc1 in
a nice, headered and footered version.

But this wouldn't work, since I get this:

<error>
Bobo has encountered a problem publishing your object.

Cannot locate object at: http://exit:9673/Zope/tomtest/nummer_2/framify 

Traceback (innermost last):
  File
/mnt/universe/home/zope/Zope-1.10.3-src/lib/python/ZPublisher/Publish.py,
line 877, in publish_module
  File
/mnt/universe/home/zope/Zope-1.10.3-src/lib/python/ZPublisher/Publish.py,
line 420, in publish
    (Info: /tomtest/nummer_2/framify)
  File
/mnt/universe/home/zope/Zope-1.10.3-src/lib/python/ZPublisher/Publish.py,
line 270, in debugError
NotFound: (see above)
</error>


So, what is the difference to e.g. 'manage', which can be called that
way?
Would I need an external method? Does it have to be 'built in' into a
class
or Product to work that way?

Please spend me Zenlightment!

-- 
MfG: Thomas Riedl     |  Linux Information Systems AG  |
http://www.linux-ag.de
Tom.Riedl@Linux-AG.de |    "Linux is our business"     | Tel: 089/99 34
12-0
Tel.: 089/99 34 12-11 |	 			       | Fax: 089/99 34 12-99