portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weßling, Achim" <Achim.Wessl...@gt-net.de>
Subject DatabaseBrowser Portlet
Date Tue, 25 Mar 2003 14:59:20 GMT
Hallo,

I constructed by myself an extendeddatabasebrowser, but have some
difficulties to getting it work!

The configuration in the xreg-files looks as follows:
    <portlet-entry name="ExtendedDatabaseBrowserPortlet" hidden="false"
        type="abstract" application="false">
        <security-ref parent="default"/>
 
<classname>de.infokomGT.portal.portlets.browser.ExtendedDatabaseBrowserPortl
et</classname>
        <url cachedOnURL="true"/>
        <category group="ims_admin">database</category>
    </portlet-entry>
    <portlet-entry name="GISeye Projects-Database" hidden="false"
        type="ref" parent="ExtendedDatabaseBrowserPortlet"
application="false">
        <meta-info>
            <title>GISeye Projects-Database</title>
            <description>alle GISeye Projekte</description>
        </meta-info>
        <parameter name="template" value="database-browser-portlet"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="customizeTemplate"
value="database-browser-customize"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action"
            value="portlets.browser.ExtendedDatabaseBrowserAction"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="sql" value="select * from PROJECTS ORDER BY 1"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="datasource-name"
            value="java:comp/env/jdbc/gisportal" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="windowSize" value="10" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="row-link-ids" value="EDIT,DELETE"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="row-link-types" value="pane,pane"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="row-link-targets"
            value="ProjectsForm,ProjectsForm" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="table-link-ids" value="ADD" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="table-link-types" value="pane" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="table-link-targets" value="ProjectsForm"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="ims_admin">database</category>
    </portlet-entry>
    <portlet-entry name="ProjectsForm" hidden="false" type="ref"
        parent="Velocity" application="false">
        <meta-info>
            <title>ProjectsForm</title>
            <description>Portlet zum editieren der
Projekt-Datenbank</description>
        </meta-info>
        <parameter name="template" value="projects-form" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action" value="portlets.ProjectsFormAction"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="ims_admin">database</category>
    </portlet-entry>

All files and classes are at the right place. All entries of the request are
displayed in the 'browser', but if I try to use the Edit-, Delete- or
Add-Links of the 'browser' the 'browser' is shown again and not the
ProjectsForm Portlet.
A little hint would be nice! Thanks!

Mit freundlichem Gruß

Achim Weßling

************************************************************************
**
INFOKOM Gütersloh
Fachbereich Technische Anwendungen / Zentrale Anwendungen
Tel.: 05241/85-2926
Achim.Wessling@gt-net.de
http://www2.infokom-gt.de/produkte



Mit freundlichem Gruß

Achim Weßling

************************************************************************
**
INFOKOM Gütersloh
Fachbereich Technische Anwendungen / Zentrale Anwendungen
Tel.: 05241/85-2926
Achim.Wessling@gt-net.de
http://www2.infokom-gt.de/produkte


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Mime
View raw message