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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to