The Common-Controls Tag Library

<util:resource>

Translates the given resource key

Tag class: ResourceTag
 

[ Syntax ]

Standard Syntax
<util:resource
key = "String"
[ filter = "boolean" ]
[ locale = "String" ]
/>
 

[ Attributes ]

AttributeTypeDescriptionReq.RTExp
filterboolean This flag specifies whether an HTML-conversion should be carried out.  
keyString The resource key to translate
localeString enables localization for the control element. String literals will be interpreted as keys in the Application.properties file.

Annotation: boolean value true oder false oder the name of a locale.

 

[ Example ]

Translates the resource key fw.tooltip.create.item based on the users locale


<%@ taglib uri="http://www.common-controls.com/cc/tags-util"   prefix="util" %>

<util:resource key="fw.tooltip.create.item"/>