public class PropertyRendererMultiDependence extends AbstractPropertyRenderer implements ISelectionSupported
CID_PROPERTY_NAME, CID_PROPERTY_ROW, CID_PROPERTY_TIME_VALUE, CID_PROPERTY_VALUE, CM_DESCRIPTION, CM_RND_EXPLORER_URL, CM_RND_EXTERNAL_LINK, CM_RND_PATH, CM_RND_TARGET_URL, CM_RND_TARGET_URL_COPY, CM_RND_WEBDAV_URL, CM_RND_WEBDAV_URL_COPY, currentMetaName, DATE_FORMAT, DEFAULT_DATE_FORMAT, DEFAULT_DATE_TIME_FORMAT, DEFAULT_TIME_FORMAT, displayMode, EVENT_ADD_NEW_VALUE, EVENT_EDIT_HTML, labeledComponent, METATAG_NO_LABEL, RENDER_HTML, RES_ADD_NEW_VALUE, RES_EDIT_HTML
Constructor and Description |
---|
PropertyRendererMultiDependence()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IPropertyMap |
getProperties(IMetaName metaName,
IMetaContext rendererContext,
com.sapportals.htmlb.page.DynPage dynPage)
Deprecated.
As of NetWeaver 7.1
|
boolean |
isSelectionSupported()
Deprecated.
As of NetWeaver 7.1
|
String[] |
processEvent(IMetaName metaName,
com.sapportals.htmlb.event.Event event,
IMetaContext rendererContext,
com.sapportals.htmlb.page.DynPage dynPage)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderMetaProperty(IMetaName metaName,
IMetaContext rendererContext)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderProperty(IProperty property)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderProperty(IProperty property,
IResource resource,
int maxLength)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderPropertyEmptyDependence(IMetaName metaName,
IMetaContext rendererContext)
Deprecated.
As of NetWeaver 7.1
|
getBundle, getCurrentMetaName, getLabeledComponent, getProperty, getPropertyTooltip, getPropertyType, getResourceContext, is508Required, isEditable, isEditable, renderMetaNameLabel, renderProperty, renderSpacing, set508Required, setCurrentMetaName, setDisplayMode, setResourceContext
public PropertyRendererMultiDependence()
public com.sapportals.htmlb.Component renderMetaProperty(IMetaName metaName, IMetaContext rendererContext) throws WcmException
AbstractPropertyRenderer
renderMetaProperty
in interface IStructuredPropertyRenderer
renderMetaProperty
in class AbstractPropertyRenderer
metaName
- Description of the ParameterrendererContext
- Description of the ParameterWcmException
- Description of the Exceptionpublic com.sapportals.htmlb.Component renderPropertyEmptyDependence(IMetaName metaName, IMetaContext rendererContext) throws WcmException
metaName
- rendererContext
- WcmException
public String[] processEvent(IMetaName metaName, com.sapportals.htmlb.event.Event event, IMetaContext rendererContext, com.sapportals.htmlb.page.DynPage dynPage) throws WcmException
IStructuredPropertyRenderer
Event
should be decode using rendererContext.getRendererProxy().decodeValues(event);
If the ArrayList is not empty then the first value from it is the action as String
.
If the action is known by the renderer then the logic should be implemented
If something fails then one or more error messages should be returns as String arrayprocessEvent
in interface IStructuredPropertyRenderer
processEvent
in class AbstractPropertyRenderer
metaName
- the given IMetaName
for which the renderer is calledevent
- the Event
which has encoded the action and other value which will
be process by the rendererrendererContext
- context information for the rendererdynPage
- htmlb dynpage that contains the response documentnull
WcmException
- if an error occurredpublic IPropertyMap getProperties(IMetaName metaName, IMetaContext rendererContext, com.sapportals.htmlb.page.DynPage dynPage) throws WcmException
IStructuredPropertyRenderer
Component
from the DynPage
, the the input value, and validate and create a IProperty
for this
IMetaName
. If the input value is invalid then it will created a IProperty
with empty value
like it follows : IPropertyMap
and it will be shown as invalid input.
The returned IPropertyMap
could have one or more IProperty
according
with the property renderer logic.getProperties
in interface IStructuredPropertyRenderer
getProperties
in class AbstractPropertyRenderer
metaName
- the given IMetaName
for which the property will be createdrendererContext
- - contains the rendering information: which IResourceContext
,
IResource
or PropertyDisplayMode
dynPage
- htmlb dynpage that contains the response documentnull
is acceptedWcmException
- if an error occurredpublic com.sapportals.htmlb.Component renderProperty(IProperty property, IResource resource, int maxLength) throws WcmException
AbstractPropertyRenderer
renderProperty
in interface IPropertyRenderer
renderProperty
in class AbstractPropertyRenderer
property
- to berenderedresource
- to which the property belongsmaxLength
- Description of the ParameterWcmException
- Description of the Exceptionpublic com.sapportals.htmlb.Component renderProperty(IProperty property) throws WcmException
WcmException
public boolean isSelectionSupported()
isSelectionSupported
in interface ISelectionSupported
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice