Previous Next Contents


Insertion Wizards

The insertion wizards allow you to insert a call or new request into existing files.

The insertion wizards enable the following tasks:

Related Topics

Insert Method
Description
Select an interface, then a method within that interface, to insert into your active code window.


Insert Call: New Servlet
Description
The insert call wizard allows you to insert an API object into a new servlet.

Specify whether the call is made through an:

Related Topic

HTML Form
Description
Insert a call to a new servlet via an HTML form or JavaServer Page (JSP).


Specify Base Name and Location
Description
Decide what to label the files, in which directory to store them, and the super class on which to base the servlet

Properties
Field
Value
Example
Name
Name of the servlet.
Input
Directory
Directory in which to store the servlet.
C:\nab\apps\HelloWld\
Super Class
Class on which to base the servlet.
Project3.BaseServlet


Input Type
Description
Specify how to process information entered by the user.

Properties
Field
Description
Handle Information with Custom Code
Netscape Application Builder creates a simple servlet and associated HTML/JSP pages.
Store Information to a Database Field
Store user input in fields of a database table.

Related Topics

Specify Input
Description
Specify the input parameters and properties of those parameters.

Properties
Field
Value
Example
Name
Name of the parameter.
username
HTML Type
Type of HTML component used to obtain user input.
text
Default Value
Value that will appear in the field unless the user specifies another value.
Bill Smith
Validation
Type of input user must supply.
Alphabetic
Required
You can enable the checkbox to require user input for the parameter.

Insert Row
Insert additional parameters.

Delete Row
Remove the selected parameter.

Related Topics

Specify Data Model
Description
Specify the data model used to define your pages.

Properties
Field
Value
Example
Data Model
You can select a data model found in the current project from the pop-up list or click Browse to locate a data model found elsewhere.
MessageBoard.kdm
Create a new data model
Exit the wizard and create a new data model.

Related Topic

Specify Data Connection
Description
Select the data connection through which your application accesses the database.

Properties
Specify which data connection to use by choosing one of the following:

Related Topic

New Database Connection
Description
Select the database to log into.

Properties
Field
Value
Example
Driver
Database driver type.
ODBC
Data Sources
Name of the data source.
ksample
Database Name
Name of the database to log into.
Employee Database
User name
User ID required by the data source.

Password
User password required by the data source.

Related Topic

Select Input Fields
Description
Specify the table where information is stored. In addition, specify what information the user is prompted for.

Properties
Field
Description
Tables
Database table where you will store user input.
Field
Information for which you prompt the user. For example, to prompt the user to input a user name, include an input field called "username."
Appears in Form
Select the checkbox if you want the field to appear on the generated input page.


HTML Hyperlink
Description
Insert a call to a new servlet via an HTML hyperlink.


Specify Hyperlink Properties
Description
Determine the properties of the hyperlink text.

Properties
Field
Value
Example
Hyperlink text
Text to appear in the HTML hyperlink.
Next Page
Text Style
Font used for the hyperlink text.
Default

Related Topic

Specify Base Name and Location
Description
See Insert Call: New Servlet, Specify Base Name and Location.


Input Type
Description
See Insert Call: New Servlet, Input Type.


Specify Input
Description
See Insert Call: New Servlet, Specify Input.


Specify Data Model
Description
See Insert Call: New Servlet, Specify Data Model.


Specify Data Connection
Description
See Insert Call: New Servlet, Specify Data Connection.


New Database Connection
Description
See Insert Call: New Servlet, New Database Connection.


Select Input Fields
See Insert Call: New Servlet, Select Input Fields.


Insert Call: Existing Servlet
Description
The insert call wizard allows you to insert an API object into an existing servledt.

Related Topic

Specify a Servlet
Description
Specify which servlet processes the input.

Choose one of the following tasks:

Related Topic

Specify Call Method: Form or Hyperlink
Description
Specify how the call is made.

Choose one of the following:

Related Topic

HTML Form
Description
Insert a call to an existing servlet via an HTML form.

Related Topic

Specify Input Parameters
Description
Specify the input parameters to use in the servlet call.

Properties
Field
Value
Example
Parameters
Name of the parameter.
username
HTML Type
Type of HTML component used to obtain user input.
Text
Default Value
Value that will appear in the field unless the user specifies another value.
Bill Smith
Validation
Type of input user must supply.
Alphabetic
Insert Row
Add a row.

Delete Row
Remove selected row.

Related Topic

HTML Hyperlink
Description
Insert a call to an existing servlet via an HTML hyperlink.

Related Topic

