Package io.quarkus.qute.i18n
Annotation Interface MessageParam
This annotation can be used to bind a message bundle method parameter with a template parameter declaration.
By default, the parameter element's name is used as-is.
@MessageBundle
interface MyBundle {
@Message("Hello {name}!")
String hello_world(@MessageParam("name") String foo);
}
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Returns:
- the name of the parameter declaration
- Default:
- "<<element name>>"
-