• 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
Newbie question, please help with WOPopupButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie question, please help with WOPopupButton


  • Subject: Newbie question, please help with WOPopupButton
  • From: Jan Verrept <email@hidden>
  • Date: Sun, 4 Dec 2005 20:24:00 +0100

I've made a Class "Language" containing two vars "language" and "languageCode" of type String

In Session I create and populate an NSMutableArray "languages" of type "Language"
IN SessionI create a var "language" of type Language
In Session I create a var "languageCodeToStore" of type String (the goal of this exercise)

after binding a WOPopupButton as indicated below I get the right DisplayStrings but I can't get de right "languageCodeToStore" to be stored in the Session.
Using println the runLog-window shows Null for "Session.languageCodeToStore" after a choose a lunguage from te popup.
I'm desperate working on this for days now. 

languageMenu: WOPopUpButton {
;
noSelectionString = "---";
name = "languageMenu";
displayString = session. language. language;
value = session. language. languagecode;
list = session. languages;
item = session. language;
selectedValue = session. languageCodeToStore;
}

 _______________________________________________
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: Newbie question, please help with WOPopupButton
      • From: Jean-François Veillette <email@hidden>
  • Prev by Date: Re: Multiple many-to-many with single-table inheritance
  • Next by Date: Re: Newbie question, please help with WOPopupButton
  • Previous by thread: Re: [OT] File Encoding question again
  • Next by thread: Re: Newbie question, please help with WOPopupButton
  • Index(es):
    • Date
    • Thread