[Zope] How to access a dtml-var from a python method?

2001-01-22 Thread Rommel Novaes Carvalho

Hi everybody,
 
 I would like to know how can I access a variable that I have on
a html form, for instance, in my python method and work with this variable
in python? I tried to pass as a parameter, like 
def method(dtml-var variable):
 ...
 if dtml-var variable == ...
 
and of course it did not work, I would be really glad if any of you could
help me.
 
 
 
Thanks in Advance,
Rommel Novaes
Carvalho

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How to access a dtml-var from a python method?

2001-01-22 Thread Tim Cook

Rommel Novaes Carvalho wrote:
 
 Hi everybody,
 
  I would like to know how can I access a variable that I have on
 a html form, for instance, in my python method and work with this variable

http://www.zope.org/Documentation/How-To/ExternalMethods

or

http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/A30C9F2CC19B3AE8 

(Just trying to take some of the load off of Dieter vbg)

-- Tim Cook, President --
Free Practice Management,Inc. | http://www.FreePM.com Office:
(901) 884-4126
"Nearly everyone will lie to you given the  right
circumstances."  
- Bill Clinton

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )