"Leslie P. Polzer" <[email protected]> writes:

> Daniel Brooks wrote:
>
>> And apparently the form view is calling that from
>> update-object-view-from-request, right? The objects are certainly being
>> persisted; any new objects that I try to create end up overwriting the
>> first (because they have the same id.)
>
> I've looked at the code.
>
> You can't use object-with-id with Weblocks-Prevalence because
> it initializes the id slot with -1. Use your own object-with-id
> class that initializes the slot with NIL or doesn't bind it at all.

Ah, ok. This should be made more uniform, it seems like it works
differently for each of the storage back ends.

Thanks

db48x

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to