Hi Saj,

Adding portlets to OXF requires you to:

1) Include the code of your portlets in the OXF application. In the
   case of the Sun examples, drop samples.jar into the OXF WEB-INF/lib
   directory, and copy over the hierarchy of JSP files as well.

2) Update the OXF WEB-INF/portlet.xml if needed. It actually already
   contain the Sun examples.

3) In the OXF portal/page/portal.xpl file, add portlet instances with
   the same names you used in portlet.xml.

Note that last time we checked, the Sun examples were out of date with
the latest revisions of JSR-168 (they were not using the right APIs),
so they did not run without modifications.

Our effort so far have been mainly focused on allowing OXF
applications to work in JSR-168-compliant containers. This means that
the OXF portlet container in 2.1 is preliminary and does not yet
implement persistent preferences, therefore the functionality of two
of the Sun examples is limited. We are working on improving the OXF
portlet container, so we hope you'll bear with us!

-Erik

> Hi,
>
> I'd like to get the Sun JSR 168 Examples working on the OXF
> platform. Does anyone know where I can find how to do this?
>
> Reading the online documentation, it mentions "you can also
> configure non-OXF Portlets within the same portlet.xml", reading
> further there is no mention on how to integrate "non-OXF" Portlets.
>
> Look forward to your reply
>
> Cheers
> Saj


_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
  • JSR 168 Sajjad Manzoor
    • Erik Bruchez

Reply via email to