• 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
Re: WOPopUpButton queston
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopUpButton queston


  • Subject: Re: WOPopUpButton queston
  • From: Gustavo Pizano <email@hidden>
  • Date: Mon, 24 Mar 2008 00:11:01 -0500

Ok Im gonan work on it tomorrow, I mess it up in the component class and now i don't even understand myself what im doing.

I left the getters and setter, as art said, for me its better that way too, if somethings comes wrong I can debug it and see where the hell the vale went.

Just for the test I have only Person and StudyLeve tables and Entities in EOmodeler, with their relationship, but something is comeing worng it says me something like give id_study_level a value or somehting like that... I know why its says that, but I don't get it when am I puttin it. thinking better maybe I have a mistake in the model. I will check it tomorrow.

Thanks
Guys
TTU tomorrow

Gus


On Mar 23, 2008, at 10:58 PM, Lachlan Deck wrote:

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

_______________________________________________ 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
References: 
 >WOPopUpButton queston (From: Gustavo Pizano <email@hidden>)
 >Re: WOPopUpButton queston (From: Lachlan Deck <email@hidden>)
 >Re: WOPopUpButton queston (From: Gustavo Pizano <email@hidden>)
 >Re: WOPopUpButton queston (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: WOPopUpButton queston
  • Next by Date: WebObjects and Xcode
  • Previous by thread: Re: WOPopUpButton queston
  • Next by thread: Re: WOPopUpButton queston/Setting relationships in WO
  • Index(es):
    • Date
    • Thread