You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Lars Meynberg <la...@gmail.com> on 2006/11/16 15:53:43 UTC
Deploying JSR 268 Portlets
Hi Everybody.
I downloaded and installed the early diver from
http://svn.apache.org/repos/asf/portals/pluto/branches/1.1-286-COMPATIBILITY/
I wrote a portlet and registered it in the
pluto-portal-driver-config.xmlbut everytime i tried to call the
portlet i only got the message "The
requested resource (/JSR286_Portlet/PlutoInvoker/SamplePortlet) is not
available".
Did somebody successfully deploy a simple JSR 286 portlet?
Best regards
Lars Meynberg
Re: Deploying JSR 268 Portlets
Posted by Lars Meynberg <la...@ethalon.de>.
Nobody could give me an example? My portlet.xml:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app>
<event-definition>
<name>org.sample.defaultevent</name>
<java-type>java.lang.String</java-type>
</event-definition>
<portlet>
<description>SamplePortlet</description>
<portlet-name>SamplePortlet</portlet-name>
<display-name>SamplePortlet</display-name>
<portlet-class>org.sample.portlets.SamplePortlet</portlet-class>
<supported-processing-event>
<name>org.sample.defaultevent</name>
</supported-processing-event>
<!-- some initialtization params -->
<init-param>
<name>edit</name>
<value>/jsp/edit.jsp</value>
</init-param>
<init-param>
<name>help</name>
<value>/jsp/help.jsp</value>
</init-param>
<init-param>
<name>debug</name>
<value>true</value>
</init-param>
<expiration-cache>-1</expiration-cache>
<!-- the supported PortletModes -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
<portlet-mode>HELP</portlet-mode>
</supports>
<supported-locale>de</supported-locale>
<portlet-info>
<title>SamplePortlet</title>
<short-title>SamPor</short-title>
<keywords>test</keywords>
</portlet-info>
</portlet>
</portlet-app>
--
View this message in context: http://www.nabble.com/Deploying-JSR-268-Portlets-tf2643494.html#a7486481
Sent from the Pluto - Dev mailing list archive at Nabble.com.