tags:

views:

33

answers:

0

I have a flex MVC app, only the view is using MXML. In that application, the user enters the username and password in the view.

Now, i send the username and password from view to controller using code

click="admin.verifyLogin(this, Username.text,Password.text)"

in the controller i have a model object teacher , setting the values for the teacher object in the controller.

  teacher.setisGuest(flase);
  teacher.setuserName(uname);
  teacher.setpassword(passwrd)

So now can the model handle the calls to the server using Remote Object Components.

Thank you