SAP NetWeaver '04

com.sapportals.wcm.rendering.readymades
Class MetaPropertyComponent

[contained in: com.sap.km.cm.ui.flex.par - km.shared.ui.flex.readymades_api.jar]
com.sapportals.wcm.rendering.readymades.MetaPropertyComponent

public final class MetaPropertyComponent

Since:
NetWeaver 04, SPS4 renders a metaproperty for a given IResource. Depending on the parameters, a contentlink for the resource can be rendered within for this property.

Constructor Summary
MetaPropertyComponent()
          must not be used!
MetaPropertyComponent(IResource resource, IProxy proxy, IMetaName metaName, boolean hasContentLink, com.sapportals.wcm.repository.service.layout.customizing.IParameters parameters, ResourceStateType state)
          this constructor must be used when creating the component for rendering.
 
Method Summary
protected  com.sapportals.htmlb.Component buildContent()
           
protected  void initFromPageContextImpl(com.sapportals.htmlb.rendering.IPageContext pc, java.lang.String baseId)
           
 

Constructor Detail

MetaPropertyComponent

public MetaPropertyComponent()
must not be used! Only needed for htmlb-Framework generic calls. Usage will lead to a runtime exception in the buildContent()-method

MetaPropertyComponent

public MetaPropertyComponent(IResource resource,
                             IProxy proxy,
                             IMetaName metaName,
                             boolean hasContentLink,
                             com.sapportals.wcm.repository.service.layout.customizing.IParameters parameters,
                             ResourceStateType state)
this constructor must be used when creating the component for rendering.
Parameters:
resource - the resource to render the property for. Must not be null.
proxy - the current proxy of the rendering process. Must not be null.
metaName - the metaName of the property to render. Must not be null.
hasContentLink - flag, stating if a link to the content of the resource should be rendered.
parameters - the parameters defining how the property should be rendered exactly. Must not be null.
state - the state of the resource. Might be null
Method Detail

buildContent

protected com.sapportals.htmlb.Component buildContent()

initFromPageContextImpl

protected void initFromPageContextImpl(com.sapportals.htmlb.rendering.IPageContext pc,
                                       java.lang.String baseId)

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.