Hi! - I have written the HelloWorldPortlet java class as suggested in the
"How to write a Portlet" section of the online documentation.
I named the class package ibmwebportlet.test in the .java source file.
I have compiled the .java and created a .class file,
HelloWorldPortlet.class. I have put this .class file in both c:
\ibmwebportlet\test\ directory and the
c:\tomcat\jakarta-tomcat-3.2.1\webapps\jetspeed\ibmwebportlet\test\
directory.
When I run startup, both of these directories are in the CLASSPATH. This
is printed as output from the startup.bat script
I have also added this entry into the jetspeed-config.jcfg file per the
directions in the online documentation.
<portlet-entry type="instance" name="HelloWorldPortlet">
<classname>ibmwebportlet.test.HelloWorldPortlet</classname>
</portlet-entry>
The only thing that happens now, is from the customize page, I get
HelloWorldPortlet to show up for selection. Once chosen, nothing shows up
on the pages.
Shouldn't I get a page that says "HelloWorld!"????
This error shows up in the tomcat MS-DOS window,...
Error=CustomizePortlet: Could not get Portlet HelloWorldPortlet from
Portlet Factory!
Apparently, I am doing something wrong, but, I can't find any help in the
online documentation. How do I tell tomcat/jetspeed where to find the code
for my new portlet? Thanks!!!
Kendell
email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]