Portal Search Portlet

The Portal Search portlet lets you perform searches in your enterprise databases. This portlet also provides an edit mode to let you set search preferences, including selecting available databases to search.

Concepts Demonstrated by this Sample

This is a JSP portlet that provides edit mode.

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/search.portlet

    <PORTAL_APP>/<project>/portlets/includes/
    <WEBLOGIC_HOME>/samples/portal/portalApp/
    sampleportal/portlets/search/
    <PORTAL_APP>/<project>/portlets/
    <WEBLOGIC_HOME>/samples/portal/portalApp/
    sampleportal/WEB-INF/lib/
    autonomyClient1.5.0.jar and
    autonomySupport.jar
    <PORTAL_APP>/<project>/WEB-INF/lib/
  3. Open your portal file and navigate the page where you want the portlet to appear.
  4. In the Data Palette window, drag the Portal Search portlet onto the portal 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.
    • WebLogic Test Browser - In the WebLogic Workshop toolbar, click the Start button (or press Ctrl+F5).
    • Default Browser - In the WebLogic Workshop menu, choose Portal-->Open Current Portal.

Related Topics

Creating a Portal File

Portal Samples