Context packages the values that the page or view requires to present its data. For more information, see Context Types.
If the context of a page has been set, then a view can use that value by specifying the named value of the context. (For more information, see Context Tab.) For example, a Host page sets its current host into the context using the key host. A flow to another view uses that context by setting its context input (the expected context value) to use host as its key.
Context can be passed when moving from one page to another. For example, click on a link in the Hosts view, and the Host Monitor page is displayed with data for the same host. In this case, the Host Monitor page expects that:
• |
• |
The host is set in the Context Inputs section and hosts is set in Additional Context.
If a view is not passed the required context input, it uses the persisted value, if there is one. For example, if a child view is a table and selectedRow is passed on an Update flow to its container, the container must have selectedRow defined as an Internal key. For a discussion of the types of context, see Context Types .
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center