Specify Input Parameters
Description
Specify the input parameters to use in the servlet call.

Properties
Field
Description
Parameters
Existing servlet's parameters.
Default Value
Value that will appear in the field unless the user specifies another value.
Insert Row
Add a row.
Delete Row
Remove selected row.

Related Topic

Insert New Request
The insert new request wizard allows you to add a newRequest() method to call new or existing servlet(s).

This wizard includes the following steps:

Related Topic

Specify a Servlet
Description
Specify a servlet that is called by newRequest().

Properties
Perform one of the following tasks:

Related Topic

Specify Parameters
Description
Specify the input parameters and properties of those parameters.

Properties
Field
Value
Example
Name
Name of the parameter.
username
Value
Value of the associated input parameter.
UserId (Session)
Insert Row
Insert additional parameters.

Delete Row
Remove the selected parameter.

Finish
Complete the insertion of the newRequest().

Related Topic

Insert Query Results
The insert query results wizard allows you to create an HTML template to display the results of a SQL query.

This wizard includes the following steps:

Related Topics

Specify Base Name and Location
Description
Decide what to label the servlet, in which directory to store it, and the super class on which to base it.

Properties
Field
Value
Example
Name
Name of the servlet.
Results
Directory
Directory in which to store the servlet.
C:\nab\apps\HelloWld\
Super Class
Class on which to base the servlet.
Project1.BaseServlet

Related Topic

Specify Input
Description
Specify the input parameters for your servlet.

Properties
Field
Value
Example
Name
Name of the parameter.
username
Required
You can enable the checkbox to require user input for the parameter.

Save to Session
Store input for this parameter with session information.

Validation
Type of input user must supply.
Alphabetic
Insert Row
Insert additional parameters.

Delete Row
Remove the selected parameter.

Read from HTML page
Take parameters from an existing HTML page.

Related Topic

Finish
Description
Click Finish to complete the insert query results wizard. A Java file is created with generated code that performs the function you designated in previous steps.


Insert Call to New Login
This wizard includes the following steps:

Related Topics

Specify Call Method: Form or Hyperlink
Description
Specify how the call is made.

Choose one of the following:

Related Topic

Specify Hyperlink Properties
Description
Determine the properties of the hyperlink text.

Properties
Field
Value
Example
Hyperlink text
Text to appear in the HTML hyperlink.
Next Page
Text Style
Font used for the hyperlink text.
Default

Related Topic

Specify Base Name and Location
Description
Decide what to label the servlet, in which directory to store it, and the super class on which to base it.

Properties
Field
Value
Example
Name
Name of the servlet.
Results
Directory
Directory in which to store the servlet.
C:\nab\apps\HelloWld\
Super Class
Class on which to base the servlet.
Project1.BaseServlet

Related Topic

Specify Input
Description
Specify the input parameters for your servlet.

Properties
Field
Value
Example
Name
Name of the parameter.
username
Required
You can enable the checkbox to require user input for the parameter.

Save to Session
Store input for this parameter with session information.

Validation
Type of input user must supply.
Alphabetic
Insert Row
Insert additional parameters.

Delete Row
Remove the selected parameter.

Read from HTML page
Take parameters from an existing HTML page.

Related Topic

Specify Login Authentication
Description
Specify how the login is authenticated.

Properties
Field
Value
Database Table
Authenticate the login against a database table.
LDAP Server
Authenticate the login against the LDAP server.
Custom
You can write custom code to perform the authentication; Netscape Application Builder does not generate the code.

Related Topic

Database Table
Authenticate the login against information in a database table.


Specify Data Model
Description
Specify the data model used to define your pages.

Properties
Field
Value
Example
Data Model
You can select a data model found in the current project from the pop-up list or click Browse to locate a data model found elsewhere.
MessageBoard.kdm
Create a new data model
Exit the wizard to create a new data model.

Related Topic

Specify Data Connection
Description
Select the database to log in to.

Properties
You can choose either a new connection or select an existing connection from the drop-down list.

Related Topic

New Database Connection
Description
Create a new connection to the database from which to retrieve information.

Properties
Field
Value
Example
Driver
Database driver type.
ODBC
Data Sources
Name of the data source.
Employee Database
Database Name
Name of the database from which you retrieve information.

User name
User ID required by the data source.

Password
User password required by the data source.

Related Topic

Specify Database Login Information
Description
Specify the database table where you retrieve information. In addition, specify which database fields to bind to user input.

Properties
Field
Description
Example
Table
Database table where you retrieve information.
chatUsers
Column to Bind Input Value
You can specify which column in the database corresponds to the user input.

