About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
You can also reference elements in an XML structure and locate control builder calls on one or more pages in the model.
The following builder call input groups are common to many builders:
- Properties
- Displays the following inputs that describe information about the builder call:
- Enable Builder
- The Enable Builder value, True or False, marks the builder call to be included in generation or not. The default value is True. You can profile this input to enable or disable a builder call for a particular profile.
- Category
- This input is no longer used.
- Comment
- Enter a comment that describes some relevant information about how you are using this builder call. When you open the builder call, these comments are displayed in the properties section of the builder call editor.
- Arguments
- Displays the following inputs that allow you to pass arguments to the specified action:
- Name
- Enter the name of the argument for the specified action.
- Value
- Enter the value for the argument. You can use the reference chooser to select a value from one of the elements in the web application.
- Advanced
- Displays additional inputs that you can set to fine tune the builder behavior according to your requirements.
- HTML Attributes
- Displays the following inputs that describe how control builder calls (such as Button or Text Input) should be rendered in HTML.
- Class
- If the page on which this control uses a cascading style sheet (CSS), enter the style class name to apply to this control.
- Style
- Enter HTML style syntax for the control that the builder adds to the page.
Other options might be present, depending on the builder.
About specifying input values
Most inputs to a builder call can take a value derived from an indirect reference, a Java expression, or directly from a String value. Some inputs that require a name to a specific object like a variable or model use specific choosers that filter out inappropriate elements.
- About builder call naming
In general, name builders in models using the same conventions as Java variables.
- Specifying values for builder inputs
You can specify values for builder inputs in multiple ways.
- The reference chooser
The reference chooser allows you to assign the value of an element in the model to a builder call input.
- The model chooser
You can use a dialog to help you specify a model as a builder input.
- About data referencing techniques
Builder call editors support the most commonly used reference methods and syntax.
- Locating control builder calls on pages
Each page location technique results in the generation of a Page Location string that determines on what pages, and where on those pages, the control builder calls are added.
- Creating a nested indirect reference
Use the reference chooser to create a nested indirect reference.
- Deleting a row in a builder table
Many builders provide inputs in tables, from which you delete a row to remove the related input value.
- Opening the builder call editor in a separate window
You can have the builder call editor open in a separate window from your IBM® WebSphere® Portlet Factory Designer window.
Parent topic: About the model editor