« 返回到 Liferay IDE

Developing Portlets in Liferay IDE

Portlet Development Demo Video. #

Click the link below to see a video of portlet development demo.

Portlet development demo video

0 附件
102592 查看
平均 (4 票)
满分为 5,平均得分为 3.25。
评论
讨论主题回复 作者 日期
I just began a project, and I have to use... Roman Quelen 2010年6月25日 上午5:23
The documentation here would not be... Greg Amerson 2010年6月26日 上午10:51
Ok, I'll look this way (although I already made... Roman Quelen 2010年6月28日 上午12:51
can any one tell me, is there the screen cast... Heri Parid Pardian 2010年6月29日 上午1:06
Not yet but hopefully soon. Greg Amerson 2010年7月2日 上午7:58
I basically did what was described in the... Stefan Moellmann 2010年7月27日 上午6:56
The same as Stefan here! It did not happen to... Aritz Galdos 2010年7月29日 上午6:17
Same here. I haven't been able to add a simple... Victor Popiol 2010年7月29日 上午8:26
I had the same problem with infinite loop of... Peter Sterba 2010年7月30日 上午12:12
I have the same problem, I created the... Nicolas Burg 2010年8月2日 上午9:09
A work around was posted in the Issue by... Geoff Ruscoe 2010年8月2日 下午12:30
This video is great and helps a lot to create... Nicolas Burg 2010年8月5日 上午3:01
You will likely have to include the struts jars... Greg Amerson 2010年8月5日 上午8:19
Hey guys, if you want to get the fixed portlet... Greg Amerson 2010年8月5日 上午8:22
I´m a newbie to liferay and pretty frustrated... Antti Kokko 2010年8月19日 上午2:39
Try installing the nightly build of the IDE the... Greg Amerson 2010年8月19日 上午6:32
Video seems to be missing. Anyway we could have... Jason Morton 2010年8月25日 下午2:03
Hi Jason, I fixed the link. Greg Amerson 2010年8月27日 下午12:15
Hi, Did anyone face problem using service... Sandeep Nair 2010年9月6日 上午4:31
I encountered a problem while trying to add... Bindu Lakhanpal 2010年9月14日 下午10:38
Hi Bindu That problem will arise if you use... Ramesh K 2010年9月14日 下午11:37
I added a new portlet as demonstrated by this... Bindu Lakhanpal 2010年9月16日 下午11:54
I am getting the following error when trying to... Michael Smolyak 2010年10月13日 上午6:10
The video is broken/gone? I am logged in but... Keith Freeman 2010年10月13日 上午8:32
Thanks for the note Keith, the permissions... Greg Amerson 2010年10月19日 上午1:32
The video is gone again. I get the error below.... Eren Senelmis 2011年11月19日 下午12:57
New Jira ticket for 404 :... Mike Harris 2011年12月23日 上午6:26
Sorry for the inconvenience. I have fixed the... Greg Amerson 2012年1月2日 下午8:58
I successfully created a Portlet per this... Neo Foo 2012年2月8日 下午5:41
Hi all, is there any document that is relevant... Vivekanantham Janakiram 2012年7月30日 上午3:06

I just began a project, and I have to use Liferay, so I figured the best way to develop new portlets would be the new IDE, but I don't have much time (8 weeks).
It's the first time I have to work with portlets, so it's a little difficult to start without documentation.
Will this documentation be released soon or should I pick another framework to start to work with?
在 10-6-25 上午5:23 发帖。
The documentation here would not be comprehensive on portlet development in Liferay but rather just how to use the Liferay Portlet wizard in Liferay IDE. But there is lots of information you need online for Liferay 5.2 documentation that would include portlet development.

http://www.liferay.com/documentation/liferay-portal/5.2
在 10-6-26 上午10:51 发帖以回复 Roman Quelen
Ok, I'll look this way (although I already made a first glance at the documentation).
在 10-6-28 上午12:51 发帖以回复 Gregory Amerson
can any one tell me, is there the screen cast video tutorial for EXT - Plugin (Liferay portal 6)
在 10-6-29 上午1:06 发帖。
Not yet but hopefully soon.
在 10-7-2 上午7:58 发帖以回复 Heri Parid Pardian
I basically did what was described in the video, but when I was trying to add the new portlet to a page in Liferay (as in 2:15 min in the video) the portlet wasn't loaded. It was listed in the selection dialog so it was obviously deployed, but when I added it there was just an animation indicating that it was still loading.

Meanwhile in the console of the Liferay/Tomcat-Server there was an exception being thrown in an infinite loop. The exception starts of with:
"Caused by: javax.portlet.PortletException: javax.servlet.ServletException: javax.portlet.PortletException: javax.servlet.ServletException: javax.portlet.PortletException: javax.servlet.ServletException: Servlet execution threw an exception
at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatche­rImpl.java:109)"
and is followed by a stack trace of probably hundreds of lines.

What did I do wrong? Why does it work in the video but not on my machine?

These are the software components I am working with:
Eclipse JEE Helios
Liferay Portal Tomcat 6.0.4
Liferay Plugins SDK 6.0.4
Liferay Eclipse Plugin 1.0.1

If you need any more information to understand my problem, feel free to ask!
Any help would be much appreciated!
在 10-7-27 上午6:56 发帖。
The same as Stefan here!
It did not happen to me with previous versions.
I use exactly the same config as Stefan
在 10-7-29 上午6:17 发帖以回复 Stefan Moellmann
Same here. I haven't been able to add a simple sample portlet to the portal. The server gets into an infinite loop with exceptions. I'm using the tomcat bundle 6.04 and the plugin sdk 6.04 on Eclipse Helios. Any help will be highly appreciated.

