« 返回到 Liferay IDE

Liferay IDE Developing Liferay Hooks

Video tutorials #

Hook wizard tutorial videos #

New Hook Wizard Video 1

New Hook Wizard Video 2

FAQs #

Custom JSPs have lots of errors markings, how do I remove them? #

First, know that you can safely ignore the errors in the JSP. They are showing up because the Eclipse JSP validator does not know how to find the required contextual JSP files to make that particular JSP build without errors. I have an enhancement ticket for modifying the Eclipse JSP model to fix this situation but I have not implemented it yet because I believe the performance/memory trade off is not worth developer's time.

Second, since IDE 1.3.0, there is an option in the JSP hook wizard for disabling the JSP syntax validation for the custom_jsps folder automatically. If you didn't use the wizard, the following is the manual process.

The manual process for removing the errors is this: solution is to modify the JSP validator's exclusion filters to tell it not to validate any custom_jsp files.

  • Right click the hook project, go to Properties
  • Select Validation page
  • Check the box "Enable project specific settings"
  • In the row "JSP Syntax Validator" click the "..." button
  • In the dialog click the "Add exclude group" button
  • Select the "Exclude group" node and click the "Add Rule..." button
  • Select the filter type, "Folder or File name"
  • Click Browse for folder and select the folder that stores the custom jsps
  • Click Finish, then OK, then OK
  • Right click the custom_jsps folder and select "Validate"

The errors should be removed.

0 附件
64693 查看
平均 (8 票)
满分为 5,平均得分为 4.625。
评论
讨论主题回复 作者 日期
can u tell me the approx date for release of... abhimanyu panwar 2010年6月18日 上午1:56
No release date really just when I make some... Greg Amerson 2010年6月21日 上午7:58
It seems like these links got broken... Antonio Ivars 2010年8月23日 上午4:18
Hi Antonio, I fixed those two links, thanks... Greg Amerson 2010年8月27日 下午12:18
Hi Gregory, In my case, I do not have the ... Omar Rosales . 2010年10月12日 下午2:05
Hi Omar, Could you check again and maybe log... Greg Amerson 2010年10月27日 上午3:57
Hi Amerson, Thanks for your hook videos ... venka reddy 2011年6月28日 上午6:18
The videos are great. I just spent the last 4... lucas theisen 2011年8月19日 下午2:41
Hi, I'm sorry, but videos are still... Lambert Mickael 2011年12月29日 上午3:11
Sorry for the inconvenience. The video links... Greg Amerson 2012年1月2日 下午8:54
Still not available ... Regards Patrick Patrick Steiner 2012年1月5日 上午8:25
Thank you very much. It works ! Lambert Mickael 2012年1月12日 上午5:45
Hey, thanks for great introdution to Hooks. I... Kris Sokolovski 2012年4月14日 上午2:43
Please, video link still not available, i... Onochie Ojekwe 2013年6月14日 上午4:01
I will try to find out where those videos went. Greg Amerson 2013年6月16日 下午10:47
please do... a few of us will be waiting and... Onochie Ojekwe 2013年6月17日 上午1:43
please do... a few of us will be waiting and... Onochie Ojekwe 2013年6月17日 上午1:43
Fixed! Greg Amerson 2013年6月20日 上午1:50
Thank you Gregory, that was quick! May I... Pedro Bezunartea López 2013年6月20日 上午2:54
Hey Pedro, Feel free to upload them! However,... Greg Amerson 2013年6月20日 上午3:08
It seems to be a recurring problem, may I... Pedro Bezunartea López 2013年6月19日 上午3:20
Hi Greg, I am using 1.6.1 Liferay developer... Suresh Nimmakayala 2013年8月20日 下午7:06
Hello Suresh, Right now there is no feature to... Greg Amerson 2013年8月20日 下午7:11
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Is there a way to also remove the Unknown Tag... Roar Granevang 2013年9月30日 上午1:58
Wow. I'm sorry about that. I'll try to remove... Roar Granevang 2013年9月30日 上午2:00
Hmm. I wasn't able to. Hopefully an admin can... Roar Granevang 2013年9月30日 上午2:04

can u tell me the approx date for release of this article.

also try to provide pdf version here
在 10-6-18 上午1:56 发帖。
No release date really just when I make some time. Since you asked I will try to get this doc done sooner than later. You can watch this video to see some of how to use the IDE to build hooks to get you started.

http://www.liferay.com/c/document_library/get_file?p_l_id=4616001&groupI­d=4615837&folderId=4933105&name=DLFE-40607.swf

