立即与支持人员聊天
与支持团队交流

Foglight 5.9.2 - Web Component Guide

Introducing the Web Component Framework The Web Component Framework Configuring Views and Context Queries Functions Bindings Additional Components

Additional Context

Additional Context for a view allows you to set values on context keys for the view to use. If it is a container view, the additional information can be used by its children.

Outputs (Flow Context Mappings)

Some components may generate context values based on actions that the user performs on the component. These are listed in the component reference help, under Global Generated Contexts , and in the Generated Context(s) section under Actions. You can use this section of the Context editor to define a key for one or more of these context outputs if you need that information in a dependent view.

Configuration Tab

Configuration properties are those that control the overall look of the component and where the component gets its data. For instance, in a Splitter you can control whether the split is horizontal or vertical. In a simple component like a Label, two important configuration properties are the label text and background color. In a complex component like a row-oriented table, there are a large number of properties for controlling how the rows are configured. In addition to the main property for setting values on rows, there are others for sorting, setting headers on columns, controlling width, and many others. For information on configuring the properties of individual components, see the Web Component Reference pages.

For an introductory overview of the configuration process, see the Web Component Tutorial.

Cooperative Layout

Some container views (for example, Rows Layout, Columns Layout, Fixed Layout, Grid, Iterator, and Tab Layout) allow cooperative layout to be turned on using the Cooperative Layout property. When this feature is set, eligible child components (all chart components) of the same size align themselves within the container. In the case of the chart components, charts of the same width align their y axes to the same horizontal location within the charts and charts of the same height align their x axes to the same vertical location within the charts. Individual charts may be exempted from cooperative layout by setting the Cooperative Layout property on the chart to false.

By default most containers have cooperative layout set to inherit, which allows a parent container with cooperative layout enabled (if one exists) to include the subcontainer’s children components in its cooperative layout. (The exception is the Tab Container, which defaults cooperative layout to disabled for performance reasons, and the Portlet container, which defaults to on.) Setting cooperative layout to off means that the container’s child components will not be laid out cooperatively, no matter what the setting of its parent container is.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级