Show TOC Start of Content Area

Background documentation Components  Locate the document in its SAP Library structure

A portal component produces HTML output to be displayed in an iView of the portal. The component can provide all the HTML for an iView, or can provide a fragment of HTML to be included within the HTML output of another component.

A portal component is tied to a specific HTTP request. The component is executed when a request is sent to the portal, and the component is listed in the URL. For more information on portal URLs, see Portal URLs.

Content administrators create iViews from portal components. The HTML produced by the portal component is displayed in the iView. For more information, see iViews in the portal administration guide.

You create a portal component by doing the following:

      Write a java class that extends AbstractPortalComponent, which implements IPortalComponent.

Note

Note: You could write your own class that implements IPortalComponent, but it is strongly advised to simply extend AbstractPortalComponent.

·        Add the java class and any related files (such as HTML or JSP files) to a PAR file.

·        Modify the deployment descriptor (portalapp.xml file) of the PAR file to provide information about the component, such as the name of the component, the name of the implementing class and configuration properties.

For more information on the runtime flow when components are executed, see How Requests Are Handled (by Portal Runtime).

For more information on creating a portal component, see Creating a Portal Component.

 

End of Content Area