0
不工作我已创建使用Liferay的MVC框架一个简单的portlet,并添加了一个ConfigurationActionImpl类和Portlet设置configuration.jsp。 我用<liferay-ui:message>
标签显示标签。Portlet的配置页面PACL
- 没有PACL,它工作正常。
- 使用PACL时,它不显示映射到属性文件中的键的值。它显示的键完好无损。与其他PACL错误一样,不会在控制台中报告错误。当我部署在portlet
这两行越来越印刷
试图读取文件global-configuration.properties
试图读取文件C:\的liferay门户-6.1 .1 CE-GA2 \ Tomcat的7.0.27 \ BIN \ service.properties
我已经做了以下的liferay-plugin-package.properties
项3210security-manager-get-bean-property=\
com.liferay.portal.util.PortalUtil,\
com.liferay.portlet.documentlibrary.model.DLFileEntry,\
com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil,\
com.liferay.portlet.documentlibrary.model.DLFileRank,\
com.liferay.portlet.PortletPreferencesFactoryUtil,\
com.liferay.portal.kernel.cache.CacheRegistryUtil,\
com.liferay.portal.kernel.cache.key.CacheKeyGeneratorUtil,\
com.liferay.portal.kernel.language.LanguageUtil,\
com.liferay.portal.kernel.bean.PortalBeanLocatorUtil,\
com.liferay.portal.kernel.deploy.hot.HotDeployUtil,\
com.liferay.portal.kernel.servlet.DirectRequestDispatcherFactoryUtil,\
com.liferay.portal.kernel.servlet.DirectServletRegistryUtil,\
com.liferay.portal.kernel.configuration.ConfigurationFactoryUtil,\
com.liferay.portal.kernel.staging.LayoutStagingUtil,\
com.liferay.portal.kernel.dao.shard.ShardUtil,\
com.liferay.portal.kernel.dao.db.DBFactoryUtil,\
com.liferay.portal.kernel.dao.orm.FinderCacheUtil,\
com.liferay.portal.kernel.dao.orm.EntityCacheUtil,\
com.liferay.portal.security.auth.AuthTokenUtil,\
com.liferay.portal.service.permission.PortletPermissionUtil,\
com.liferay.portal.kernel.util.PropsUtil,\
com.liferay.portal.kernel.util.HttpUtil,\
com.liferay.portal.kernel.util.HtmlUtil,\
com.liferay.portal.kernel.util.LocaleUtil
security-manager-services[portal]=\
com.liferay.portlet.documentlibrary.service.DLFileEntryService#getFileEntryByUuidAndGroupId,\
com.liferay.portlet.documentlibrary.service.DLFileEntryService#getFileAsStream,\
com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService#getFileAsStream,\
com.liferay.portlet.documentlibrary.service.DLFileRankLocalService#updateFileRank,\
com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService#getFileAsStream,\
com.liferay.portlet.asset.service.AssetEntryLocalService#incrementViewCounter,\
com.liferay.portal.service.GroupLocalService,\
com.liferay.portal.service.PortletPreferencesLocalService,\
com.liferay.portal.service.LayoutLocalService,\
com.liferay.portal.service.LayoutSetLocalService
security-manager-files-read=\
${java.io.tmpdir}${file.separator}-,\
${liferay.web.portal.dir}${file.separator}html${file.separator}taglib${file.separator}-,\
${liferay.web.portal.dir}${file.separator}html${file.separator}themes${file.separator}-
security-manager-files-write=${java.io.tmpdir}${file.separator}-
在此先感谢....
_I已经使用标签来显示labels_ - 什么标签?并且一些代码在PACL之后显示价值而不显示价值也是有帮助的。谢谢 –
@PrakashK感谢您的回复。 我编辑了这个问题。我使用了liferay-ui:message标签来显示页面中的标签。 当我启用PACL liferay-ui:消息无法正常工作。 它显示我给出的键而不是来自属性文件的值。 –