1 Reply Latest reply on Mar 10, 2008 10:16 PM by Gregory Lafrance

    data binding in custom components

    smscentral
      i have a custom component with uderis as binding expression which does not work

      [Bindable]
      public var userId:String = new String("");

      public function initApp():void {
      // Get the IModuleInfo interface for the specified URL.
      Alert.show("parent to edituserroles module is "+parentApplication.toString());
      userId = parentApplication.myLoader.child.getUserId();
      Alert.show(userId);//working with correct value
      }

      <MyComp:DragDropListComponent

      userid = "{userid}" //does not work

      firstlistlabel="Available Roles"
      secondlistlabel="Current Roles"

      buttonlabel = "Submit Roles"

      parentnode = "Users"
      >

      thanks