Maybe you need to add these rules in your user.d2wmodel file

(task = 'edit' and smartRelationship.isToMany = 0) => componentName = "ERD2WEditToOneRelationship" (com.webobjects.directtoweb.Assignment) (task = 'edit' and smartRelationship.isToMany = 1) => componentName = "ERD2WEditToManyRelationship" (com.webobjects.directtoweb.Assignment)

Saludos,

Daniel.

El 07/09/2009, a las 07:10 p.m., webobjects-dev- [email protected] escribió:

De: "Mr. G Brown" <[email protected]>
Fecha: 7 de septiembre de 2009 05:49:27 p.m. GMT-05:00
Para: David LeBer <[email protected]>
Cc: [email protected]
Asunto: Re: D2W: How to turn on relationship editing?


Hello,


On Sep 7, 2009, at 11:32 AM, David LeBer wrote:

Are they being displayed but are not editable in an edit form?


They are displayed, if there is a linked record in the linked-to- table, it lists the attributes, but not a way that enables to re- link it to a different record.

If there is no linked-to record, there are no attributes to display.

The old D2W from Apple had a relationship edit page, a way to re- link to a different record.

Are you using vanilla WO or Project Wonder?

Project Wonder.


Do you have the relationships specified in your displayPropertyKeys or sectionContents?

No, I have the default displayPropertyKeys, is that my problem? what is a "sectionContents"


;david

--

Thanks

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to