http://www.liferay.com/c/document_­library/get_file?p_l_id=4616001&groupId=4615837&folderId=4933105&name=DLFE-40605­.swf
在 10-6-21 上午7:58 发帖以回复 abhimanyu panwar
It seems like these links got broken...
在 10-8-23 上午4:18 发帖以回复 Gregory Amerson
Hi Antonio, I fixed those two links, thanks for letting me know.
在 10-8-27 下午12:18 发帖以回复 Antonio Ivars
Hi Gregory,
In my case, I do not have the permission to use the file.
在 10-10-12 下午2:05 发帖以回复 Gregory Amerson
Hi Omar,

Could you check again and maybe log out if you are logged in. You should have access to see those files.
在 10-10-27 上午3:57 发帖以回复 Omar Rosales .
Hi Amerson,
Thanks for your hook videos

http://www.liferay.com/c/document_library/get_file?p_l_id=4616001&groupI­d=46158­37&folderId=4933105&name=DLFE-40607.swf

http://www.liferay.com/c/document_­librar­y/get_file?p_l_id=4616001&groupId=4615837&folderId=4933105&name=DLFE-40605­.swf

i­ think these videos are not avalible , request is not avaliable.

Do you have more videos like that???
在 11-6-28 上午6:18 发帖以回复 Gregory Amerson
The videos are great. I just spent the last 4 hours trying to find a way to fix my eclipse configuration so that I wouldn't see the jsp errors on a jsp hook. If only I would have watched the video first so I would have known it is not yet implemented. Good work, I'll be checking back in for updates.
在 11-8-19 下午2:41 发帖。
Hi,

I'm sorry, but videos are still unvailable for me. Can you do something, i really want to see it ?

Thank you.

M. Lambert.
在 11-12-29 上午3:11 发帖。
Sorry for the inconvenience. The video links have been corrected now.
在 12-1-2 下午8:54 发帖。
Still not available ...

Regards

Patrick
在 12-1-5 上午8:25 发帖以回复 Gregory Amerson
Thank you very much. It works !
在 12-1-12 上午5:45 发帖以回复 Patrick Steiner
Hey, thanks for great introdution to Hooks. I have been using Liferay quite some time, but the Videos I noticed recently made the use of Hooks in Liferay even easier!!

Does anyone know where are some more informative videos like these? Could you provide some link
在 12-4-14 上午2:43 发帖。
Please, video link still not available, i really need to see the video
在 13-6-14 上午4:01 发帖。
I will try to find out where those videos went.
在 13-6-16 下午10:47 发帖以回复 onochie ojekwe
please do... a few of us will be waiting and following up on this please. cheers
在 13-6-17 上午1:43 发帖以回复 Gregory Amerson
please do... a few of us will be waiting and following up on this please. cheers
在 13-6-17 上午1:43 发帖以回复 Gregory Amerson
It seems to be a recurring problem, may I suggest to upload them to youtube?

Thanks for your efforts!
在 13-6-19 上午3:20 发帖以回复 Gregory Amerson
在 13-6-20 上午1:50 发帖以回复 onochie ojekwe
Thank you Gregory, that was quick!

May I upload the videos to youtube? ;)
在 13-6-20 上午2:54 发帖以回复 Gregory Amerson
Hey Pedro,

Feel free to upload them! However, those videos are over 2 years old so a bit dated. However, I think they would still be of value. I want to try to find some time re-record some new ones for upcoming 2.0 release.
在 13-6-20 上午3:08 发帖以回复 Pedro Bezunartea López
Hi Greg,
I am using 1.6.1 Liferay developer studio, may be basic question I have a plugin project when sdk all it is deploy all thats fine , just I want to know can I deploy only jsp's for this plugin project. I had a look forum and tried custom jsp hook not succeded because seems it is meant for only to override portal jsps ?

if we have another option when we right click on Plugin Project -->Liferay -->sdk--->jsp deploy that will be great feature i hope!!!

if we can achieve this by any way, please share thanks
在 13-8-20 下午7:06 发帖。
Hello Suresh,

Right now there is no feature to just deploy the JSPs for a portlet without the entire plugin (web application) also being deployed since that is how Liferay loads your JSPs is in the context of a web application (portlet).
在 13-8-20 下午7:11 发帖以回复 Suresh Nimmakayala
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
在 13-9-30 上午1:58 发帖。
Wow. I'm sorry about that. I'll try to remove the excess ones.
在 13-9-30 上午2:00 发帖。
Hmm. I wasn't able to. Hopefully an admin can fix this mess I caused here. And again, I'm sorry about this.
在 13-9-30 上午2:04 发帖以回复 Roar Granevang