0 Replies Latest reply on Jan 27, 2007 4:19 PM by WestSide

    ModelLocator and ValueObject

    WestSide Level 1
      Hi,

      I had a question. I have this remote call to a backend CFC. Below is my onResult handler. I can't seem to populate the variable (model.login.loginVO) with the LoginVO so I can do some binding such as text="{LoginVO( model.login.loginVO ).username}" or whatever

      In my "Login.as"

      public class Login {
      [Bindable]
      public var loginVO : LoginVO;
      }

      In my "ModelLocator.as"

      public var login : Login = new Login();

      In "LoginCommand.as"

      public function onResult( event : * = null ) : void {
      model.login.loginVO = LoginVO( event );

      }