Anonymous_User Absent Member.
Absent Member.
1387 views

Custom Portlet questions


I have a few questions when we have created custom portlets for the
NetIQ Dashboard.
1. When we create a custom portlet the java file JSPPortlet.java is
created under the WEB-INF folder. What is the purpose of this java file
and is it being called in the portlet?
If I need to add additional java files for a custom portlet what is the
correct location to put the java files so they can be called from the
portlet?
2. When portlet is created the WEB_INF/lib directory is empty. When the
war file for this portlet is created some jars are automatically
inserted into the WEB_INF/lib folder. From where do these jar files get
inserted in WEB_INF/lib folder in the war file? If I need to add some
additional jars to the portlet where do these files have to be placed to
be included in the portlet war file?
If I put additional jar files in the WEB_INF/lib folder will they be
picked up on the CLASSPATH of the portlet?
Thanks for your help and we are using version 5.6 of NOC and Dashboard.


--
eh9089
------------------------------------------------------------------------
eh9089's Profile: https://forums.netiq.com/member.php?userid=3995
View this thread: https://forums.netiq.com/showthread.php?t=54302

Labels (1)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Custom Portlet questions

eh9089,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.netiq.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team
http://forums.netiq.com


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Custom Portlet questions


Eric,
Was this answered via our email exchange?

Here is the response from Development:

For portlet development:

To create a new portlet - download Liferay 5.2.3 plugin sdk ( Files are
available for download at
http://sourceforge.net/projects/lportal/files/Liferay%20Portal/5.2.3/
😞

cd liferay-plugins-sdk-5.2.3/portlets

../create.sh Dashboard-Test "Dashboard Demo Portlet"

Now create a war to be deployed :
cd Dashboard-Test
ant war
This will create a war file - copy this to the dashboard deploy folder.

The directory "Dashboard-Test" can be modified to customize your
portlet.

Here's the link for their development wiki. It details how to create a
portlet in 5.2

http://tinyurl.com/og72gx8

eh9089;260843 Wrote:
> I have a few questions when we have created custom portlets for the
> NetIQ Dashboard.
> 1. When we create a custom portlet the java file JSPPortlet.java is
> created under the WEB-INF folder. What is the purpose of this java file
> and is it being called in the portlet?
> If I need to add additional java files for a custom portlet what is the
> correct location to put the java files so they can be called from the
> portlet?
> 2. When portlet is created the WEB_INF/lib directory is empty. When the
> war file for this portlet is created some jars are automatically
> inserted into the WEB_INF/lib folder. From where do these jar files get
> inserted in WEB_INF/lib folder in the war file? If I need to add some
> additional jars to the portlet where do these files have to be placed to
> be included in the portlet war file?
> If I put additional jar files in the WEB_INF/lib folder will they be
> picked up on the CLASSPATH of the portlet?
> Thanks for your help and we are using version 5.6 of NOC and Dashboard.



--
leefrazier1
------------------------------------------------------------------------
leefrazier1's Profile: https://forums.netiq.com/member.php?userid=4990
View this thread: https://forums.netiq.com/showthread.php?t=54302

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.