Forum .LRN Q&A: Re: My applet doesn't appear on the "Manage Applets" page

Hi Javier,

You need to install your packages from the site-wide administration (http://YourServer/acs-admin/install/ choose "install from local"). Running the sql scripts and restarting is not enough, OpenACS/dotLRN handles installed packages explicitely so it can do version control among other things. You can manage your packages from http://YourServer/acs-admin/apm

I hope it will help.

Hi Emmanuelle.

Before all, thanks for your help.

The packages seems to be installed because I created them from the "Package Manager" page. However I have uninstalled and installed them again, but my problem remains.

I have checked my code a lot of times, even comparing with other uninstalled packages (like "dotlrn-chat" which can be installed correctly) so I suppose my problem must be a simple overlooked detail.

Are there more documentation, apart from the API, explaining the process of constructing a portlet?

Thanks in advance.

Hi again,

I have solved the problem creating the packages from the beginning (third time), and this time it works!!

No idea what was the reason and no energy to find it.

Your help was very useful for discarding a lot of posibilities.

Thanks

Hi Javier,

You're welcome. Glad to know you got it to work. Applets can be very tricky and hard to debug.

Regarding its creation I would recommend to do it using the Tcl API instead of a SQL script. It's less prone to error. Same for the portlet part.

I've uploaded an example based on the tutorial written by César Claveria and Rocael Hernández (U.Galileo, Guatemala). The example contains a simple To-do application along with its portlet and applet. In this example, no SQL is used for their creation, Tcl code only.

To-do packages: http://openacs.org/storage/file?file_id=4034160

Hi Emmanuelle,

You have read my mind because I have already done the openACS package creation tutorial from the pdf of César and Rocael and the portlet is the next step I planned to do.

I will try to do it by my own and if I have problems I will check your file. It will make me work more confident.

Thanks for all.