Victor
在 10-7-29 上午8:26 发帖。
I had the same problem with infinite loop of exceptions. Out of pure desperation I tried to return to the clear starting state, and it worked.
In my case I have delted all the projects from Liferay IDE (including source files), and also all remaining/forgotten portlets from ..liferay-plugins-sdk-6.0.2\portlets\
在 10-7-30 上午12:12 发帖以回复 Victor Popiol
I have the same problem, I created the following issue : http://issues.liferay.com/browse/IDE-174
I hope a fix will be sent soon emoticon
在 10-8-2 上午9:09 发帖以回复 Peter Sterba
A work around was posted in the Issue by Gregory Amerson

Here is the quote:
Hey guys, this problem has been fixed in SVN but I haven't gotten the nightly builds fixed as I haven't had a chance to discuss the issue with Brian Chan.

But it is easy to avoid it with the current release of the IDE by simply changing the name of the JSP folder for the mode jsps to be something other than an exact match for the portlet name. See issue IDE-160

-----

Super big thanks to everyone for such a quick reply. I have tested the work around and passed it along to coworkers.

Cheers!
在 10-8-2 下午12:30 发帖以回复 Nicolas Burg
This video is great and helps a lot to create simple portlets.

But, is it possible to have a demo of how to develop portlet with struts actions?

I've tried to modify the portlet.xml to make a StrutsPortlet but the class was missing in my libs... Is there a tutorial somewhere on how to implement solutions with struts actions in a new portlet using liferay ide and liferay-plugins-sdk?
在 10-8-5 上午3:01 发帖。
You will likely have to include the struts jars in your portal dependency jars in the liferay-plugin-package.properties. I hope to support more struts development in the future that will make it more straight forward.
在 10-8-5 上午8:19 发帖以回复 Nicolas Burg
Hey guys, if you want to get the fixed portlet wizard that avoids the infinite loop exceptions you can install the nightly build (development stream) here:

http://releases.liferay.com/tools/ide/eclipse/helios/nightly/
在 10-8-5 上午8:22 发帖。
I´m a newbie to liferay and pretty frustrated since I´ve been figthing with this infinite loop for couple of days and nothing seems to work out. I tried to rename the folder and installed the nightly build but still no success.
在 10-8-19 上午2:39 发帖以回复 Gregory Amerson
Try installing the nightly build of the IDE the infinite loop bug has been fixed.

http://releases.liferay.com/tools/ide/eclipse/helios/nightly/
在 10-8-19 上午6:32 发帖以回复 Antti Kokko
Video seems to be missing. Anyway we could have that video back?
在 10-8-25 下午2:03 发帖以回复 Gregory Amerson
Hi Jason, I fixed the link.
在 10-8-27 下午12:15 发帖以回复 Jason Morton
Hi,

Did anyone face problem using service builder in the IDE. First time it works fine. When i tried to add another entity and try to build-service and then deploy it gave me error in the server. So i switched back to using service builder from command prompt.
在 10-9-6 上午4:31 发帖以回复 Gregory Amerson
I encountered a problem while trying to add portlet.
I signed in using test@liferay.com and test as password.
When i am trying to add by clicking the green add button,there is a continouus Loading.. message appearing in the small box..
在 10-9-14 下午10:38 发帖。
Hi Bindu
That problem will arise if you use browser version below IE7 & mozilla below 3.5
so use greater versions to work
for more info click this link.
http://www.liferay.com/community/forums/-/message_boards/message/5673473


Tha­nks & Regards
Ramesh K
在 10-9-14 下午11:37 发帖以回复 Bindu Lakhanpal
I added a new portlet as demonstrated by this video.But there were no "Preferences" and "Help" options at 2:44.Only "Look and Feel" and "configuration" options are there.
在 10-9-16 下午11:54 发帖。
I am getting the following error when trying to watch the video.

You do not have permission to access the requested resource.

http://www.liferay.com/c/document_library/get_file?p_l_id=5630538&groupId=461583­7&folderId=4933105&name=DLFE-40608.swf

Michael
在 10-10-13 上午6:10 发帖。
The video is broken/gone? I am logged in but get this error when I click the link:

Forbidden

You do not have permission to access the requested resource.

http://www.liferay.com/c/document_library/get_file?p_l_id=5630538&groupId=461583­7&folderId=4933105&name=DLFE-40608.swf
在 10-10-13 上午8:32 发帖。
Thanks for the note Keith, the permissions should be fixed now.
在 10-10-19 上午1:32 发帖以回复 Keith Freeman
The video is gone again. I get the error below.

The requested resource was not found.

http://www.liferay.com/c/document_library/get_file?p_l_id=5630538&groupId=­4615837&folderId=4933105&name=DLFE-40608.swf
在 11-11-19 下午12:57 发帖以回复 Gregory Amerson
New Jira ticket for 404 :
http://issues.liferay.com/browse/IDE-526
在 11-12-23 上午6:26 发帖以回复 Eren Senelmis
Sorry for the inconvenience. I have fixed the video link.
在 12-1-2 下午8:58 发帖。
I successfully created a Portlet per this video. The problem I'm having is modifications to my JSP don't appear when I refresh the web page hosting my portlet.

The only way I can get my JSP changes to show up in the browser is to right click on my project in Eclipse then select Liferay -> SDK -> Deploy. Then when I refresh the page hosting my portlet I can see the changes.

How can I make the modifications to my project files automatically deploy?
在 12-2-8 下午5:41 发帖。
Hi all, is there any document that is relevant to the developing the custom portlet using Eclipse IDE.
在 12-7-30 上午3:06 发帖。