|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.doui.control.Control
lumis.doui.control.DataControl
lumis.doui.control.DataBoundControl
lumis.doui.control.primarykey.PrimaryKeyControl
public class PrimaryKeyControl
Specifies a primary key. This control may be used when adding doui data where you need to know the identity of the item that will be added apriori. The control renders hidden input text with the primary key that will be used on addition.
Field Summary |
---|
Fields inherited from class lumis.doui.control.DataControl |
---|
FORCE_CASE_LOWER, FORCE_CASE_NONE, FORCE_CASE_UPPER, forceCase, requestParameterName, UNKNOWN_DATA_TYPE, value, valuePreviouslySet |
Constructor Summary | |
---|---|
PrimaryKeyControl()
|
Method Summary | |
---|---|
protected java.lang.String |
generateControlId()
|
protected void |
setDefaultValue()
Sets the default value for the primary key. |
void |
setRenderData()
Sets the render data for the control. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lumis.doui.control.IDataControl |
---|
getConverter, getProcessActionIds, getValue, getValue, setProcessActionHandlerParameters, setValue |
Methods inherited from interface lumis.doui.control.IControl |
---|
createContainer, disconnect, getChildControls, getControlResource, getId, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes |
Methods inherited from interface lumis.doui.render.IRenderer |
---|
getResources, getSourceContext |
Constructor Detail |
---|
public PrimaryKeyControl()
Method Detail |
---|
protected java.lang.String generateControlId()
generateControlId
in class Control
protected void setDefaultValue() throws PortalException
setDefaultValue
in class DataBoundControl
PortalException
public void setRenderData() throws PortalException
setRenderData
in interface IControl
setRenderData
in class DataBoundControl
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |