User Defined View Generator

The value entered in the User Defined View Generator property of the Component Enabler User Interface Configuration property for a folder determines whether the Java based or .NET based generate environment is invoked.

Note: Java based generators are no longer packaged with Component Enabler. However, you can continue to use them if you are using customized version of Java generators.

The User Defined View Generator property specifies the path to the generator to use for a particular bundle/folder. This can be a path to a Java class or a path to a .NET dll. The CE Generate .NET environment is invoked when the path entered ends with .dll.

A path to a .NET dll can be entered as an absolute or relative path. Examples:

C:\NGEN-CE\bin\GenerateWSdotNET.dll (absolute path)
GenerateWSdotNET.dll                (relative path)

A relative path is relative to the current working directory. The working directory depends on the location of the Development environment from which the generate process is started. An option 'workingDirectory' is provided for configuring the working directory in the CEGeneratorDotNETResources.xml file. The default working directory is the [CERoot]\bin directory.

When in doubt about the actual current working directory, open the Generate.log after performing a generate and search for 'Current WorkingDirectory'.

When the generate environment loads and creates an instance of the view generator, the file name of the dll is used for identifying the class name of the generator. Therefore, the file name of the view generator dll must match the class name of the generator.

By default, the Presentation Client generator is selected in the User Defined View

Generator property field. If you leave this field blank or unspecified, and the Generate Views option is set to True, you are prompted to select a type of generator. You can also enter the generator name manually in the User Defined View Generator property field. There is no prompt if the Generate Views option is set to False.

The .NET Generators that are available with AB Suite are:

GenerateFormASPdotNET.dll

ASP.NET WebForms

GenerateWSdotNET.dll

ASP.NET Web Services

GenerateFormVBdotNET.dll

VB.NET Client

GenerateForm.dll

Presentation Client

GenerateFormJSP.dll

Java Server Pages

GenerateEPortal.dll

EPortal Presentations

Note: The .NET generator names are case-sensitive.