getf - Format variable

<getf>

Get the variable formatting string.
Use java method: MessageFormat.format(String pattern, Object... arguments)

Introduce

Get variable to replace placeholders in a String.
Placeholders are {0}、{1}、...、{n}

Attribute

values(optional)
The specified parameters, multiple parameters can be filled, each with "," separated
valueScope(optional)
The scope of the variable

Property
context:Get variable from context(default)
session:Get variable from session

Example:

Usage

The use of getf is similar to that of get, usage refer: get tag.

Result: