• 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
calling business logic on items from a displayGroup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calling business logic on items from a displayGroup


  • Subject: calling business logic on items from a displayGroup
  • From: "Mark W. Shead" <email@hidden>
  • Date: Sun, 14 Sep 2003 15:43:48 -0400

I am using WOPopUpButton to show a list of names in a form. I would like to show the full name instead of just the last. The object type is TeamMember. The item attribute of WOPopUpButton is bound to a variable called teamMember of type EOEnterpriseObject. The list attribute is bound to teamMembersDisplayGroup.displayedObjects.

The displayGroup uses EOEnterpriseObjects instead of TeamMember objects. However my method to return the full name (getFullName()) is in the object of type TeamMember and I can't access the customized methods when it is cast as an EOEnterpriseObject.

Is there anyway I can cast TeamMember object to it's customized type when building the WOPopUpButton so I can call the customized methods on it? I know how to accomplish what I'm after if I don't use display groups, so if it is possible I'm using them in a way that they aren't meant to be used.

Thanks in advance for any suggestions or guidance!

Mark
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: calling business logic on items from a displayGroup
      • From: "Adam Chan" <email@hidden>
  • Prev by Date: Re: Project Builder
  • Next by Date: WO and SQL-SERVER Triggers
  • Previous by thread: Re: Project Builder
  • Next by thread: Re: calling business logic on items from a displayGroup
  • Index(es):
    • Date
    • Thread