1 Reply Latest reply on Jul 1, 2008 5:46 AM by SujitG

    Data Access Layer BINDING

    FABIO.BARREIRO
      Hii...I'm developing a complex application, but I'm new to Flex

      What I wanted to accomplish is:

      To have a DAL class with a bindable method

      public class DalOportunity
      {


      [Bindable(event="ObjectUpdated")]
      public function List(filterName:String, filterStatus:Number):ArrayCollection
      {
      return _Data;
      }





      I want to have my DataGrids, lists and other controls to bind to this method so whenever the application calls the method Update in DalOportunity, the ObjectUpdated event is dispatched and all the controls get the new data
      The data will come from a database backend, using weborb in my case.

      The mission is to have a "live" class.

      Is it possible?