Markus Pallo wrote: > Hello, > > we have the need to integrate some portles in our sling applications or > vice versa. > > I have seen that there are some incubator checkins to > incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal > for some pluto stuff. > > Has somebody any idea how to use portlets with sling and whats the use > case for above mentioned code ? And whats the status of it ? > The stuff in the whiteboard is a prototype to include portlets in Sling. You can write a Sling script which invokes the portal container and includes the output of a portlet at that place.
The basic functionality is working like rendering and actions. But especially some of the JSR 286 features like eventing or caching are not implemented yet. (help is definitly welcome) So the idea is to have a fully JSR 286 compliant container which allows you to embed portlets in a Sling output. The other way, including output from Sling into portal can be done in several ways. You can develop a portlet accessing the contents from the repository through JCR, get json/xml representation from Sling or the full HTML output from Sling. HTH Carsten -- Carsten Ziegeler [email protected]
