SAP NetWeaver '04

com.sapportals.wcm.rendering.readymades
Class UICommandComponent

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

public final class UICommandComponent

Since:
EP6, SP2_CP renders the commands defined for a given resource. Depending on the used constructor, it either renders the commands defined in the given groupID or it reads out the configuration defined by the IParameters parameter.

Constructor Summary
UICommandComponent()
          must not be used!
UICommandComponent(IResource res, IProxy proxy, com.sapportals.wcm.repository.service.layout.customizing.IParameterName parameterName, com.sapportals.wcm.repository.service.layout.customizing.IParameters parameters)
          simple constructor to be used by parameterized components of the FlexUI, such as an ICollectionRenderer or an IResourceRenderer.
UICommandComponent(IResource res, IProxy proxy, java.lang.String groupID, java.lang.String menuType)
          constructor to be used if no parameterization is available or is not used on purpose.
 
Method Summary
protected  com.sapportals.htmlb.Component buildContent()
           
protected  void initFromPageContextImpl(com.sapportals.htmlb.rendering.IPageContext pc, java.lang.String baseId)
           
 

Constructor Detail

UICommandComponent

public UICommandComponent(IResource res,
                          IProxy proxy,
                          com.sapportals.wcm.repository.service.layout.customizing.IParameterName parameterName,
                          com.sapportals.wcm.repository.service.layout.customizing.IParameters parameters)
simple constructor to be used by parameterized components of the FlexUI, such as an ICollectionRenderer or an IResourceRenderer. None of the parameters must be null
Parameters:
res - the resource to render the commands for
proxy - the outer proxy, needed for creation of link targets
parameterName, - defining which parameter of the parameters defines the command group to use
parameters - the parameterization used to define the output of this class

UICommandComponent

public UICommandComponent(IResource res,
                          IProxy proxy,
                          java.lang.String groupID,
                          java.lang.String menuType)
constructor to be used if no parameterization is available or is not used on purpose. None of the parameters must be null
Parameters:
res - the resource to render the commands for
proxy - the outer proxy, needed for creation of link targets
groupID - the id of the group to render
menuType - the design the commands should be rendered in, use constants from IUIMenu

UICommandComponent

public UICommandComponent()
must not be used! Only needed for htmlb-Framework generic calls. Usage will lead to a runtime exception in the buildContent()-method
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.