Component

The screen consists of panels. The panels contain display units. One panel can contain any number of displays (or tabs). The order of the displays will be identical to the order of the Tab tags in the XML. In Effector, the panels are called Component.

/Component

Root node.

/Component/TabOverflowType

Regulates the display of the labels of the tabs on the component, its possible values are:

  • BreakingLine: The labels of the tabs are placed next to each other with a line break.
  • Shrinking: Displays the labels of the tabs in a row, if they don`t fit in a row with their entire width, the system shrinks them.
  • ShrinkingWithHover: Same as Shrinking, but when the cursor is hovering over an inactive tab, for that time, it is displayed with its original width.
  • DroppingDown The labels of the tabs are organized underneath each other in a drop-down list.

The default value is Shrinking.

/Component/IsHeaderVisible (Boolean)

Regulates the visibility of the panel's header. Optional. Default: true.

/Component/AreHeaderButtonsVisible (Boolean)

Regulates the visibility of the function buttons on the header. Optional. Defaults to true.

/Component/AreSpaceSavingButtonsVisible (Boolean)

Regulates the visibility of the closing buttons of the panel elements on the panel's header. Optional. Its default value is true.

/Component/IsESCHandled (Boolean)

It defines whether the pop-up window should close upon pressing ESC. Optional. Default value true.

/Component/TemplateURL (String)

This setting is used to specify the path of the html content we would like to load instead of the default component.html.

/Component/Tabs

The collection of the tabs on the component. Any number of tabs can be placed on a component.

/Component/Tabs/Tab

One of the tabs on the component. The node describing a tab.

Attributes

  • id: It has to be unique in the entire XML. Mandatory attribute.
  • important: Optional logical attribute. If the tab is visible, it becomes active. Its default value is false.

/Component/Tabs/Tab/Caption (String)

The caption of the tab.

/Component/Tabs/Tab/ResourceName (String)

The name of the desired display, without the dot or extension. This will appear when clicking on the given tab.

/Component/Tabs/Tab/Visible (RuleValueType)

Enables us to regulate the visibility of the tab. More information on the rules can be found in the Rules menu of the Developer's manual. Optional. Default value: true

/Component/Tabs/Tab/CssClass (String)

The default style of the tab can be modified by specifying the name of a predefined CSS class. Optional.

/Component/Tabs/Tab/RefreshParentOnClose (Boolean)

It defines whether the screen underneath a pop-up window should be refreshed when the "Cancel" or "X" button is pressed on a pop-up window. Optional. The default value is true.

<Component xmlns="http://effector.hu/schema/ns/Component">
    <TabOverflowType>Shrinking</TabOverflowType>
    <IsHeaderVisible>true</IsHeaderVisible>
    <AreHeaderButtonsVisible>true</AreHeaderButtonsVisible>
    <AreSpaceSavingButtonsVisible>true</AreSpaceSavingButtonsVisible>
    <IsESCHandled>true</IsESCHandled>
    <TemplateURL></TemplateURL>

    <Tabs>
        <Tab id="grid_1" important="true">
            <Caption>Táblázat 1</Caption>
            <ResourceName>DisplayDefinitionTeszt</ResourceName>
            <Visible>true</Visible>
        </Tab>
        <Tab id="chart_1">
            <Caption>Diagram 1</Caption>
            <ResourceName>ChartFormTeszt</ResourceName>
            <CssClass>ChartTab</CssClass>
            <RefreshParentOnClose>false</RefreshParentOnClose>
        </Tab>
    </Tabs>
</Component>

  • Last update: 19 weeks 3 days ago
  • Effector