I moved some of my favorite scripts from PythonMethods to PythonScripts. It's very nice. :-) But now my view_source doesn't work. It isn't much more than what zope.org has: http://docwhat.gerf.org:9673/view_source/view_source However, it doesn't work for Python Scripts! Example: http://docwhat.gerf.org:9673/breadcrumbs/view_source It is as if it ignores the view_source at the end. Very bothersome. Why is this? Is this something I have to manually include in each and every Python Script I write? Or what? I'm using Zope 2.3.1 Ciao! -- Counting in octal is just like counting in decimal--if you don't use your thumbs. -- Tom Lehrer The Doctor What: Second Baseman http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC
If your Script has a name set on the Bindings tab for subpath traversal, it will capture the traversal path in the named variable. To turn this off, delete the binding. Cheers, Evan @ digicool
* Evan Simpson (evan@digicool.com) [010418 16:28]:
If your Script has a name set on the Bindings tab for subpath traversal, it will capture the traversal path in the named variable. To turn this off, delete the binding.
Whoohoo! You are the DA BOMB! (etc, etc.) I would like to propose that this is turned off by default because it would seem to massively change the behaviour of an object. Sort of the principle of the least suprise. Ciao! -- "Well Pumpkins, It looks like it comes down to that age old decision: Style or Substance. Hmmmmmm....." --Vida and the "Girls" ( To Wong Foo, Thanks for everything, Julie Newmar ) The Doctor What: Guru to the Gods http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC
participants (2)
-
Evan Simpson -
The Doctor What