Re: [Zope] FSSession newbie problem

2000-06-08 Thread Marcello Lupo
Pavlos Christoforou wrote: Hi Marcello On Wed, 7 Jun 2000, Marcello Lupo wrote: and macically i obtain the same error. this is the code i used: dtml-call FSSession dtml-unless "FSSession.has_key('cart')" dtml-call "FSSession.set('cart',{})" /dtml-unless dtml-call

[Zope] FSSession newbie problem

2000-06-07 Thread Marcello Lupo
Hello, i'm trying to use the FSSession to have a little shopping cart for e-commerce. I can initialize the dictionary named "cart" and it is created in the datafile. When i try to update it with the data from my form i get the error: Zope Error Zope has encountered an error while

Re: [Zope] FSSession newbie problem

2000-06-07 Thread Pavlos Christoforou
Hi Marcello On Wed, 7 Jun 2000, Marcello Lupo wrote: and macically i obtain the same error. this is the code i used: dtml-call FSSession dtml-unless "FSSession.has_key('cart')" dtml-call "FSSession.set('cart',{})" /dtml-unless dtml-call "FSSession['carrello'].update(REQUEST.form)"