Forums de discussion
Accessing themeDisplay from a jsp in a hook
Anders Olme, modifié il y a 13 années.
Accessing themeDisplay from a jsp in a hook
New Member Publications: 6 Date d'inscription: 11/06/10 Publications récentes
Hello all,
I'm trying to develop a custom hook for edit_permissons_algorithm_5_to_6.jsp. I have changed the edit_permissons so that it calls an another jsp (custom.jsp) instead of the struts action. My problem is that in custom.jsp I cant access themeDisplay (to get roles and such) it is always null. I have included
Using liferay 5.2.3 if that matters.
Best Regards Anders Olme
I'm trying to develop a custom hook for edit_permissons_algorithm_5_to_6.jsp. I have changed the edit_permissons so that it calls an another jsp (custom.jsp) instead of the struts action. My problem is that in custom.jsp I cant access themeDisplay (to get roles and such) it is always null. I have included
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<liferay-theme:defineobjects />
and added the taglib to my pom but with no success. Any one with some ideas on why this fails?Using liferay 5.2.3 if that matters.
Best Regards Anders Olme