Re: Master-Detail edit page
Re: Master-Detail edit page
- Subject: Re: Master-Detail edit page
- From: Mark Morris <email@hidden>
- Date: Fri, 3 Feb 2006 14:15:42 -0600
Hello,
It's true that you have to be careful about that, but it's only an issue if you're adding to or deleting from a list in a repetition in which the action link resides. So for editing an existing child or for adding to the list (where the "add" button would be outside the repetition), there wouldn't be any cause for a problem. It's only on deleting where there is even a potential for a problem, and there are ways to avoid the issue there as well.
So if it really makes more sense from a user-interface perspective to have it on one page, it can be done.
Regards, Mark On Feb 3, 2006, at 1:57 PM, Jerry W. Walker wrote: Hi, John,
On Feb 3, 2006, at 2:04 PM, John Huss wrote: It is possible and/or wise to have master and detail objects inserted/edited on the same page? I'm have trouble with it.
I've done it, but, by and large, it's easier with two separate pages. If you keep both on one page, you'll generally find that your detail list size changes dynamically and that has to be controlled carefully so you don't fall prey to the change-of-WO-template-in-the-middle-of-the-Request-Response-Cycle problem.
This problem has cropped up and been posted to the list several times. Here is a description of the problem and its source in response to another list correspondent last summer. Note the last paragraph of the response where the problem is described. Read that first and you'll better understand what precedes it.
If you build two pages around WODisplayGroups, you can simply drag-and-drop the entity of the master and the relationship to the detail from the EOModel to your respective pages and have a lot of this infrastructure built for you quickly.
Regards, |
_______________________________________________
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