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.
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. ]
Some special behaviors of the context element timeRange are:
• |
Explicitly including timeRange as a required Context on a view that becomes a page causes a time range drop-down to appear at the top right of the page. This enables the user to change the time range used in the page. |
• |
Marking a timeRange as an optional Context in a component permits it to be independently updated from the rest of the views on a page. This permits multiple views on a page to each have their own time range. |
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center