Re: [Zopexmlmethods-devel] Override variable definitions via query string?
Brought to you by:
arielpartners,
philikon
From: Philipp v. W. <ph...@we...> - 2003-05-21 11:44:43
|
Brent M Hendricks wrote: >>> kw.update(REQUEST.form) >> >> Please correct me if I'm wrong but I don't think REQUEST.form is quite >> enough because it only contains form values. We'd need at least >> REQUEST.other, but looking at the (quite ugly) code of HTTPRequest, >> I'd say: >> form >> cookies >> environ >> other > > I think that might be overkill. Just because something appears in > REQUEST doesn't make it an automatic candidate for stylesheet > parameters. There is a definite use case for REQUEST.form and I could > probably make one for REQUEST.cookies. But the others strike me as > unnecessary and even unwanted, since neither the user nor the stylesheet > creator has direct control over them. You're right, looking at it from the use case perspective is probably a better way. However, I think that the REQUEST.others dict does contain useful information, or where are GET parameters written to? REQUEST.form? Anyhow, I'm sorry to say that I'm running out of time. I'm in the middle of packing things for Mexico. I don't think I'll be able to make the changes. Sorry. Philipp |