Portlet Factory, Version 6.1.2


 

Creating your own builder input groups

You can create your own input groups by creating a group definition and setting the <Group/> value for the input definitions you want to display as a group. The XML below shows the syntax for a group definition:

    <GroupDefinitions>
        <GroupDefinition id="MyInputsGroup">
             <Name>Inputs for Me</Name>
             <Description>Set these inputs to something</Description>
             <BorderStyle>Etched</BorderStyle>
             <IsCollapsible>true</IsCollapsible>
             <InitiallyCollapsed>true</InitiallyCollapsed>
         </GroupDefinition>
        <GroupDefinition id="Arguments" base="com.bowstreet.core.Base.Arguments" />
    </GroupDefinitions>

Any input definitions with the <Group/> value set to MyInputsGroup get included in the group:

<InputDefinition name="VariableValue" base="com.bowstreet.core.Base.VariableValue">
   <Prompt>Variable Value</Prompt>
   <Group>MyInputsGroup</Group>
</InputDefinition>

Parent topic: About creating builder definitions


Library | Support |