[Grok-dev] model not getting persisted
tim at se.linux.org
Fri Mar 23 03:49:00 EDT 2007
On Thu, Mar 22, 2007 at 07:41:13PM -0300, Fernando Correa Neto wrote:
> On 3/22/07, Tim Terlegård <tim at se.linux.org> wrote:
> >If I have a model like this the x variable won't survive a server
> >class MyModel(grok.Model):
> > x = PersistentList()
> I don't think it works even in a plain zope3.
I haven't tried this particular example, I just remember I've seen code
similar to this.
Check for instance how lastName etc are initialized in the Contact class
and how fullname is initialized here:
I'm obviously missing something here as I'm confused, please enlighten
More information about the Grok-dev