dev2dev Portlet

The dev2dev portlet illustrates a portlet that uses static HTML links for accessing valuable BEA resources and information.

Concepts Demonstrated by this Sample

This HTML portlet illustrates that portlets can be created with only HTML tags. No knowledge of JSP development is necessary. Simply give an HTML file a .jsp extension and create a portlet with it.

The file does not need <HTML>, <HEAD>, <TITLE>, or <BODY> tags. Simply enclose your HTML content in opening and closing <div></div> tags.

Location of Sample Files

This sample is located in the <BEA_HOME>/<WEBLOGIC_HOME>/samples/portal/portalApp/portalApp.work application.

How to Run the Sample

See Viewing the Samples in Portal Samples.

How to Use the Sample in Your Portals

  1. Create a portal application.
  2. Import or copy the following directories and files into your portal application and portal Web project. You may need to create the appropriate directories in your application:
    Import or copy this to this directory (create if necessary)

    <WEBLOGIC_HOME>/samples/portal/portalApp/
    sampleportal/portlets/includes/dev2dev.portlet

    <PORTAL_APP>/<project>/portlets/includes/
    <WEBLOGIC_HOME>/samples/portal/portalApp/
    sampleportal/portlets/dev2dev/
    <PORTAL_APP>/<project>/portlets/
  3. Open your portal file and navigate the page where you want the portlet to appear.
  4. In the Data Palette window, drag the Dev2Dev portlet onto a placeholder on the page.
  5. In the Property Editor window, set any relevant properties.
  6. Save the portal file.
  7. View your portal with the WebLogic Test Browser or with your default browser.

Related Topics

Creating a Portal File

Portal Samples