[Zope] FSSession and external methods...
Tony McDonald
tony.mcdonald@ncl.ac.uk
Tue, 21 Mar 2000 12:39:57 +0000
Hi all,
Anyone got any experience with FSSession and external methods
(actually a PythonMethod).
I want to get the data out of an FSSession object using this construct-type
<argument>self</argument>
FS = self.FSSession
out = ""
for k,v in FS.items():
out = out + "K:%s, V:%s<br>" % (k,v)
return out
and get this;
<!--
Error type: AttributeError
Error value: _v_data
-->
Looking at FSSession.py, _v_data is there as part of the FSSession class;
def items(self): return self._v_data.items()
but it's not getting through to the method.
Anyone got a fixe for this? I need to do some heavy processing with
the contents of the FSSession object so I can't *really* use DTML.
TIA
tone.
------
Dr Tony McDonald, FMCC, Networked Learning Environments Project
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2