Portlet Factory, Version 6.1.2


 

Values for profile entries

Profile entries have a fixed format.

Each profile entry has six fields. You cannot add extra fields or remove fields; you can only change the default values of the fields. You must configure the following field values when you add an entry to a profile set.

Table 1. Profile entry fields
Entry Field Description
Name Name of the profile entry, which is the name that you enter in the New Profile Entry dialog. This name will identify the entry in the Profile Data Table (in the Manage Profiles editor) and in the Profile Entry Outline view. The name must be a valid XML element name; do not use spaces or special characters.
Prompt Text that will be used for the builder call input. The prompt is also displayed in the Profile Value Editor Work Area (in the Manage Profiles editor) and in the Profile Entry Outline view.
UI Type The type of UI control used to represent the profile entry. Available controls are:

TextInput

A single-line text input box.

TextArea

A multiple line text entry area.

Checkbox

A check box with two values.

Select

A list of predefined selections.

SelectableInput

A list of predefined selections; however, the user can create a new selection by typing into the select box.

Radio Box

An array of radio buttons, only one of which can be enabled.
Extra Data The data used to populate the UI control, such as choice-1, choice-2, choice-3,...choice-n for a Select entry.
Default The default value assigned to the profile entry. You can customize this value for on a per-profile basis. The value is displayed for the profile in the Manage Profiles editor and in the Profile Values table of the Profile Builder Call Input dialog.
Execution Time Determines whether a profiled builder call input gets its value during generation or during execution time (when the application server executes the JSP code for the application).

Specify true if the builder inputs to which this entry applies can take an indirect reference. Setting a profile entry to be resolved at execution time limits the number of WebApp objects generated for your application, improving performance.

Note: If you set an input to be evaluated at execution time, that input's value cannot also be an indirect reference. If it is, the reference itself rather than the value will be returned.

Notable inputs that cannot be associated with execution time entries are the Imported Page builder Page to Import and the Web Service Call builder WSDL URL input.

A profile entry may apply to more than one builder call input. If you set such an entry's Execution Time value to true, any inputs that cannot resolve their values at execution time will throw an error. This error will vary for different builders, but the general error will be that the input value is not valid.

Parent topic: Profile entries


Library | Support |