public class TabularDataControl extends DataBoundControl<TabularSource<?>>
FORCE_CASE_LOWER, FORCE_CASE_NONE, FORCE_CASE_UPPER, forceCase, requestParameterName, UNKNOWN_DATA_TYPE, value, valuePreviouslySet
childControls, controlContainer, controlDefinitionNode, controlResource, douiContext, hasValidatorSubControls, isValid, locale, ON_EVENT_CLOSE_WINDOW, ON_EVENT_LINK, ON_EVENT_POPUP_LINK_OR_RUNTIME_INTERFACE, ON_EVENT_POPUP_RUNTIME_INTERFACE, ON_EVENT_PROCESS_ACTION, ON_EVENT_RENDER_ACTION, ON_EVENT_REPLACE_INTERFACE, ON_EVENT_SCRIPT, ON_EVENT_VALIDATE, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE
Constructor and Description |
---|
TabularDataControl() |
Modifier and Type | Method and Description |
---|---|
void |
addRowAction(Node rowActionNode,
String actionName,
String actionControlId)
Adds a new row action in this control.
|
IResource |
getControlResource() |
IConverter |
getConverter()
Tabular data control uses no converter.
|
protected String |
getFieldHyperlink(TabularSource source,
ISourceData row,
String fieldId,
String compositePrimaryKey,
int rowIndex) |
IDataControlRequestHelpDefinition |
getRequestHelpDefinition()
Returns the request parameters help definition.
|
protected String |
getRowHyperlink(TabularSource source,
ISourceData row,
String compositePrimaryKey,
int rowIndex) |
protected String |
getRowOnClick(TabularSource<?> source,
ISourceData row,
String compositePrimaryKey,
int rowIndex) |
protected Map<String,String> |
getStringsToLocalize() |
void |
loadFromRequest() |
void |
setRenderData() |
autoAddDateTimeValueValidator, autoAddDoubleValueValidator, autoAddFileSizeValidator, autoAddIntegerValueValidator, autoAddLengthValidator, autoAddLongValueValidator, autoAddRequiredValueValidator, autoAddValidators, buildSubControls, createConverter, createDataType, getDataId, getFieldName, getProcessActionHandlerParameterName, getReload, getRuntimeDefaultSource, getSource, getSourceById, getSourceContext, getUnboundedConverter, init, setDefaultValue, setRawValue, setReload, setSourceParameter, setValid, setValueFromSource, setValueFromSource, update
convertValueToControlValue, getDataType, getDefaultValue, getParameterValue, getProcessActionIds, getRequestParameterName, getValue, getValue, getValueClass, initProcessActionIds, isTrim, loadSubControlFromRequest, loadSubControlsFromRequest, setProcessActionHandlerParameter, setProcessActionHandlerParameter, setProcessActionHandlerParameters, setSourceParameter, setSourceParameters, setTrim, setValue, valueIsArray
appendSubControl, appendSubControls, applyOnEventScripts, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getScriptActionValidation, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProcessActionIds, getValue, getValue, setProcessActionHandlerParameters, setValue
createContainer, disconnect, getChildControls, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes
getResources
public void addRowAction(Node rowActionNode, String actionName, String actionControlId)
rowActionNode
- the row action node.actionName
- the action name.actionControlId
- the action control identifier.public void loadFromRequest() throws PortalException
loadFromRequest
in interface IDataControl
loadFromRequest
in class DataBoundControl<TabularSource<?>>
PortalException
public void setRenderData() throws PortalException
setRenderData
in interface IControl
setRenderData
in class DataBoundControl<TabularSource<?>>
PortalException
protected Map<String,String> getStringsToLocalize()
getStringsToLocalize
in class Control
public IResource getControlResource() throws PortalException
getControlResource
in interface IControl
getControlResource
in class Control
PortalException
protected String getRowHyperlink(TabularSource source, ISourceData row, String compositePrimaryKey, int rowIndex) throws PortalException
PortalException
protected String getRowOnClick(TabularSource<?> source, ISourceData row, String compositePrimaryKey, int rowIndex) throws PortalException
PortalException
protected String getFieldHyperlink(TabularSource source, ISourceData row, String fieldId, String compositePrimaryKey, int rowIndex) throws PortalException
PortalException
public IConverter getConverter() throws PortalException
getConverter
in interface IDataControl
getConverter
in interface IRenderer
getConverter
in class DataControl
PortalException
public IDataControlRequestHelpDefinition getRequestHelpDefinition() throws PortalException
IDataControl
getRequestHelpDefinition
in interface IDataControl
getRequestHelpDefinition
in class DataBoundControl<TabularSource<?>>
PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.