• 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
WOPopup Insanity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOPopup Insanity


  • Subject: WOPopup Insanity
  • From: James Cicenia <email@hidden>
  • Date: Tue, 16 Feb 2010 10:28:34 -0600

Why won't displayString not display the string but the ugly object info?

Here is the scenario.

My own D2W custom popup component to set a relationship. Seemingly trivial.

wod:

PopUpButton1: WOPopUpButton {
list = thePerformance.festival.festivalArtists;
selection = theFestivalArtist;
noSelectionString = "-- Select Artist --";
item = aFestivalArtist;
displayString = aFestivalArtist;
}

java:

public class PickFestivalArtist extends ERDCustomComponent {
public FestivalArtist theFestivalArtist;
public FestivalArtist aFestivalArtist;

 

    public PickFestivalArtist(WOContext context) {
        super(context);
    }

    

    public boolean isStateless() { return false; }

    public Performance thePerformance() { return (Performance)valueForBinding("object"); }

   

  

public void setTheFestivalArtist(FestivalArtist newValue) throws Exception {
thePerformance().takeStoredValueForKey(newValue, "festivalArtist");
}

public FestivalArtist theFestivalArtist(){
return (FestivalArtist)thePerformance().festivalArtist();
}
}
 _______________________________________________
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

  • Follow-Ups:
    • Re: WOPopup Insanity
      • From: Ramsey Gurley <email@hidden>
    • Re: WOPopup Insanity
      • From: Amedeo Mantica <email@hidden>
    • Re: WOPopup Insanity
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: [MEET] WO-NoVA NEXT TUESDAY 2/16
  • Next by Date: Re: WOPopup Insanity
  • Previous by thread: Re: session timeout trouble
  • Next by thread: Re: WOPopup Insanity
  • Index(es):
    • Date
    • Thread