Portlet Factory, Version 6.1.2
Input Form builder inputs
This topic describes the inputs for the Input Form builder.
General inputs
Table 1. General inputs Input name Description Name Name for this builder call. The WebSphere Portlet Factory Designer displays this name in the builder call list. Input Submit Operation Specify the data service operation or method to create the input page for. If you select a method, specify a value in Input Variable. Input Variable Name of the variable to use to generate the input page fields. When the input page is submitted, the given values are placed in this variable before the builder invokes the specified method. This input is available only if you select a method for the Input Submit Operation input.
Input Next Action Specify the action to call after the input form is submitted and the operation or method specified by Input Submit Operation is called. Input Cancel Text Text for the Cancel button. If blank, a Cancel button is not created. Input Cancel Action Specify the action to call when the Cancel button is selected. Use Theme Set this input to use the properties specified in the default WebApp theme where applicable. Setting this input also overrides any related base page, HTML template, and style sheet inputs with values from the default WebApp theme. The related builder inputs are not available if this input is set. For more information, see Input Page Options.
Input Page Options
Table 2. Input Page Options inputs Input name Description Input Page HTML Select an HTML page to be used as the basis for the input page. This page must have several named elements that define where the builder is to place page items related to collecting the view method inputs.
This input is available if the Use Theme input is clear. Any value specified here is overridden if the Use Theme input is set.
HTML Template File Select an HTML page automation template file to be used to generate the input page.
This input is available if the Use Theme input is clear. Any value specified here is overridden if the Use Theme input is set.
Note: When an HTML template file is in use, a number of inputs related to HTML class name generation are not displayed.
Style Sheet Override File to be used to override the default style sheet from the HTML template.
This input is available if the Use Theme input is clear. Any value specified here is overridden if the Use Theme input is set.
Enable Input Validation Enable to activate schema-based validation on input page. Schemas can contain details about field input requirements, including data type restriction. Input Submit Text Enter a text string for the submit button. If not specified, the input value from the imported HTML file is used (Submit by default). Initial Data For Input Form Specify the source of the data to populate the input form.
Label Translation and Sample HTML
Table 3. Label Translation and Sample HTML inputs Input name Description Resource Bundle Name Specify a Java™ resource bundle to use for all labels for form fields and view columns. This input supports the internationalization of a model and provides a way to generate user-friendly labels for displayed fields. Use the selector to specify the fully-qualified name of the property file or Java class to serve as the Form Resource Bundle. For example: com.example.FormResourcesCreate Sample Input Page Click this button to generate a sample HTML Input page based on the builder inputs that you specified. Generating sample HTML is a good practice and can serve as a starting point for using custom HTML.
Advanced
Table 4. Advanced input Input name Description Generate Main Set this option to allow the builder to automatically generate a Main action. This action starts the model execution and causes the display of the input page. Clear this option to use a custom Main action of your own creation.
Parent topic: Input Form builder
Library | Support |