
36 vFoglight
Web Component Guide
The required item is a key, which indicates that a context entry must be declared
before it can be used. You can extract information from the context, which was
perhaps set in a parent view or in the Additional section of the Label’s Context
tab, and display it as the label’s string. Thus, the label’s text can be dynamic and
be made to depend on a user’s choice at run time.
• Query Selection
The chief way of extracting results from the data model at run time is by using a
query, which returns a list of data objects. Often, the list contains a single data
object, and you can select the specific piece of information you want in that
object and use it as the label’s display string. There are many options for using a
query selection, including one for the case where the query returns an empty list.
The accompanying figure shows that the same choices for selecting the data apply
to this case too.
The Query Selection dialog:
Kommentare zu diesen Handbüchern