com.sapportals.wcm.rendering.readymades

Class UICommandComponent

java.lang.Object
  extended byBaseCompositeComponent
      extended bycom.sapportals.wcm.rendering.readymades.UICommandComponent

public final class UICommandComponent
extends BaseCompositeComponent

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.
See Also:
Serialized Form

Constructor Summary
UICommandComponent()
          must not be used!
UICommandComponent(IResource res, IProxy proxy, IParameterName parameterName, 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, String groupID, String menuType)
          constructor to be used if no parameterization is available or is not used on purpose.
 
Method Summary
protected  Component buildContent()
           
protected  void initFromPageContextImpl(IPageContext pc, String baseId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UICommandComponent

public UICommandComponent(IResource res,
                          IProxy proxy,
                          IParameterName parameterName,
                          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
parameters - the parameterization used to define the output of this class

UICommandComponent

public UICommandComponent(IResource res,
                          IProxy proxy,
                          String groupID,
                          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 Component buildContent()

initFromPageContextImpl

protected void initFromPageContextImpl(IPageContext pc,
                                       String baseId)


Copyright 2006 SAP AG Complete Copyright Notice