Hi all A couple of times now, I've noticed this: - I open a Python Script using ExternalEditor. A GET is issued, My editor starts up, and a LOCK gets set. - Now I view and execute the script (more GETs) while editing and saving in my editor (PUTs get issued). - That's fine. But then
Hmmm, I think this may be due to a typo in the helper app code. Try applying the attached diff to zopeedit.py and see if it helps. -Casey On Tuesday 04 February 2003 03:58 am, Jean Jordaan wrote: Hi all A couple of times now, I've noticed this: - I open a Python Script using
Hello. I am trying to test a value returned from a Python script using the following syntax: dtml-if expr=dtml-call expr=checkRowLength(fileObject_index, rowLength) == 0 /dtml-if checkRowLength is the name of the script. Apparently Zope flags me with an error saying that this is an invalid
Leonardo Rochael Almeida wrote at 2003-2-3 18:42 -0200: ... Let's not confuse this with TTW public methods. _setObject should obviously not be made TTW accessible (let alone TTW public :-), but it should be a public method, that is, have a sensible name and be specified in an eventual
Hello. Does anyone know how to create a variable in a DTML method which may be updated by a Python script? I am currently using the set method of the REQUEST object to create a variable. However, creating a variable in this fashion renders it permanent. Any help would be appreciated. Thanks.
Other than explictly passing arguments, the shareable namespace, _, is the logical place to exchange such variables btw DTML and Script(Python). However, the namespace object, a TemplateDict, only allows you to PUSH/POP spaces, not set/change variables, so you have to find or provide