« Back to Liferay IDE

Liferay IDE FAQ

What about all of the errors on custom JSPs in Hook projects? #

Currently the JSP editor in eclipse can not properly validate custom JSP files in hook projects. Below is a method for removing those errors from the user's project:

  1. Right click your hook project with the custom JSPs and select "Properties"
  2. Select "Validation"
  3. Select "Enable project specific settings"
  4. On the "JSP Syntax Validator" select the "..." button
  5. In the dialog select "Add exclude group"
  6. Select the new "Exclude group" node, then select the "Add Rule..." button
  7. In the wizard dialog, select the "Folder or file name" option and click next
  8. Select the Browse Folder button, and find the custom_jsps folder in your hook project and select it
  9. Then click Finish, then "OK" and then "OK" again
  10. Then right-click the custom_jsps folder and select "Validate". All of the validation errors should go away.
2 Attachments
Average (2 Votes)
The average rating is 5.0 stars out of 5.
Threaded Replies Author Date
Oy, at last relieved of those anoying red crosses. Corné Aussems May 13, 2011 11:24 AM
Perfect!!! Thank you so much. Andrés Cerezo May 18, 2011 7:44 AM

Oy, at last relieved of those anoying red crosses.
Posted on 5/13/11 11:24 AM.
Perfect!!! Thank you so much.
Posted on 5/18/11 7:44 AM.