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 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