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, shouldDecode
buildAjaxRequest, 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, shouldWriteId
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public 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.InputRenderer
javax.faces.convert.ConverterException
protected void encodeScript(javax.faces.context.FacesContext context, Tagify tagify) throws IOException
context
- Current faces context.tagify
- Current tagify component that is processed.IOException
protected void encodeMarkup(javax.faces.context.FacesContext context, Tagify tagify) throws IOException
context
- Current faces context.tagify
- Current tagify component that is processed.IOException
protected 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.IOException
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.