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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to programming...@mac.com

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

This email sent to arch...@mail-archive.com

Reply via email to