Hi Bela,
I tried your portlet example as you said and it does work. So there is really no 
problem as long as you are careful to be case-sensitive while referring to the portlet.

The way i tested it though was the foll:

I edited the default.psml file directly of the user i'm interested in and added the 
reference of your jsp and it shows up fine.

There is one other thing you might want to check.

Open the jetspeed.log under web-inf\log directory and make sure that there are no 
exceptions related to not find resource keys. If there is then when you add the 
portlet using the customizer it will not work and therefore you may never see the 
portlet you chose. But in your case i think you said you could see the frame...so 
likely that is not problem. Check the log files to see if there are any 
exceptions...that will be a great help in debugging the problem.

Try editing the psml file and see if it makes a difference.

Regards,
Archana
>>> [EMAIL PROTECTED] 01/11/04 11:57 AM >>>
Try  to  add this portlet conf in demo-portlets.xreg  or  create
local-portlets.xreg and give a shot.

~suchi

-----Original Message-----
From: Bela Kovac [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 10, 2004 2:57 PM
To: [EMAIL PROTECTED]
Subject: JSP Portlet Problem


Hi,

i'm new to the list and to Jetspeed. I read many documents about adding 
an own portlet to Jetspeed. I tried adding a JSP Portlet, but let's 
first talk about my setup.

I use Jetspeed 1.4b4 on a Mac, with java 1.4.1 and tomcat 5.x
I downloaded the binary form of jetspeed (WAR) and put in the the 
tomcat webapps folder. Then i startet tomcat. To make a long story 
short, jetspeed is alive and kicking at localhost:8080/jetspeed. So far 
so good.

Th i wanted to add a JSP Portlet (which does nothing than a Hello 
World), and put a file "HelloWorld.xreg" in .../jetspeed/WEB-INF/conf:

<?xml version="1.0" encoding="UTF-8"?>

<registry>
     <portlet-entry name="HelloWorld" hidden="false" type="ref" 
parent="JSP" application="false">
         <meta-info>
             <title>HelloWorld</title>
             <description>Mein erstes Jetspeed JSP-Portlet</description>
         </meta-info>
         <parameter name="template" value="HelloWorld.jsp" 
hidden="true"/>
         <media-type ref="html"/>
         <category>demo</category>
         <category>jsp.demo</category>
     </portlet-entry>
</registry>


Additionally i put the file "HelloWolrd.jsp" in the folder 
.../jetspeed/WEB-INF/templates/jsp/portlets/html:

<%@ page language="java"
          session="false"
%>
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' 
prefix='jetspeed' %>
<p>
Hello World!
</p>


Finally i logged into Jetspeed (using my own login) and added the 
HelloWorld JSP-Portlet as described in the Jetspeed-Tutorial (Add 
Portlet, then Save and Apply). The Frame of my Portlet is shown, but i 
get no Hello World, but an error message saying:

JSPViewProcessor: Could not include the following JSP Page: 
[HelloWorld.jsp] : null


I have no idea where look for my error. If anyone can help me out i 
would be very grateful.



Many thanks in advance,

Bela

PS: if this question was answered before, please don't flame me and 
give me a hint... ;-)

-- 
"Der Blitzableiter auf einem Kirchturm ist das denkbar st�rkste 
Misstrauensvotum gegen den lieben Gott."
   -- Karl Kraus

---------------------------------------------------------------------
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