サポートと今すぐチャット
サポートとのチャット

Foglight 7.1.0 - Web Component Tutorial

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

Localized Value

This is the default return type. It returns the basic type of data of the context, but localizes it if a localization is available. If the context is a host server and the path is name, then it returns a simple string. If the context is a list of servers and the path is name, then it returns a list of names.

Value

Value returns the basic type of the data in the context, not its localized value. If the context is a host server and the path is name, then it returns a simple string. If the context is a list of servers and the path is name, it returns a list of names.

CountPerItem

This is used when you want to show the count of a list. For example, use this property to display the number of file systems on a host. Count acts on the result of evaluating the Context binding normally. There are several cases:

If the result is a list of lists, then it returns a list composed of the results of evaluating the CountPerItem on each value in the top level. For example, if the context is set to hosts, and the path is set to events, then CountPerItem returns a list of the number of events for each host.

Count All

Unlike CountPerItem, this return type just counts up all of the non-list elements of a list. For example, if context is set to Hosts and the path is set to Events, then Count All returns the total number of events for all of the Host data objects. CountPerItem would return a list, with each item a count of events under a given host.

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択