pe

Tag codeMirror

Component Information 
InfoValue
Component Typeorg.primefaces.extensions.component.CodeMirror
Handler Classorg.primefaces.extensions.component.codemirror.CodeMirrorHandler
Renderer Typeorg.primefaces.extensions.component.CodeMirrorRenderer
DescriptionNone
Attributes 
NameRequiredTypeDescription
asyncfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set to true, ajax requests are not queued. Default value: false.
bindingfalsejakarta.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
An EL expression referring to a server side UIComponent instance in a backing bean.
completeMethodfalsejakarta.el.ValueExpression
(must evaluate to javax.el.MethodExpression)
Method providing suggestions.
converterfalsejakarta.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
An EL expression or a literal text that defines a converter for the component. When it's an EL expression, it's resolved to a converter instance. In case it's a static text, it must refer to a converter id.
electricCharsfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Configures whether the editor should re-indent the current line when a character is typed that might change its proper indentation (only works if the mode supports indentation). Default is true.
escapefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Defines if the content of the component should be escaped or not.
escapeSuggestionsfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Defines if the suggestions should be escaped or not.
extraKeysfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Can be used to specify extra keybindings for the editor. When given, should be an object with property names like Ctrl-A, Home, and Ctrl-Alt-Left.
firstLineNumberfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
At which number to start counting lines. Default is 1.
fixedGutterfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When enabled (off by default), this will make the gutter stay visible when the document is scrolled horizontally.
globalfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. Default value: true.
gutterfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Can be used to force a 'gutter' (empty space on the left of the editor) to be shown even when no line numbers are active. This is useful for setting markers.
idfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Unique identifier of the component in a naming container.
indentUnitfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
How many spaces a block (whatever that means in the edited language) should be indented. The default is 2.
inputmodefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
HTML5 inputmode attribute for hinting at the type of data this control has for touch devices to display appropriate virtual keyboard.
keyMapfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Configures the keymap to use. The default is "default", which is the only keymap defined in codemirror.js itself. Extra keymaps are found in the keymap directory.
labelfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
A display name for this component.
lineNumbersfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Whether to show line numbers to the left of the editor.
lineWrappingfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Whether CodeMirror should scroll or wrap for long lines. Defaults to false (scroll).
matchBracketsfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Determines whether brackets are matched whenever the cursor is moved next to a bracket.
modefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The mode to use. When not given, this will default to the first mode that was loaded. It may be a string, which either simply names the mode or is a MIME type associated with the mode. Alternatively, it may be an object containing configuration options for the mode, with a name property that names the mode (for example {name: "javascript", json: true}).
onblurfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when input element loses focus.
onchangefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when input element loses focus and its value has been modified since gaining focus.
onclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when input element is clicked.
oncompletefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Javascript handler to execute when ajax request is completed.
oncontextmenufalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a context menu is triggered.
oncopyfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when the user cuts the content of an element.
oncutfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when the user copies the content of an element.
ondblclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when input element is double-clicked.
ondragfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element is dragged.
ondragendfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute at the end of a drag operation.
ondragenterfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element has been dragged to a valid drop target.
ondragleavefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element leaves a valid drop target.
ondragoverfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element is being dragged over a valid drop target.
ondragstartfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute at the start of a drag operation.
ondropfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when dragged element is being dropped.
onerrorfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Javascript handler to execute when ajax request fails.
onfocusfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when input element receives focus.
oninputfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element gets user input.
oninvalidfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element is invalid.
onkeydownfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a key is pressed down over input element.
onkeypressfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a key is pressed and released over input element.
onkeyupfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a key is released over input element.
onmousedownfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer input element is pressed down over input element.
onmousemovefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer input element is moved within input element.
onmouseoutfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer input element is moved away from input element.
onmouseoverfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer input element is moved onto input element.
onmouseupfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer input element is released over input element.
onpastefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when the user pastes some content in an element.
onresetfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when the Reset button in a form is clicked.
onscrollfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when an element's scrollbar is being scrolled.
onsearchfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when the user writes something in a search field.
onselectfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when text within input element is selected by user.
onstartfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Javascript handler to execute before ajax request is begins.
onsuccessfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Javascript handler to execute when ajax request succeeds.
onwheelfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when the mouse wheel rolls up or down over an element.
pollIntervalfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
Indicates how quickly CodeMirror should poll its input textarea for changes. Most input is captured by events, but some things, like IME input on some browsers, doesn't generate events that allow CodeMirror to properly detect it. Thus, it polls. Default is 100 milliseconds.
processfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Component(s) to process partially instead of whole view.
readonlyfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
This disables editing of the editor content by the user. If the special value "nocursor" is given (instead of simply true), focusing of the editor is also disallowed.
renderedfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value to specify the rendering of the component, when set to false component will not be rendered.
requiredfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Marks component as required.
requiredMessagefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when required field validation fails.
smartIndentfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Whether to use the context-sensitive indentation that the mode provides (or just indent the same as the line before). Defaults to true.
tabindexfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The tab index to assign to the editor. If not given, no tab index will be assigned.
tabSizefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
The width of a tab character. Defaults to 4.
themefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The theme to style the editor with.
undoDepthfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
The maximum number of undo levels that the editor stores. Defaults to 40.
validatorfalsejakarta.el.ValueExpression
(must evaluate to javax.faces.validator.Validator)
A method expression referring to a method validationg the input.
valuefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Object)
Value of the component.
valueChangeListenerfalsejakarta.el.ValueExpression
(must evaluate to javax.faces.event.ValueChangeListener)
A method binding expression referring to a method for handling a valuchangeevent.
widgetVarfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Name of the client side widget.
workDelayfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
Highlighting is done by a pseudo background-thread that will work for workTime milliseconds, and then use timeout to sleep for workDelay milliseconds. The defaults are 200 and 300, you can change these options to make the highlighting more or less aggressive.
workTimefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
Highlighting is done by a pseudo background-thread that will work for workTime milliseconds, and then use timeout to sleep for workDelay milliseconds. The defaults are 200 and 300, you can change these options to make the highlighting more or less aggressive.

Output generated by Vdldoc View Declaration Language Documentation Generator.