Oops! Attached the wrong registry entry. Anyway there are 3 of the portlets, with all 
meaning to be identically described. The adept and amtraining are under /portlets/ and 
the adportlet is under /portlets/html/. No idea why though. Ideas appreciated.

Here's the adept entry from registry:
<portlet-entry name="adept" hidden="false" type="ref" parent="CustomizerVelocity" 
application="false">
        <meta-info>
            <title>@dept-Vorgehensmodell</title>
            <description>@dept-Vorgehensmodell</description>
        </meta-info>
        
<classname>org.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet</classname>
        <parameter name="template" value="adept" hidden="false"/>
        <parameter name="action" value="portlets.DirectoryAction" hidden="false"/>
        <parameter name="url" value="ccm/adept/" hidden="false"/>
        <media-type ref="html"/>
        <media-type ref="html"/>
        <url>/ccm/adept</url>
    </portlet-entry>


Yep, true. Useless duplicate media-type entrys. Some sort of slip also. Thanks for 
noticing.

Risto



-----Ursprungliche Nachricht-----
Von: Richard Berger [mailto:[EMAIL PROTECTED]
Gesendet: Friday, January 16, 2004 5:53 PM
An: Jetspeed Users List
Betreff: RE: Why vm-templates come from /portlets/ and /portlets/html/?


I am probably confused, but I couldn't help noticing that you were
discussing problems with:
        '/portlets/adept.vm'
        '/portlets/html/adportlet.vm'
But the descriptions you provided (which do appear to be identical) were
for:
        <parameter name="template" value="adportlet" hidden="false"/> 
        <parameter name="template" value="amtraining" hidden="false"/>
(e.g. for adportlet and amtraining).
Do we need to see the portlet-entry for adept.vm?  By any chance is it
missing a media-type entry?  (And I am not sure why your entries have
duplicate media types, but then I am newbie at this).

Good luck,
RB



Twenty Years | One Mission | Accelerating Business Processes 


Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.748.1017 (Office) 
510.769.0596 (Fax) 
www.actiontech.com 

NOTE: The opinions expressed herein are those of the writer and not necessarily those 
of Action Technologies, Inc. or its employees or its affiliates. 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, January 16, 2004 5:24 AM
To: [EMAIL PROTECTED]
Subject: Why vm-templates come from /portlets/ and /portlets/html/?

Hey!

I have a problem with vm-templates coming from different locations. In
the registry they are configured similarly:

<portlet-entry name="AMTraining" hidden="false" type="ref"
parent="CustomizerVelocity" application="false">
        <meta-info>
                <title>AM Training</title>
                <description>Schhulungsunlaslagen zum AM
Training</description>
        </meta-info>
        
<classname>org.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet
</classname>
        <parameter name="template" value="amtraining" hidden="false"/>
        <parameter name="action" value="portlets.DirectoryAction"
hidden="false"/>
        <parameter name="url" value="ccm/AM-training/" hidden="false"/>
        <media-type ref="html"/>
        <media-type ref="html"/>
        <url>/ccm/AM-training</url>
</portlet-entry>

<portlet-entry name="adPortlet" hidden="false" type="ref"
parent="CustomizerVelocity" application="false">
        <meta-info>
                <title>@dept-Verzeichnisstruktur</title>
                <description>AD-Portlet</description>
        </meta-info>
        
<classname>org.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet
</classname>
        <parameter name="template" value="adportlet" hidden="false"/>
        <parameter name="action" value="portlets.DirectoryAction"
hidden="false"/>
        <parameter name="url" value="ccm/Ad-portlet/" hidden="false"/>
        <media-type ref="html"/>
        <media-type ref="html"/>
        <url>/ccm/Ad-portlet</url>
</portlet-entry>

but still the portal refers to them at different locations 
        '/portlets/adept.vm'
        '/portlets/html/adportlet.vm'

Why is that? Any idea what to check? I can't find any other
configurations about them. 

Help is really appreciated.
Thanks, Risto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to