Thanks for your response,
I copied the code straight into the portlet ADP template as you suggested and it works fine. However should I not somehow be using the code from my index.adp in the java-applet package to create the output without simply copying it out?
Is there a very simple package which I could download to help me to get my head around the way the packages work and link together? I am struggling to figure out how it all fits and how to use the template system. I am re-reading the documentation for open ACS package development but it’s not that clear with regards to linking into dotlrn, and there are limited examples.
Sorry for being such a newbie but I want to do things properly from the start as we have a large dotlrn project on the go.
Matthew