Related Topic

Specify Query Outputs to Save to Session
Description
Specify which fields to store with session information.

Properties
You can enable the checkbox corresponding to user input you want to store with session information. For example, you can save the user's ID and password for use later in the session.

Related Topic

LDAP Server
Description
Specify LDAP server information.

Properties
Field
Value
Example
Server Name
Name or label of the LDAP server.
GoBlue
Server Port
Address or port number of the LDAP server.
398
Organization
Name of your organization.
Netscape
Country
Your geographic location.
United States
ValIn for UserName
Database field against which user input is compared.
Username
ValIn for Password
Database field against which user input is compared.
Password

Related Topic

Insert Table Based on Result Set
This wizard allows you to create an HTML output table based on a ResultSet. A ResultSet is a class that encapsulates the data returned by a database query.

This wizard includes the following step:

Related Topic

Specify ResultSet and Columns
Description
Choose the ResultSet and columns within that ResultSet to use for your output table.

Properties
Field
Description
ResultSet
Name of the ResultSet you use for your output table.
Name
Name of the column within the ResultSet.
Include in Ouput
Select the checkbox if you want this column of the ResultSet to appear on your output page.

Related Topic

Insert Database Call
This wizard includes the following steps:


Specify Data Access
Description
Specify how to define the data used on your forms and reports.

Properties
Choose one of the following:

Related Topic

Specify Base Name and Location
Description
Decide what to label the file and in which directory to store it.

Properties
Field
Value
Example
Name
Input page title.
Input
Directory
Directory where you store the page.
C:\html\apps\HelloWld\

Related Topic

Specify Data Model
Description
Specify the data model used to define your pages.

Properties
Field
Value
Example
Data Model
You can select a data model found in the current project from the pop-up list or click Browse to locate a data model found elsewhere.
MessageBoard.kdm
Create a new data model
Exit the wizard to create a new data model.

Related Topic

Initial Query Type
Description
Select which type of query to create first: Insert Call: New Servlet, Insert Query, Update Query, or Delete Query.


Specify Data Connection
Description
Select the data connection your application uses to access the database.

Properties
Specify which data connection to use by choosing one of the following:


New Database Connection
Description
Select the database to log into.

Field
Value
Example
Driver
Database driver type.
ODBC
Data Sources
Name of the data source.
ksample
Database Name
Name of the database to log into.
Employee Database
User name
User ID required by the data source.

Password
User password required by the data source.


Specify Primary Key(s)
Description
Specify the primary key(s) for your master page. A primary key is a field or set of fields used by the database backend to identify a record in the database.

Properties
Field
Value
Example
Columns
All columns available for use in the key.
UserId
Nickname
Primary Key
Columns selected for use in the key.
chatUsers.UserId
chatUsers.Nickname
>
Move a selected column to Primary Key.

<
Remove a selected column from Primary Key.

>>
Move all fields to Primary Key.

<<
Remove all fields from Primary Key.


Select Master Display Fields
Description
Select fields to display on the master page.

Properties
Field
Value
Table
Table from which you choose fields to display.
Fields
Field(s) to display.
Fields to Display
Fields selected for display on the page.

Related Topic

Inputs
Description
Specify the bindings between the parameters in the Source column and the query parameters in the Query Parameters column.

Properties
Field
Value
Example
Query Parameter
Query parameters to bind to the parameters.
SearchEMPID
Source Type
Type of query.
VALIN_BINDING
Source
Name of the source of the parameters.
WhereClause:Report
Bind on Load
Select the checkbox if the the query should have the parameter replaced when loaded, rather than replacing the parameter when the query executes.

Dest Type
Datatype for the query parameter.
String
Insert Row
Add a row.

Delete Row
Remove selected row.

Related Topic

Select Input Fields
Description
Specify a table where information is stored. In addition, specify what information the user is prompted for.

Properties
Field
Description
Tables
Database table where you will store user input.
Field
Information for which you prompt the user. For example, to prompt the user to input a user name, include an input field called "username."
Appears in Form
Select the checkbox if you want the field to appear on the generated input page.


Specify Data Connection
Description
Select the data connection your application uses to access the database.

Properties
Specify which data connection to use by choosing one of the following:


New Database Connection
Description
Select the database to log into.

Field
Value
Example
Driver
Database driver type.
ODBC
Data sources
Name of the data source.
Employee Database
Database name
Name of the database to which you connect.

User name
User ID required by the data source.

Password
User password required by the data source.

 

© Copyright 1999 Netscape Communications Corp.