Theme
arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
Theme
arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
Homepage
GitHub
Issue Tracking
MarkText
MarkText highlights search terms within specified containers using mark.js.
Based on
mark.js
by Julien Royer.
Components and more
ClientBehaviours
Converters
Functions, Utils
BlockUI
Calculator
Clipboard
CodeMirror
CodeScanner
CookiePolicy
Counter
Credit Card
ClockPicker
Document Viewer
DynaForm
EChart
FluidGrid
Fuzzy Search
GChart
ImageAreaSelect
ImageRotateAndResize
ImageZoom
InputOtp
InputPhone
InputPlace
Keynote
Layout
Legend
LightSwitch
Localized
MarkdownEditor
MarkText
MasterDetail
MonacoEditor
Orgchart
OpenStreetMap
QRCode
RemoteCommand
Session
Sheet
SlideOut
Speedtest
SunEditor
Timer
TimeAgo
TimePicker
Tooltip
TriStateManyCheckbox
Waypoint
Use Cases
Basic Usage
Case Sensitivity
Separate Word Search
Accuracy Levels
Update Search
Synonyms
Across Elements
Exclude Selectors
Wildcard Search
Advanced Features
Documentation pe:markText
Attributes (move mouse over the names to see data types)
Name
Description
accuracy
Search accuracy level: 'partially', 'complementarily', or 'exactly'.Default is partially.
acrossElements
Search across element boundaries.Default is false.
binding
An EL expression referring to a server side UIComponent instance in a backing bean.Default is generated.
caseSensitive
Whether the search should be case sensitive.Default is false.
exclude
Array of exclusion selectors. Matches inside these elements will be ignored.
for
Search expression to resolve the target component to search within.
id
Unique identifier of the component in a namingContainer.Default is generated.
rendered
Boolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true.
separateWordSearch
Whether to match each word separately.Default is true.
style
Inline style of the component.
styleClass
Style class of the component.
synonyms
Map of synonyms for term matching.
value
Search terms to highlight. Can be a string or array of strings.
widgetVar
Name of the client-side widget.
wildcards
Wildcard matching mode: 'disabled'|'enabled'|'withSpaces'.Default is disabled.
PrimeFaces Extensions Showcase - © 2011-2025,
PrimeFaces: 16.0.0-SNAPSHOT,
PrimeFaces Extensions: 16.0.0-SNAPSHOT,
JSF: Apache MyFaces Core 4.0 - Impl 4.0.3,
Server: Apache Tomcat (TomEE)/10.1.52 (10.1.4),
Build time: 2026-03-13 11:37
occured!