主题开发过程对模板的修改后需要重启服务才能生效的问题:
velocity.engine.resource.manager.cache.enabled=false
-----------------------------
Portlet返回
问题:自己开发的portlet在有最大化的操作后,点击portlet右上方的返回按钮,窗口可以返回到normal状态,但是portlet中的内容还是返回操作前的内容。
解决:Liferay-portlet-ext中对portlet添加restore-current-view属性,值为false
<portlet>
<portlet-name>appmanager</portlet-name>
<struts-path>communities</struts-path>
<use-default-template>false</use-default-template>
<restore-current-view>false</restore-current-view>
<include>true</include>
</portlet>
-----------------------------
问题:非Administrator角色用户执行admin Portlet的操作:
解决:在portal-ext.properties中修改omniadmin.users属性,加入能操作的用户id,具体说明如下:
#
# Omniadmin users can administer the portal's core functionality: gc,
# shutdown, etc. Omniadmin users must belong to the default company.
#
# Multiple portal instances might be deployed on one application server, and
# not all of the administrators should have access to this core
# functionality. Input the ids of users who are omniadmin users.
#
# Leave this field blank if users who belong to the right company and have
# the Administrator role are allowed to administer the portal's core
# functionality.
#
omniadmin.users=10127,10122
-----------------------------
分享到:
相关推荐
liferay开发liferay开发liferay开发liferay开发
liferay开发文档集合7个pdf
liferay开发文档.pdf
包括liferay的用户配置,系统接口,包括Liferay Portal 6 企业应用开发,Liferay 用户开发接口,Liferay+in+Action,Liferay 系统开发等
Liferay开发文档整理.pdf
liferay portal 开发指南liferay portal 开发指南liferay portal 开发指南liferay portal 开发指南
配置 和二次开发 详尽描述 是liferay开发的必备手册
Liferay 是一个完整的门户解决方案,基于J2EE的应用,使用了EJB以及JMS等技术,前台界面部分使用Struts MVC 框架,基于XML的portlet配置文件可以自由地动态扩展,使用了Web服务来支持一些远程信息的获取,使用 ...
liferay 6.0 开发指南 liferay-developer-guide-6.0.pdf
liferay6中文开发文档 包括: Liferay6开发者手册V1.0.doc Liferay+6.0.5开发指南.docx LiferayPortal二次开发指南.pdf Liferay代码研读.pdf liferay-技术文档.doc liferay架构.pdf Liferay开发环境配置说明文档.pdf
LifeRay架构开发手册,liferay Portal开发解析等精彩文章
liferay6.2开发指南liferay6.2开发指南.doc
liferay 6.2 开发指南+用户手册 官方文档
非常适合想要学习liferay的人,有案例步骤详细
7z压缩 三合一LifeRay资料: 1、LifeRay开发参考手册(温兵) 2、LifeRay二次开发指南 3、LifeRay4.3中文开发指南
LIFERAY-HOOK 开发过程,包括实例说明
包含四个liferay的中文开发文档,个人网上找了很久的。觉得不错,分享一下。要三分不多吧?毕竟有四个文档哦。
Liferay开发指南官方文档,Liferay6在很多方面进行了优秀的设计,是一个比较好的开源门户,
包含liferay portal开发,帮助,架构,代码,等portlet中文文档 ,PDF格式