3 Replies Latest reply on Aug 27, 2007 7:11 AM by chris.huston.t10

    Unable to load data into a tabNavigator could someone help

    rite2rio
      HI ,
      I want to get requested data into a TabNavigator ,I am getting the
      data But it is getting populated in the first Tab only not on the
      other Tabs.

      Here I have 4 Tabs in my TabNavigator and only the first Tab is
      getting populated , and the other tabs are not getting populated ,
      could anyone give me a solution for this Problem.

      <![CDATA[
      import mx.core.ScrollPolicy;
      import mx.core.Application;
      import userinterfaces.util.Utils;
      import mx.collections.ArrayCollection;
      import mx.controls.Alert;
      import mx.controls.CheckBox;
      import mx.controls.ComboBox;

      public var result:XML;
      public var row:XMLList;

      public function sendRequest(param:String, value:String):void{
      var group:String =
      Application.application.winLogin.userInfo.getGroup();
      Alert.show("group==" + group);

      if(group == "admin"){
      group = cboGroup.selectedItem.toString();
      }
      var params:Object = new Object();
      params.uname = iptName.text;
      params.password = iptPwd.text;
      params.groupname = cboGroup.selectedItem;
      params.empid = iptEmpId.text;
      params.first_name = iptFirstName.text;
      params.last_name = iptLastName.text;
      params.ssno = iptSsnNo.text;
      params.email = iptEmail.text;
      params.mail = chkPartyMail.selected;


      private function sendInsertRequest():void{
      sendRequest('','');
      }

      public function showRequest():void{
      var params:Object = new Object();
      params.username =
      Application.application.winLogin.userInfo.getUsername();

      Alert.show(Application.application.winLogin.userInfo.getUsername());
      httpEditPartyMater.url ="displayprofile.do";
      httpEditPartyMater.request = params;
      httpEditPartyMater.send();
      }

      public function loadData(row:XMLList):void{
      var myRow:String = row.toString();
      Alert.show(myRow);
      Alert.show("Its my life");


      }
      ]]>
      </mx:Script>

      I am loding the data in the aboe given way