[Zope] Forms with external methods?

Michel Pelletier michel@digicool.com
Mon, 17 May 1999 17:03:57 -0400


> -----Original Message-----
> From: Ben Derstine [mailto:bend@ecollege.com]
> Sent: Monday, May 17, 1999 4:17 PM
> To: 'zope@zope.org'
> Subject: [Zope] Forms with external methods?
> 
> 
> Is it possible to use cgi style forms in Web pages with 
> External Methods?
> If not, how does one get data entered by user in a Web page 
> into an External
> Method?
> 

Simply pass REQUEST into your method:

def method(REQUEST):
	...

whan you call it:

<!--#call "method(REQUEST)"-->

-Michel

> Benjamin L Derstine
> RealHelp
> eCollege.com
> 10200 A East Girard Avenue
> Denver, CO 80231
> 
> e-mail:  bend@ecollege.com
> phone:  303-873-7400
> fax:  303-873-7449
> 
> http://www.ecollege.com
> 
> "The Leader in Online Education over the Internet"
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>