Tuesday, March 30, 2010

Generate ORM CFC menu choice missing

I have loaded the extension: genormmapping_v0.1.1.zip?according to th instructions in Ben Forta's video.?It is listed as successfully installed in my ''Cold Fusion/Extensions'' list, however, the 'Generate ORM...' menu choice is still missing when I right click on an active data source.?I tried rebooting my PC just to give everything a chance to reload, but, still, it doesn't show up. I have started a new empty project, so there are no existing ''Application.cfc''/''Index.*'' files, but are there some other conditions I must meet to make this menu choice appear?

Generate ORM CFC menu choice missing

Can you elaborate on where you got this extension from, which video you're talking about and that sort of thing?

--

Adam

Generate ORM CFC menu choice missing

Video:

http://labs.adobe.com/technologies/coldfusion9/videos/bforta_03/

(Go almost to the end, Ben Forta is showing an extension that generates ORM code by right clicking on a data source)

Extension is from:

http://genormmapping.riaforge.org/

You have to install the extension in Coldfusion Builder. Here are the steps to install a Coldfusion Builder Extension.

Install extensions
1 In ColdFusion Builder, select Window %26gt; Preferences.
2 In the tree-view, select ColdFusion %26gt; Extensions.
3 Select the Archive file to install.
Note: If the extension that you are installing is shipped with ColdFusion Builder, the Archive file is available in the Extensions directory within the ColdFusion Builder installation.
4 Click Install.
5 The Extension Install wizard guides you through the installation.
6 Select the Server. If no server is configured, click Add Server to add a new server.
7 Enter the path to the ColdFusion web root (if the path is not automatically populated when selecting the server). For example, C:\ColdFusion9\wwwroot\
8 Select a folder within the web root to install the extension. The archive file is extracted to the install location.
9 Click Install.
10 The name of the installed extension appears under Installed Extensions.
To view details about the installed extension, select the extension and click Show Details. If you have installed the same extension on more than one server, you can make one of the servers active. To make a server active, select the server from the Active Server drop-down list.

Import extensions
You can import extensions from an existing directory into the ColdFusion Builder IDE. It is useful to import extensions when you use existing extensions to develop new extensions.
1 In ColdFusion Builder, select Window %26gt; Preferences.
2 In the tree-view, select ColdFusion %26gt; Extensions, and click Import.
3 Select the ColdFusion Builder extension to import.

Reload extensions
If you change the configuration file after installing an extension, you must reload the extension to reflect these changes. To reload an extension, do the following:
1 In ColdFusion Builder, select Window %26gt; Preferences.
2 In the Preferences dialog box, you see a tree-view structure on the left side.
3 In the tree-view structure, select ColdFusion %26gt; Extensions, and click Reload Extensions.

Then open the RDS Dataview, navigate to the database table, right-click on it and there you are. If it doesn't work the first time around, restart Coldfusion Builder.and try again.

No comments:

Post a Comment