[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-db
Subject:    Re: [Zope-DB] Problem with Zope, SQL, batching and REQUEST
From:       Charlie Clark <charlie () begeistert ! org>
Date:       2002-10-28 15:46:29
[Download RAW message or body]

On 2002-10-28 at 14:22:14 [+0000], you wrote:
> Hi,
> 
> I've just discovered a problem with batching and ZSQL: it seems my REQUES=
T
> object is disappearing when using next. This affects both DTML and ZPT.
> 
now I know what was causing the problem and I've got a solution for DTML an=
d 
I think I know how this will work with ZPT.

For posterity: use GET instead of POST when working with batches. GET 
appends the item/value pairs of a form onto the end of the URL. The URL 
including and item/value pairs is then literally quoted in the results set 
link. For ZPT it might be necessary to define and reassign all the REQUEST 
pairs and do the linking manually. I'm not a great fan of these huge URLs s=
o 
I'd like another solution. I think a session-object might be the way to do 
it.

Any ideas?

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
D=1Asseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic