Liferay: Líder no Quadrante Mágico da Gartner pelo sexto ano consecutivo! Leia mais aqui
« Voltar para 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 Anexos
56161 Visualizações
Média (8 Votos)
A média da avaliação é 4.625 estrelas de 5.
Comentários
Respostas do tópico Autor Data
can u tell me the approx date for release of... abhimanyu panwar 18 de Junho de 2010 01:56
No release date really just when I make some... Gregory Amerson 21 de Junho de 2010 07:58
It seems like these links got broken... Antonio Ivars 23 de Agosto de 2010 04:18
Hi Antonio, I fixed those two links, thanks... Gregory Amerson 27 de Agosto de 2010 12:18
Hi Gregory, In my case, I do not have the ... Omar Rosales . 12 de Outubro de 2010 14:05
Hi Omar, Could you check again and maybe log... Gregory Amerson 27 de Outubro de 2010 03:57
Hi Amerson, Thanks for your hook videos ... venka reddy 28 de Junho de 2011 06:18
The videos are great. I just spent the last 4... lucas theisen 19 de Agosto de 2011 14:41
Hi, I'm sorry, but videos are still... Lambert Mickael 29 de Dezembro de 2011 03:11
Sorry for the inconvenience. The video links... Gregory Amerson 2 de Janeiro de 2012 20:54
Still not available ... Regards Patrick Patrick Steiner 5 de Janeiro de 2012 08:25
Thank you very much. It works ! Lambert Mickael 12 de Janeiro de 2012 05:45
Hey, thanks for great introdution to Hooks. I... Kris Sokolovski 14 de Abril de 2012 02:43
Please, video link still not available, i... Onochie Ojekwe 14 de Junho de 2013 04:01
I will try to find out where those videos went. Gregory Amerson 16 de Junho de 2013 22:47
please do... a few of us will be waiting and... Onochie Ojekwe 17 de Junho de 2013 01:43
please do... a few of us will be waiting and... Onochie Ojekwe 17 de Junho de 2013 01:43
Fixed! Gregory Amerson 20 de Junho de 2013 01:50
Thank you Gregory, that was quick! May I... Pedro Bezunartea López 20 de Junho de 2013 02:54
Hey Pedro, Feel free to upload them! However,... Gregory Amerson 20 de Junho de 2013 03:08
It seems to be a recurring problem, may I... Pedro Bezunartea López 19 de Junho de 2013 03:20
Hi Greg, I am using 1.6.1 Liferay developer... Suresh Nimmakayala 20 de Agosto de 2013 19:06
Hello Suresh, Right now there is no feature to... Gregory Amerson 20 de Agosto de 2013 19:11
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Is there a way to also remove the Unknown Tag... Roar Granevang 30 de Setembro de 2013 01:58
Wow. I'm sorry about that. I'll try to remove... Roar Granevang 30 de Setembro de 2013 02:00
Hmm. I wasn't able to. Hopefully an admin can... Roar Granevang 30 de Setembro de 2013 02:04

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

also try to provide pdf version here
Postado em 18/06/10 01: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
Postado em 21/06/10 07:58 em resposta a abhimanyu panwar.
It seems like these links got broken...
Postado em 23/08/10 04:18 em resposta a Gregory Amerson.
Hi Antonio, I fixed those two links, thanks for letting me know.
Postado em 27/08/10 12:18 em resposta a Antonio Ivars.
Hi Gregory,
In my case, I do not have the permission to use the file.
Postado em 12/10/10 14:05 em resposta a 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.
Postado em 27/10/10 03:57 em resposta a 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???
Postado em 28/06/11 06:18 em resposta a 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.
Postado em 19/08/11 14: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.
Postado em 29/12/11 03:11.
Sorry for the inconvenience. The video links have been corrected now.
Postado em 02/01/12 20:54.
Still not available ...

Regards

Patrick
Postado em 05/01/12 08:25 em resposta a Gregory Amerson.
Thank you very much. It works !
Postado em 12/01/12 05:45 em resposta a 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
Postado em 14/04/12 02:43.
Please, video link still not available, i really need to see the video
Postado em 14/06/13 04:01.
I will try to find out where those videos went.
Postado em 16/06/13 22:47 em resposta a onochie ojekwe.
please do... a few of us will be waiting and following up on this please. cheers
Postado em 17/06/13 01:43 em resposta a Gregory Amerson.
please do... a few of us will be waiting and following up on this please. cheers
Postado em 17/06/13 01:43 em resposta a Gregory Amerson.
It seems to be a recurring problem, may I suggest to upload them to youtube?

Thanks for your efforts!
Postado em 19/06/13 03:20 em resposta a Gregory Amerson.
Postado em 20/06/13 01:50 em resposta a onochie ojekwe.
Thank you Gregory, that was quick!

May I upload the videos to youtube? ;)
Postado em 20/06/13 02:54 em resposta a 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.
Postado em 20/06/13 03:08 em resposta a 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
Postado em 20/08/13 19: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).
Postado em 20/08/13 19:11 em resposta a Suresh Nimmakayala.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Postado em 30/09/13 01:58.
Wow. I'm sorry about that. I'll try to remove the excess ones.
Postado em 30/09/13 02:00.
Hmm. I wasn't able to. Hopefully an admin can fix this mess I caused here. And again, I'm sorry about this.
Postado em 30/09/13 02:04 em resposta a Roar Granevang.