Hi Bill, thanks for responding.

> Are there any fields in the tables which are the basis for the Users_MasterDetail object that are not numeric, date, or string in nature? Can you tell me ... ?

Nope. It's a MySql 4.0 DB.

CREATE TABLE `User` (
  `userId` int(10) unsigned NOT NULL auto_increment,
  `username` varchar(20) default NULL,
  `password` varchar(20) default NULL,
  `firstName` varchar(20) default NULL,
  `lastName` varchar(20) default NULL,
  PRIMARY KEY  (`userId`)
) TYPE=MyISAM;

Now what i've done in the meantime is download the latest build of the App Wizard ... i had one dated the 28th of April, now the zip is dated 15th May.

I got it to work against a few simple forms. I did have to touch the UserDAO for some really odd reason, changing :

insert into User(username, password, firstName, lastName)
        values (


to :

insert into User(
    username,
    password,
    firstName,
    lastName)              
        values (


Then it started working.

After i added a little complexity, more forms with ComboBoxes that had selects driven from a query, it's not generating the app properly any more again. :-(

I'm getting a 404 on main.html when i try and run it.

I'm going to back up one step at a time and see if i can get it to work again on a simpler version. I suspect the combo box queries, because i've given it 2 attributes in the query, the id and the name, like you would in an HTML select. I don't know if the generator is sophisticated enough to know how to handle that.

Bill Sahlas wrote:

First, it means that the wizard didn’t complete generating all the files needed for the application.  Even though there are references to the “generated.views.masterdetail:Users_MasterDetail” in the navigation.mxml file, it wasn’t created for some reason.  To figure that out we can look at what tables and column data types are being referenced. Are there any fields in the tables which are the basis for the Users_MasterDetail object that are not numeric, date, or string in nature? Can you tell me what the data structures look like (generated sql scripts)?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Nando
Sent: Saturday, May 27, 2006 3:46 PM
To: [email protected]
Subject: [flexcoders] Error - ColdFusion/Flex Application Wizard

 

I keep getting an error when trying to use the app wizard in Beta 3:

Severity    Description    Resource    In Folder    Location    Creation
Time    Id
2    Definition com.com.generated.views.masterdetail:Users_MasterDetail
could not be found.    navigation.mxml   
TimeTrax/src/com/generated/views/navigation    line 6    May 27, 2006
9:30:41 PM    20

Can someone point me in the right direction?

thanx,
Nando






--


Aria Media Sagl
CP 234
6934 Bioggio
Switzerland
www.aria-media.com


Reply via email to