public class LinkToRuntimeTabularDataControl extends AdvancedTabularDataControl
runtimeInterfaceId
element specifies the id of the runtime
interface that must be called.
Also, it is possible to specify a set of parameters. For each parameter it
is possible to define the parameter name and the field id from which value
will be retrieved.
The attribute fieldId is required. The attribute name is optional. If it is
not specified, the parameter will be set with the same name of the field.
Example of a LinkToRuntimeTabularDataControl definition:
ALLOW_SELECT_ROW_TYPE_MULTIPLE, ALLOW_SELECT_ROW_TYPE_NONE, ALLOW_SELECT_ROW_TYPE_SINGLE, allowSelectRowType, orderByDir, orderByField
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 |
---|
LinkToRuntimeTabularDataControl() |
Modifier and Type | Method and Description |
---|---|
protected String |
getRowOnClick(TabularSource<?> source,
ISourceData row,
String compositePrimaryKey,
int rowIndex) |
void |
init(Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl) |
protected void |
readDefinition(Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl)
Reads the control configuration and sets the control attributes.
|
buildSubControls, getRequestHelpDefinition, loadFromRequest, setFieldData, setOrderByRenderData, setRenderData, setSelectedElementsRenderData, setValueFromSource
addRowAction, getControlResource, getConverter, getFieldHyperlink, getRowHyperlink, getStringsToLocalize
autoAddDateTimeValueValidator, autoAddDoubleValueValidator, autoAddFileSizeValidator, autoAddIntegerValueValidator, autoAddLengthValidator, autoAddLongValueValidator, autoAddRequiredValueValidator, autoAddValidators, createConverter, createDataType, getDataId, getFieldName, getProcessActionHandlerParameterName, getReload, getRuntimeDefaultSource, getSource, getSourceById, getSourceContext, getUnboundedConverter, setDefaultValue, setRawValue, setReload, setSourceParameter, setValid, 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 init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
init
in interface IControl
init
in class AdvancedTabularDataControl
PortalException
protected void readDefinition(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
controlDefinitionNode
- the definition node.controlContainer
- the control container.parentControl
- the parent control.PortalException
- if an error occur reading the definition.protected String getRowOnClick(TabularSource<?> source, ISourceData row, String compositePrimaryKey, int rowIndex) throws PortalException
getRowOnClick
in class TabularDataControl
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.