• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

flash builder 4.5 database

New Here ,
Apr 21, 2014 Apr 21, 2014

Copy link to clipboard

Copied

I am using tutorials to learn database creation.  In my flex project I am able to use the database that I created.  My flex program creates the code and I can get the page to load with the table there and the input boxes to put info in.  the create table button shows up but when clicked it does nothing.  The code in the video show a dataProvider="{getalltableresults.lastresult} in the code but the code that is generated for does not have this code. here is my code that was generated for the button

protected function button_clickHandler (event:MouseEvent):void

{

var cookbook2:Cookbook = new Cookbood();

cookbook2.id = parseInt (idTextInput.text);

cookbook2.title = titleTextInput.text;

cookbook2.recipe = reecipeTextInput.text;

createCookbookResult.token = cookbookService.createCookbook(cookbook2);

var cookbook3:Cookbook = new Cookbook();

cookbook3.id =parseInt(idTextInput.text);

cookbook3.title = titleTextInput.text;

cookbook3.recipe = recipeTextInput.text;

createCookbookResult2.token = cookbookService.createCookbook(cookbook3);

}

then there are call responder getallcookbookreult and a lueObjects:cookbook for each id, title and recipe

next is the grid column array list

the this line

AsyncListView list="{getAllCookbookResult.lastResult}"/>

Can anyone tell me where I am going wrong

Views

273

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines