• 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 master-detail handling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W master-detail handling question


  • Subject: Re: D2W master-detail handling question
  • From: David Holt <email@hidden>
  • Date: Wed, 06 Apr 2011 10:01:03 -0700

Hi Markus,

On 2011-04-05, at 11:14 PM, Markus Ruggiero wrote:

> I have a one-2-many relationship from "master" to "detail". The user selects a "detail" from a ListDetail page configuration, then clicks "edit" on a given "detail". In page configuration EditDetail I have a ERD2WEditToOneRelationship as a popup for the toMaster relationship. Now the user thinks/wants to select a different "master" from this popup and switch to that master. Of course this makes no sense. And it also makes no sense business wise to re-assign that particular "detail" to a different "master". However on "new detail" the user must be able to select the "master".

Change your PropertyLevel component to an uneditable string for that relationship in the "edit" page configuration.

In the "create" page configuration leave it as is.

David


>
> How can I easily distinguish between the cases where the detail is not yet saved (in case of new) and where a saved detail is edited so that the relationship toMaster can be made edit/non-edit accordingly?

Use 2 different page configurations?


>
> Thanks
> ---markus---
>
> _______________________________________________
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: D2W master-detail handling question
      • From: Markus Ruggiero <email@hidden>
References: 
 >D2W master-detail handling question (From: Markus Ruggiero <email@hidden>)

  • Prev by Date: Re: Trouble with form
  • Next by Date: Re: Trouble with form
  • Previous by thread: D2W master-detail handling question
  • Next by thread: Re: D2W master-detail handling question
  • Index(es):
    • Date
    • Thread