Forum OpenACS Development: Re: Object Management

Collapse
3: Re: Object Management (response to 1)
Posted by Dave Bauer on
Thanks.

New Question.

Is there a way to model one-many relationships with Acs Object Management?

Seems like a handy thing to be able to do.

I have no idea how that would work though...

Collapse
4: Re: Object Management (response to 3)
Posted by Torben Brosten on
Dave,

You mean besides using a one_object_id_to_many_id_map table?

Collapse
5: Re: Object Management (response to 3)
Posted by Ryan Gallimore on
Hi Dave,

Just create a naturalnum attribute on your object without a corresponding form widget and reference this back to its parent object.

Any foreign key constraints have to be created separately in a SQL script.