Thanks Frank, I didn't know it would be that simple ;-), Zope's strength I guess ;-) Stéphane
----- Message d'origine ---- De : FB <[EMAIL PROTECTED]> À : user-list zope <zope3-users@zope.org> Envoyé le : Mercredi, 12 Juillet 2006, 5h01mn 46s Objet : Re: [Zope3-Users] Getting params in a request 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¶m1=vaue1¶m2=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 _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users