public class TagifyRenderer
extends org.primefaces.renderkit.InputRenderer
| Constructor and Description |
|---|
TagifyRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected com.alibaba.fastjson.JSONArray |
createTagsJson(javax.faces.context.FacesContext context,
Tagify tagify) |
protected com.alibaba.fastjson.JSONArray |
createWhiteBlackListJson(javax.faces.context.FacesContext context,
Tagify tagify,
List<?> blackOrWhitelist) |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeHiddenInput(javax.faces.context.FacesContext context,
Tagify tagify,
String clientId)
Encodes the hidden input for the JavaScript widget.
|
protected void |
encodeMarkup(javax.faces.context.FacesContext context,
Tagify tagify)
Creates the HTML markup for the JavaScript widget.
|
protected void |
encodeScript(javax.faces.context.FacesContext context,
Tagify tagify)
Encodes the custom script attributes for the JavaScript widget.
|
Object |
getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object submittedValue) |
protected List<String> |
parseTagsJson(String[] hInputValues) |
isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecodebuildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeEnd in class javax.faces.render.RendererIOExceptionpublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
decode in class javax.faces.render.Rendererpublic Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException
getConvertedValue in class org.primefaces.renderkit.InputRendererjavax.faces.convert.ConverterExceptionprotected void encodeScript(javax.faces.context.FacesContext context,
Tagify tagify)
throws IOException
context - Current faces context.tagify - Current tagify component that is processed.IOExceptionprotected void encodeMarkup(javax.faces.context.FacesContext context,
Tagify tagify)
throws IOException
context - Current faces context.tagify - Current tagify component that is processed.IOExceptionprotected com.alibaba.fastjson.JSONArray createWhiteBlackListJson(javax.faces.context.FacesContext context,
Tagify tagify,
List<?> blackOrWhitelist)
context - Current faces context.tagify - Current tagify component.blackOrWhitelist - A Tagify.getWhitelist() or Tagify.getBlacklist().protected com.alibaba.fastjson.JSONArray createTagsJson(javax.faces.context.FacesContext context,
Tagify tagify)
context - Current faces context.tagify - Current tagify component.protected void encodeHiddenInput(javax.faces.context.FacesContext context,
Tagify tagify,
String clientId)
throws IOException
context - Current faces context.tagify - Current tagify component that is processed.clientId - Client ID of the current component that is processed.IOExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.