portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Boss" <baron.muenhau...@googlemail.com>
Subject Re: How I can get access to PSML in a Portlet?
Date Wed, 13 Sep 2006 20:23:23 GMT
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message