calling business logic on items from a displayGroup
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.