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

This email sent to archive@mail-archive.com

Reply via email to