Class PromptExpressionListTransform

    • Field Detail

      • multiSelect

        public FormalParameter multiSelect
        Boolean flag that specifies whether or not to enable multi-select in selected list.
        Not all prompt types and style support multiselect of elements, so even if this parameter is true, the multiselect functionality might not be available.
        This flag is used as a boolean value.
    • Constructor Detail

      • PromptExpressionListTransform

        public PromptExpressionListTransform()
        Default no-args constructor, initialize all the formal parameters.
    • Method Detail

      • renderParentContent

        public void renderParentContent​(MarkupOutput out)
        Renders the prompt content on the parent PromptExpressionNonCartTransform.
        This function is used by the layout file in order to avoid code duplication.
        out - MarkupOutput where to write method's output.
        MicroStrategy Web 8.0.0
      • displayOption

        protected void displayOption​(MarkupOutput out,
                                     java.lang.String argument,
                                     java.lang.String displayName,
                                     java.lang.String value,
                                     boolean isSelected,
                                     java.lang.String dataType)
        Renders HTML option tag.
        Used for creating list of options.
        displayOption in class PromptExpressionNonCartTransform
        out - MarkupOutput the transform output
        argument - String name for the option tag.
        displayName - String text to be displayed.
        value - String what's submitted as value.
        isSelected - boolean indicates whether this option is selected.
        dataType - String indicates datatype for HTML tag property.