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

Foglight 5.9.8 - Web Component Guide

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

Flow Context Mappings

You can create context keys that relate to a flow action. For example, suppose you want to select a host from a table showing a list of Hosts. To get access to the selected Host you have to define a context element for use as a Flow Context for table rows. To do this, define the Selected Row built-in context as Host. Then you can use it to change pages to a view that requires Host as an input. See Additional Context to learn about adding more context elements to the flow.

Validation of Context in the Editors

When checking the required inputs of a contained view, optional and internal inputs are provided at runtime by either the container or another contained view.

The strict typing nature of the Web Component Framework disallows arbitrary casting of one type to another, since in any responsible UI development you need to detect and prevent incorrect input. ]

On-null

Many places in the flow and context definition allow you to specify the value to use if the incoming value is an unexpected null value.

TimeRange

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级