1 Reply Latest reply on Dec 9, 2010 4:42 AM by vegarringdal

    What Im I doing wrong with my "create record" in mysql


      Made this with the burrito builder...



      I'm having issues inserting a record to mysql, if I use the test "test operation and use these values the it works fine, but now in the android app.

      values in my test operation

          navn:"vegar 16"



      the GetAll() method works fine, and shows up on the network monitor, but the button dont work at all, nothing happends in the network monito, if I debug it I can see that the button works, any suggestions on what Im doing wrong, why nothing is sent?

      tried reinstalling the flashbuilder on a new windows also, but didnt help, still nothing in network monitor...






      code in my view:


      <?xml version="1.0" encoding="utf-8"?>
      <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                  import mx.events.FlexEvent;
                  import valueObjects.Kunder;
                  protected function list_creationCompleteHandler(event:FlexEvent):void
                      getAllKunderResult.token = kunderService.getAllKunder();
                  protected function button_clickHandler(event:MouseEvent):void
                      var item:Kunder = new Kunder();
                      item.type ="test"
                      createKunderResult2.token = kunderService.createKunder(item);
              <s:CallResponder id="getAllKunderResult"/>
              <kunderservice:KunderService id="kunderService"/>
              <s:CallResponder id="createKunderResult2"/>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
          <s:List id="list" x="35" y="45" width="409" height="193"
                  creationComplete="list_creationCompleteHandler(event)" labelField="navn">
              <s:AsyncListView list="{getAllKunderResult.lastResult}"/>
          <s:Button id="button" x="20" y="406" label="Button" click="button_clickHandler(event)"/>