D2W master-detail handling question
D2W master-detail handling question
- Subject: D2W master-detail handling question
- From: Markus Ruggiero <email@hidden>
- Date: Wed, 06 Apr 2011 08:14:06 +0200
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".
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?
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