|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.AbstractCompositeComponent
com.sapportals.wcm.control.util.components.base.BaseCompositeComponent
com.sapportals.wcm.rendering.readymades.ResourceLink
public final class ResourceLink
Link that triggers either a navigation into an
ICollection or displays the content of an IResource
inplace or out-of-place. IResource instance does not support the SupportedOption
SupportedOption.GET_CONTENT, no link will be rendered, except one is
defined in OTH or by the "rnd:contentlink" property.| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.control.util.components.base.BaseCompositeComponent |
|---|
request |
| Fields inherited from class com.sapportals.htmlb.AbstractCompositeComponent |
|---|
container |
| Constructor Summary | |
|---|---|
ResourceLink()
Deprecated. As of NetWeaver 7.1 |
|
ResourceLink(IResource resource,
com.sapportals.htmlb.Component comp,
IProxy proxy,
IParameters parameters)
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
protected com.sapportals.htmlb.Component |
buildContent()
Deprecated. As of NetWeaver 7.1 |
protected void |
initFromPageContextImpl(com.sapportals.htmlb.rendering.IPageContext pc,
String baseId)
Deprecated. As of NetWeaver 7.1 |
| Methods inherited from class com.sapportals.htmlb.AbstractCompositeComponent |
|---|
createCompositeComponentId, preRender, unEscape |
| Methods inherited from class com.sapportals.htmlb.Component |
|---|
getEncodedIdForForm, getId, getParent, initFromShortId, initializeFromId, isJsObjectNeeded, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceLink(IResource resource,
com.sapportals.htmlb.Component comp,
IProxy proxy,
IParameters parameters)
resource - the resource to render the link forcomp - to be added to the created link. In case the link could not be created, this component will be returned
by this class.proxy - is needed as navigation target and for a faster property lookupparameters - the parameters defining, what target the link will call.
This class reads out IResourceRendererParameterNameConst.OPENTARGETTYPE and
either opens a new window, if the value is IResourceRendererParameterNameConst.OPENTARGETTYPE_NEW or
displays the navigation target in the same window. IResourceRendererParameterNameConst.OPENTARGETTYPE_LINK_LIST
and the resource is an internal link, a new window will open as well. IResource will be rendered in place or in a new window.
All parameters must not be nullpublic ResourceLink()
| Method Detail |
|---|
protected com.sapportals.htmlb.Component buildContent()
BaseCompositeComponent
buildContent in class BaseCompositeComponent
protected void initFromPageContextImpl(com.sapportals.htmlb.rendering.IPageContext pc,
String baseId)
BaseCompositeComponent
initFromPageContextImpl in class BaseCompositeComponent| 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
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||