• 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: More Embedded D2W Questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Embedded D2W Questions...


  • Subject: Re: More Embedded D2W Questions...
  • From: Johnny Miller <email@hidden>
  • Date: Mon, 11 Mar 2013 17:23:14 -1000

Well, I don't think I did anything particularly clever but I got what I wanted.

I just created a rule that said if pageConfiguration like "EditToMany*" the task is edit.  Another rule that says the subtask is pick.  Then I created rule that said if task = 'edit' and subtask = 'pick' the repetitionComponentName is a D2W component that I created that subclass ERDAttributeRepetition.

Then there are some app level rules that pass in the relationship key and the entity name of the destination.  I use those keys to get the list of objects and to add/remove them from the relationship.

I'm really learning to love D2W.  It's amazing how much code I've removed from my app already.

Best,

Johnny

On Mar 11, 2013, at 2:57 PM, Johnny Miller <email@hidden> wrote:

> Hello everyone,
>
> I'm trying to get my head around the ERXD2WPick.  I'm assuming this is the component for displaying a list of objects that will be assigned to a to-many relationship.
>
> Is there a good example of displaying the list of potential candidates with a checkbox?  I want the ability to select/deselect many objects in one save.
>
> Thanks in advance,
>
> Johnny
>
>


 _______________________________________________
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: 
 >More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Ramsey Gurley <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Ramsey Gurley <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)
 >Re: More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: Pass parameters from One HTML to another HTML
  • Next by Date: Re: Pass parameters from One HTML to another HTML
  • Previous by thread: Re: More Embedded D2W Questions...
  • Next by thread: Re: More Embedded D2W Questions...
  • Index(es):
    • Date
    • Thread