[Zope] dtml-var in URL

tomas@fabula.de tomas@fabula.de
Thu, 3 Oct 2002 09:42:01 +0200


On Tue, Oct 01, 2002 at 03:16:43PM +0100, Chris Withers wrote:
> Jens Vagelpohl wrote:

[non-valued bits of query string disappearing mysteriously]

> www.site.com/someobject?print
> ...to be mapped into REQUEST as:
> REQUEST.form['print']=None
> 
> What do others think?

Makes a lot of sense (but see below).

> In the meantime, the only way Stephan will get this to work is to butcher 
> QUERY_STRING manually (dodgy, as Jens points out) or use ?print=1 instead.

Or even ?render='print' (seems more close to the actual meaning and brings
about more flexibility -- maybe `print' *was* a value after all (and not a
name) but was too shy to tell ;-)

(Excuse me, it's just too early in the morning |-)

Cheers
-- tomas