Problem

A Forum reader recently asked:

“I don’t know how to import my own portlets, and I couldn’t find any documentation on that.”

And here’s the response from John DaSilva …

Solution

I’m assuming that you understand the way J2EE Applications are packaged into an archive. Here are the basic steps to follow:

1. Make a backup of your IDM WAR file.

2. Your portlets must be JSR 168-compliant, and they must not be using any of the Portlet Implementation provided by Novell. They must use only the APIs defined in the specification.

3. Package your portlets and supporting classes into a jar file, or more than one if needed.

4. You will need to rebuild the WAR by taking the default and placing your JAR files in the WEB-INF/lib

5. Edit the portlet.xml file to add your portlet definitions to the file. Be very careful in editing this file – it must remain valid to the specification. I would suggest adding your portlets to the end of the file. Make sure none of your names conflict with the existing names.

6. Deploy the WAR.

7. Go into Portlet Admin in the User Application and register your portlets.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
By: coolguys
Dec 10, 2007
11:47 am
Reads:
1,424
Score:
Unrated