error « Liferay « JSP-Servlet Q&A





1. JSP Hooks : JSP compilation error at runtime    liferay.com

Hi everyone ! I'm testing the hook plugin and I don't really understand why I get exceptions while hooking some JSP. I followed everything described here : http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Custom+Attributes+and+JSP+Hooks (only on the "Modifying the Create Accounts page" section) To begin with, I retrieved last liferay tag from http://svn.liferay.com/repos/public/portal/tags/5.2.3/portal-web/ and hooked some JSPs from here (the version corresponds with the current version I'm ...

2. Recent Documents replica - JSP error    liferay.com

Hey I am trying to replicate the recent documents portlet in a plug-in. This is a small part of my elaborate plan... Any ways, I am getting a JSP error when I import a Utils class. Here is my code Init.jsp --------------------------- LOTS of imports here.... <%@ page import="com.liferay.portlet.documentlibrary.model.DLFileEntry" %> <%@ page import="com.liferay.portlet.documentlibrary.model.DLFileRank" %> <%@ page import="com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil" %> <%@ page import="com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceUtil" ...