Jeff Handa

Greenhorn
+ Follow
since Mar 30, 2005
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jeff Handa

Hi Raphael,

a) To give you portlets the same look and feel as the portlets you describe, you'll want to use the Liferay Search Container. You can learn more about it here: http://www.liferay.com/community/wiki/-/wiki/Main/SearchContainer

b) To get your portlet to show up in the Control Panel, you'll need to add two entries to your liferay-portlet.xml file.

<control-panel-entry-category>portal</control-panel-entry-category>
<control-panel-entry-weight>1.0</control-panel-entry-weight>

There are additional details here: http://www.liferay.com/community/wiki/-/wiki/Main/Control+Panel#section-Control+Panel-CustomizingTheControlPanel
11 years ago
What container are you using? In Liferay Portal, the PortletPreferences are stored in a table called portletpreferences.
12 years ago
Hi Syruss,

Check out 'Portal Instances' in the Liferay Portal Administrator's Guide (~ pg 115). I think that might be what you're looking for.
12 years ago
Hi Syruss,

If you're already got a .war file and you want to deploy it there are a couple options.

1) From the Control Panel, you can use the Plugins Installer portlet. There should be a tab that says Upload File which will allow you to browse your local system for a war file.

2) Drop the war file in the hot deploy directory. By default, there is the deploy folder in the Liferay Bundle. If the server is running, Liferay will pick up the war file and deploy it.

If you're using the Plugins SDK, then the ant deploy target should deploy the portlet to the correct location. If you are using a non-standard hot deploy folder location, you may need to modify your build.<username>.properties file to point to the correct path. Look at the original build.properties for a section that looks like this:

12 years ago
If you're working with Liferay, then be sure to create an account on Liferay.com. From there you can explore the Liferay Community Wiki which is a great resource to get started. The wiki is community driven so as you're getting familiar with Liferay feel free to enhance any of the articles you find. On the Liferay.com site you'll also find the Message Boards and additional Documentation.

I would also recommend that you take a look at Liferay in Action by Rich Sezov. The book has not been published yet, but it is currently available through the Manning Early Access Program (MEAP) and you can download the first chapter for free to get a feel for it. Check out Rich's Blog to keep up to day on publishing details.
12 years ago
That should be possible. What portal server are you using? Many include out of the box portlets that provide iFrame or Web Proxy type portlets that could be used to provide access to existing login pages.
12 years ago
Hi Prasad,

There are many books that cover this topic but one of the newest books that covers portals and portlets is Portlets in Action by Ashish Sarin. The book is so new it actually hasn't been published yet , but you can preview it through Manning's Early Access Program (http://www.manning.com/sarin/).

The first chapter is available for free (http://www.manning.com/sarin/Sarin_MEAP_Ch1.pdf) and it does a good job describing portals and portlets.

Do you know what portal technology (vendor) you'll be working with?
12 years ago
The Liferay Community Wiki is a great resource to get started. The wiki is community driven so as you're getting familiar with Liferay feel free to enhance any of the articles you find. On the Liferay.com site you'll also find the Message Boards and additional Documentation

You may also want to consider attending a Liferay training. There are three different courses available depending on your area of focus and training is offered around the world. In fact, I was in Bangalore last month teaching the Liferay Developer course. For additional information on training, check out: http://www.liferay.com/services/training/

I would also recommend that you take a look at Liferay in Action by Rich Sezov. The book has not been published yet, but it is currently available through the Manning Early Access Program (MEAP) and you can download the first chapter for free to get a feel for it. Check out Rich's Blog to keep up to day on publishing details.


12 years ago
Hi Muthukumar,

It looks like you're deploying the ext environment. As Tim mentioned, you should be creating new portlets in the Plugins SDK. The ext environment is only used to modify core portal behavior.

12 years ago
Hi MItal,

Congratulations on your success with your use of LIferay as a CMS for an external Web Site. Is this a public web site? Would you mind sharing links?

Regards,
Jeff
12 years ago


There is an article in the Liferay Wiki that may help:

http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/How+to+Expose+and+Consume+a+Method

From the wiki, there's also a link to this forum post with some additional discussion:

http://www.liferay.com/web/guest/community/forums/-/message_boards/message/227226#_19_message_210103

I haven't tried this myself, but hopefully this helps.

Regards
12 years ago
Hi Leonardo,

A quick Google search of servlet vs. portlet will yield a lot of very good explanations.

Cameron's post does a great job explaining why you'd use a portlet over a servlet:

https://coderanch.com/t/203604/Portals-Portlets/java/Portlets-vs-Servlets#986491

I also think this post by Chris from Unicon is a great starting point for developing portlets if you have a background in developing servlets.

http://www.unicon.net/node/586

13 years ago
Hi Paveen,

To use the sendRedirect method you'll need to be in the action phase of the portlet lifecycle. Can you use an actionURL and do a sendRedirect before the render phase calls doView?
13 years ago
Hi Arjun,

Try including these in your portal:

13 years ago