Theme
arya
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga
vela
Localized
Basic usage. These examples use the locale attribute. Normally you want to rely on the Locale set in the View.

Content1 (nl) in folder1

Content1 (nl_BE) in folder1

Content1 (fr) in root

Content1 (fallback) in root

<p>Content1 (fallback) in root</p>
Source

                <pe:localized folder="folder1" name="content1" escape="false" locale="nl_NL"/>
<pe:localized folder="folder1" name="content1" escape="false" locale="nl_BE"/>
<pe:localized folder="folder1" name="content1" escape="false" locale="fr"/>
<pe:localized folder="folder1" name="content1" escape="false" locale="de"/>
<pe:localized name="content1"/>
            
Components and more
Documentation pe:localized
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
name Name of the content file, relative to /WEB-INF/pfe-localized/ and optional folder (attribute). If `null`, content is expected in facets.
folder Folder of the content file, relative to /WEB-INF/pfe-localized/ (optional, if `null` root will be used).
locale String or java.util.Locale representing user locale. Default is a locale specified in view root.
escape Boolean value to specify if the content needs to be escaped. Escaping is done before Markdown is applied. Default is true.
evalEl Boolean value to specify if the content needs to EL evaluated. Default is false.
markdown Boolean value to specify if Markdown needs to be applied on the content. Default is false.
PrimeFaces Extensions Showcase - © 2011-2023,PrimeFaces: 14.0.5,PrimeFaces Extensions: 14.0.5,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: jetty/9.4.36.v20210114,Build time: 2024-09-10 21:01