MicroStrategy ONE
PromptsContainerStyle_widget (Prompt style)
The PromptsContainerStyle_widget style is defined in the Style Catalog configuration file as shown in the code below.
Copy
<Style description="Style: Prompts Container Transform" name="PromptsContainerStyle_Widget" transform="PromptsContainerTransform">
<ActualParameters>
<ActualParameter name="displayMode" type="1" source="preference" value="promptsMode"/>
<ActualParameter name="showRequiredFirst" type="1" source="preference" value="promptsRequiredFirst"/>
<ActualParameter name="incrementalAttrElemBlockCount" type="2" source="preference" value="elementsBlockCount"/>
<ActualParameter name="incrementalObjectsBlockCount" type="2" source="preference" value="objectsBlockCount"/>
</ActualParameters>
<Layouts>
<Layout layout_source="AppLayoutSourceFile" order="1"><![CDATA[/WEB-INF/xml/layouts/widgets/PromptsContainerLayout_widget.xml]]></Layout>
</Layouts>
</Style>
Referring to the code above, notice that the PromptsContainerStyle_widget style uses the server-side layout definition file, PromptsContainerLayout_widget.xml, and the transform, PromptsContainerTransform, to render the container that holds all the prompts together.
The PromptsContainerBean , which is a collection of PromptAppBeans, is transformed using the PromptsContainerStyle_widget style. Each PromptAppBean maps to a single prompt.