• 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
Popup List for Relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Popup List for Relationship


  • Subject: Popup List for Relationship
  • From: Jeremy Matthews <email@hidden>
  • Date: Thu, 28 Oct 2004 13:12:59 -0400

Thanks for the great feedback; I'm working on elimination of code redundancy...

I can't get the list of items (toOne relationship popup) to appear, no matter what I do. The popup itself appears...I know I'm missing something...all that is in there is "-none-" when the project is run in Direct Connect mode.

I have two entities: LRGEntry and Called. There is a toOne relationship ("called") that the LRGEntry has. In the "Called" Entity, the attribute is labeled "timesCalled" (no quotes), so the spelling is correct. The foreign key is in LRGEntry as well, and the relationship has been mapped correctly in EOM.

In the "adding" (WOBuilder) component, is bound thusly:

destinationDisplayKey: "timesCalled"
relationshipKey:           "called"
sourceEntityName:       "LRGEntry"
sourceObject:               anEntry
uiStyle:                         "popup"


------------------------
In Application.Java :

public class Application extends WOApplication {

public static Object[] timesCalledArray = new Object[]{"0","1","2","3"};

------------------------
In the "Adding" Component:

public class EntryAdd extends WOComponent {

Object[] timesCalledArray = Application.timesCalledArray;

    public LRGEntry anEntry;


-----------------------


Am I missing something? Why won't the list populate?

Thanks,
Jeremy
 _______________________________________________
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

  • Prev by Date: Re: Newbie Question-WebObjects for e-commerce?
  • Next by Date: Re: How to uninsert an EO from EC?
  • Previous by thread: Re: Newbie Question-WebObjects for e-commerce?
  • Next by thread: Re: Search results in an out of memory exception (Chuck Hill)
  • Index(es):
    • Date
    • Thread