Hi Michael,
You need to put all the portlet-app content in portlet.xml except,
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:js="http://portals.apache.org/jetspeed"
xmlns:dc="http://www.purl.org/dc"
<js:services>
<js:service name='PageManager'/>
</js:services>
This content goes in the jetspeed-portlet.xml
You need both files. Try looking at the j2-admin application.
Philip
On 9/13/06, Michael Boss <[EMAIL PROTECTED]> wrote:
It not turn out.
My jetspeed-portlet.xml:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app id="dbportlet"
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:js="http://portals.apache.org/jetspeed"
xmlns:dc="http://www.purl.org/dc">
<portlet id="DBTest">
<portlet-name>DBTest</portlet-name>
<portlet-class>
jdbc.dbportlet
</portlet-class>
<init-param>
<name>sqlQuery</name>
<value>
SELECT GROUP_ID, GROUP_NAME, PARENT_ID FROM mifa_portlet_group
</value>
</init-param>
<init-param>
<name>pageSize</name>
<value>6</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Group und portlet manager tree</title>
</portlet-info>
</portlet>
<portlet id="groupProperty">
<portlet-name>groupProperty</portlet-name>
<portlet-class>
groupProperty.groupPropertyPortlet
</portlet-class>
<init-param>
<name>sqlQuery</name>
<value>
SELECT GROUP_ID, GROUP_NAME, PARENT_ID FROM mifa_portlet_group
</value>
</init-param>
<init-param>
<name>pageSize</name>
<value>6</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Group property</title>
</portlet-info>
</portlet>
<portlet id="portletProperty">
<portlet-name>portletProperty</portlet-name>
<portlet-class>
portletProperty.portletPropertyPortlet
</portlet-class>
<init-param>
<name>sqlQuery</name>
<value>
SELECT GROUP_ID, GROUP_NAME, PARENT_ID FROM mifa_portlet
</value>
</init-param>
<init-param>
<name>pageSize</name>
<value>6</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Portlet property</title>
</portlet-info>
</portlet>
<js:services>
<js:service name='PageManager'/>
</js:services>
</portlet-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]