public class UIJavascriptList extends UIEditableList
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIJavascriptList.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
protected static String |
IS_LIST_TEMPLATE_VAR |
protected static String |
ROW_INDEXES_PARAM |
protected static String |
TEMPLATE_INDEX_MARKER |
diff, model, number, parentList, parentListSet, removeEmpty, templateCONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME| Constructor and Description |
|---|
UIJavascriptList() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext context) |
protected void |
encodeTemplate(javax.faces.context.FacesContext context)
Renders an element using rowIndex -2 and client side marker
TEMPLATE_INDEX_MARKER. |
String |
getContainerClientId(javax.faces.context.FacesContext context)
Override container client id resolution to handle recursion.
|
String |
getFamily() |
int[] |
getRowIndexes() |
protected void |
processFacetsAndChildren(javax.faces.context.FacesContext context,
javax.faces.event.PhaseId phaseId) |
void |
setRowIndexes(int[] rowIndexes) |
addValue, broadcast, createEditableModel, encodeBegin, encodeChildren, encodeEnd, exposeRequestMapModelValue, flushCachedModel, getCurrencyKeyForInitialStampState, getDiff, getEditableModel, getInternalState, getModel, getNumber, getParentList, getProtectedModel, getRemoveEmpty, getRendererType, getRendersChildren, getRowCount, getRowData, getRowIndex, getRowKey, getStampState, getTemplate, getValue, initializeState, insertValue, invokeOnComponent, isRowAvailable, isRowModified, moveValue, postRowDataChange, preRowDataChange, processComponent, processDecodes, processUpdates, processValidators, queueEvent, recordValueModified, removeValue, resetCachedModel, restoreRequestMapModelValue, restoreState, saveRequestMapModelValue, saveState, setDiff, setModel, setNumber, setRemoveEmpty, setRendererType, setRowIndex, setRowKey, setTemplate, updateModel, valueChanged, visitTreeaddValidator, addValueChangeListener, clearInitialState, compareValues, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, validate, validateValuegetConverter, getLocalValue, setConverteraddClientBehavior, addFacesListener, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
protected static final String TEMPLATE_INDEX_MARKER
protected static final String ROW_INDEXES_PARAM
protected static final String IS_LIST_TEMPLATE_VAR
public UIJavascriptList()
public void setRowIndexes(int[] rowIndexes)
public int[] getRowIndexes()
public String getFamily()
getFamily in class UIEditableListpublic String getContainerClientId(javax.faces.context.FacesContext context)
getContainerClientId in class UIEditableListprotected void encodeTemplate(javax.faces.context.FacesContext context) throws IOException
TEMPLATE_INDEX_MARKER.
This element will be used on client side by js code to handle addition of a new element.
encodeTemplate in class UIEditableListIOExceptionpublic void decode(javax.faces.context.FacesContext context)
decode in class javax.faces.component.UIInputprotected void processFacetsAndChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)
processFacetsAndChildren in class UIEditableListCopyright © 2019 Nuxeo. All rights reserved.