Chatta subito con l'assistenza
Chat con il supporto

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

Icon

A chooser allows you to accept colors from a palette.

Allows you to input component, style and value strings.

Icon selection is how you specify an Icon binding. The Icon selection allows a user to select a specific icon (as defined in the Icons tab of one of the modules), and attach an Icon Renderer. The Icon Renderer controls the size of icon that is drawn.

An Icon has the following properties:

Table 21. Icon properties

A drop-down list allows you to choose an icon from the existing group of System icons, or ones that have been added to user modules. For more information, see Type Mappings.

A drop-down list allows you to choose a renderer from the existing group of System renderers, or ones that have been added to user modules. See Renderers .

String Template

A String Template binding evaluates to a string or list of strings. Unlike a simple string, this binding accepts parameters that can partly determine its value.

A String Template has the following properties:

A text box allows you to type a value for the string. Parameters are permitted.

A drop-down list allows you to choose a renderer the existing group of System renderers, or ones that have been added to user modules. See Renderers .

Allows you to choose a binding for On Null, or any other parameter that has been declared in the Value box.

Parameters are added to the String Template through standard 0-based arguments common in programming. The first parameter is substituted for the text {0}, the second for {1}, continuing for each sequential number. For example, the String Name Machine{0}, Application{1} with parameters that evaluate to One and Two, returns the value Name, MachineOne, ApplicationTwo.

If the parameter evaluates to a list, then the String also evaluates to a list, repeating the string for each value in the list.

For example, suppose the String Name: {0} has a parameter that evaluates to a list of server names:

Then the String binding evaluates to the following list:

A renderer can also be specified for a String binding.

Rich Text and Rich Text Template

The Rich Text data value is the same String Template, but permits some XHTML in its content. There are no block-level constructors. For more information see String Template. A renderer cannot be chosen. Any formatting must be controlled by the use of XHTML tags.

The Rich Text Template allows parameters to be set as well. A Rich Text Template has the following properties:

A text box allows you to type a value for the string. Parameters are permitted as well as XHTML.

Allows you to choose a binding for On Null, or any other parameter that has been declared in the Value box.

Image Reference

A reference to an image that is specified by its URL.

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione