• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2W: How to turn on relationship editing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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)

Saludos,

Daniel.

El 07/09/2009, a las 07:10 p.m., email@hidden escribió:

De: "Mr. G Brown" <email@hidden>
Fecha: 7 de septiembre de 2009 05:49:27 p.m. GMT-05:00
Para: David LeBer <email@hidden>
Cc: email@hidden
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

  • Prev by Date: Re: D2W: How to turn on relationship editing?
  • Next by Date: Re: EOF inheritance
  • Previous by thread: Re: D2W: How to turn on relationship editing?
  • Next by thread: FrontBase Error "Datatypes are not comparable or don't match"
  • Index(es):
    • Date
    • Thread