Components
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.
Content administrators create iViews from portal components. The HTML produced by the portal component is displayed in the iView. For more information on iViews, see the SAP NetWeaver documentation on the Help Portal (http://help.sap.com/)→.
Creating a Portal Component
Create a portal component by doing the following:
-
Write a java class that extends AbstractPortalComponent, which implements IPortalComponent.
-
Add the java class and any related files (such as HTML or JSP files) to a PAR file.
For more information on how a PAR file is constructed, see PAR Files.
-
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.
Using SAP NetWeaver Developer Studio
Use the wizards of the SAP NetWeaver Developer Studio to quickly create a portal component, as follows:
-
Using a wizard, create a portal application project.
-
Using a wizard, create a portal component in the project.
-
Add code to the doContent( and other methods of the AbstractPortalComponent to implement the logic of the component.
For more information on the request cycle for a portal component, and what methods can be implemented, see How Requests Are Handled.

