• 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: Master-Detail edit page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

http://lists.apple.com/archives/Webobjects-dev/2005/Jul/msg00509.html

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,
Jerry

 _______________________________________________
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

References: 
 >Master-Detail edit page (From: "John Huss" <email@hidden>)
 >Re: Master-Detail edit page (From: "Jerry W. Walker" <email@hidden>)

  • Prev by Date: Re: Master-Detail edit page
  • Next by Date: Chart with WebObjects
  • Previous by thread: Re: Master-Detail edit page
  • Next by thread: Chart with WebObjects
  • Index(es):
    • Date
    • Thread