This topic describes the inputs for the Visibility Setter builder.
Table 1. Visibility Setter builder inputs
|Name||Enter a name for this builder call. The WebSphere® Portlet Factory Designer displays this name in the builder call list.|
|Page Location||Specify the page or pages on which this builder call acts. |
|Visibility Rule||Select one of the listed rules on which to base visibility: |
Suppresses display whenever this builder is activated.Hide when Value is "false" or "hide"
Suppresses display when false or hide is entered in Value.Hide when method result is false
Suppresses display if a method that you specify returns a false value. The input Method Body is made available for you to specify the method. The builder calls this method. Hide when Value equals Comparison Value
Suppresses display when Value and Comparison Value are equal.Hide when Value does not equal Comparison Value
Suppresses display when Value and Comparison Value are not equal.Do not hide (used for profiling)
|Method Body||This input is made available when you select Hide when method result is false in the Visibility Rule input. Either edit or replace the sample code to specify the method. |
|Value||Enter or choose a value to be used in the comparison.|
Alternately, you can enter the following to suppress display of the element to which this Visibility Setter is attached.
|Comparison Value||Enter or choose a value to be compared to the value specified. |
Parent topic: Visibility Setter builder