Re: WOPopUpButton queston
Re: WOPopUpButton queston
- Subject: Re: WOPopUpButton queston
- From: Lachlan Deck <email@hidden>
- Date: Mon, 24 Mar 2008 14:58:40 +1100
On 24/03/2008, at 2:48 PM, Gustavo Pizano wrote:
OH NO NO NO I was wrong I can't do that. in the _Person EO, the
name() will return me the name of the current instance.. hehehe
What I meant was you can do this:
PopUpButton : WOPopUpButton {
list = studyLevelOptions;
item = studyLevelItem;
displayString = studyLevelItem.name;
noSelectionString = "------------------" ;
selection = person.studyLevel; // get/set the studyLevel relation on
person.
}
so i do need at least the setters
Not if you binding selection to person.studyLevel. Otherwise, if you
bind selection to selectedStudyLevel then you do.
with regards,
--
Lachlan Deck
_______________________________________________
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