Re: D2W: How to turn on relationship editing?
Re: D2W: How to turn on relationship editing?
- Subject: Re: D2W: How to turn on relationship editing?
- From: Daniel Mejía <email@hidden>
- Date: Mon, 7 Sep 2009 19:56:30 -0500
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)
Fecha: 7 de septiembre de 2009 05:49:27 p.m. GMT-05:00
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden