I have created a file called FirstPortlet.java with the
TOMCAT_HOME/webapps/jetspeed/WEB-INF/classes directory. I then compiled
this file and the FirstPortlet.class was generated. I'm slightly unsure of
where to go from here as I have read that I need to then create a file
called local-portlets.xreg which is modelled after portlets.xreg. However
the other thing I read was that I need to make a new portlet entry to
jetspeed-config.jcfg and to the default user configuration file,
default.psml.
I'm assuming that the entries I have to use are similar to as follows...
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry name="FirstPortlet" hidden="false" type="instance"
application="false">
<meta-info>
<title>First Portlet Test</title>
</meta-info>
<classname>FirstPortlet</classname>
<media-type ref="html"/>
</portlet-entry>
I'm a little confused on where to go from here as I have read different
things. Can anyone help and give advice on what I need to do in order to
get my portlet up and running??
Thanks,
Bob.