Hi,

On Wed, Jul 12, 2006 at 02:50:47PM +0000, St├ęphane Brault wrote:
> Hi, 
>  for my application I need to let another site redirect its user to one of my 
> page with an operation and some parameters, giving it this address:
>  http://www.mysite.com/mypage?myOperation&param1=vaue1&param2=value2
>  The values are filled by the other site.
>  How can I do that ?

class MyPageView(BrowserView):
   def __call__(self):
      if 'myOperation' in self.request.form:
         param1=self.request.form['param1']
         param2=self.request.form['param2']
         do_something(param1,param2)

MyPageView has to be either the default view asociated to the 'mypage' object or
a view called 'mypage' associated to the RootFolder object.

Regards,

Frank
         
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to