« Back to 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 Attachments
29997 Views
Average (8 Votes)
The average rating is 4.625 stars out of 5.
Comments
Threaded Replies Author Date
can u tell me the approx date for release of... abhimanyu panwar June 18, 2010 1:56 AM
No release date really just when I make some... Gregory Amerson June 21, 2010 7:58 AM
It seems like these links got broken... Antonio Ivars August 23, 2010 4:18 AM
Hi Antonio, I fixed those two links, thanks... Gregory Amerson August 27, 2010 12:18 PM
Hi Gregory, In my case, I do not have the ... Omar Rosales . October 12, 2010 2:05 PM
Hi Omar, Could you check again and maybe log... Gregory Amerson October 27, 2010 3:57 AM
Hi Amerson, Thanks for your hook videos ... venka reddy June 28, 2011 6:18 AM
The videos are great. I just spent the last 4... lucas theisen August 19, 2011 2:41 PM
Hi, I'm sorry, but videos are still... Lambert Mickael December 29, 2011 3:11 AM
Sorry for the inconvenience. The video links... Gregory Amerson January 2, 2012 8:54 PM
Still not available ... Regards Patrick Patrick Steiner January 5, 2012 8:25 AM
Thank you very much. It works ! Lambert Mickael January 12, 2012 5:45 AM
Hey, thanks for great introdution to Hooks. I... Kris Sokolovski April 14, 2012 2:43 AM
Please, video link still not available, i... Onochie Ojekwe June 14, 2013 4:01 AM
I will try to find out where those videos went. Gregory Amerson June 16, 2013 10:47 PM
please do... a few of us will be waiting and... Onochie Ojekwe June 17, 2013 1:43 AM
please do... a few of us will be waiting and... Onochie Ojekwe June 17, 2013 1:43 AM
Fixed! Gregory Amerson June 20, 2013 1:50 AM
Thank you Gregory, that was quick! May I... Pedro Bezunartea López June 20, 2013 2:54 AM
Hey Pedro, Feel free to upload them! However,... Gregory Amerson June 20, 2013 3:08 AM
It seems to be a recurring problem, may I... Pedro Bezunartea López June 19, 2013 3:20 AM
Hi Greg, I am using 1.6.1 Liferay developer... Suresh Nimmakayala August 20, 2013 7:06 PM
Hello Suresh, Right now there is no feature to... Gregory Amerson August 20, 2013 7:11 PM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Is there a way to also remove the Unknown Tag... Roar Granevang September 30, 2013 1:58 AM
Wow. I'm sorry about that. I'll try to remove... Roar Granevang September 30, 2013 2:00 AM
Hmm. I wasn't able to. Hopefully an admin can... Roar Granevang September 30, 2013 2:04 AM

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

also try to provide pdf version here
Posted on 6/18/10 1:56 AM.
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
Posted on 6/21/10 7:58 AM in reply to abhimanyu panwar.
It seems like these links got broken...
Posted on 8/23/10 4:18 AM in reply to Gregory Amerson.
Hi Antonio, I fixed those two links, thanks for letting me know.
Posted on 8/27/10 12:18 PM in reply to Antonio Ivars.
Hi Gregory,
In my case, I do not have the permission to use the file.
Posted on 10/12/10 2:05 PM in reply to 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.
Posted on 10/27/10 3:57 AM in reply to 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???
Posted on 6/28/11 6:18 AM in reply to 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.
Posted on 8/19/11 2:41 PM.
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.
Posted on 12/29/11 3:11 AM.
Sorry for the inconvenience. The video links have been corrected now.
Posted on 1/2/12 8:54 PM.
Still not available ...

Regards

Patrick
Posted on 1/5/12 8:25 AM in reply to Gregory Amerson.
Thank you very much. It works !
Posted on 1/12/12 5:45 AM in reply to 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
Posted on 4/14/12 2:43 AM.
Please, video link still not available, i really need to see the video
Posted on 6/14/13 4:01 AM.
I will try to find out where those videos went.
Posted on 6/16/13 10:47 PM in reply to onochie ojekwe.
please do... a few of us will be waiting and following up on this please. cheers
Posted on 6/17/13 1:43 AM in reply to Gregory Amerson.
please do... a few of us will be waiting and following up on this please. cheers
Posted on 6/17/13 1:43 AM in reply to Gregory Amerson.
It seems to be a recurring problem, may I suggest to upload them to youtube?

Thanks for your efforts!
Posted on 6/19/13 3:20 AM in reply to Gregory Amerson.
Posted on 6/20/13 1:50 AM in reply to onochie ojekwe.
Thank you Gregory, that was quick!

May I upload the videos to youtube? ;)
Posted on 6/20/13 2:54 AM in reply to 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.
Posted on 6/20/13 3:08 AM in reply to 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
Posted on 8/20/13 7:06 PM.
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).
Posted on 8/20/13 7:11 PM in reply to Suresh Nimmakayala.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Is there a way to also remove the Unknown Tag warnings, except suppressing all the warnings with annotations?
Posted on 9/30/13 1:58 AM.
Wow. I'm sorry about that. I'll try to remove the excess ones.
Posted on 9/30/13 2:00 AM.
Hmm. I wasn't able to. Hopefully an admin can fix this mess I caused here. And again, I'm sorry about this.
Posted on 9/30/13 2:04 AM in reply to Roar Granevang.