Liferay:RSS Portlet 不能配置的问题解决办法
2012-09-07 14:26
387 查看
昨天碰到个问题,在页面上加了个RSS的portlet,想把默认的rss订阅地址改掉,可是点击小扳手,就是没有弹出设置菜单,本以为是浏览器的问题,但是换了几个浏览器也是一样。
看到浏览器中报js错误,如图:
firefox中错误:
IE中错误:
搞了半天,在网上找到原因,解决办法如下:
设置liferay-portlet.xml中 RSS portlet的render-weight属性,把默认的0变为50。
<portlet>
<portlet-name>39</portlet-name>
<icon>/html/icons/rss.png</icon>
<struts-path>rss</struts-path>
<configuration-action-class>com.liferay.portlet.rss.action.ConfigurationActionImpl</configuration-action-class>
<portlet-data-handler-class>com.liferay.portlet.rss.lar.RSSPortletDataHandlerImpl</portlet-data-handler-class>
<preferences-owned-by-group>true</preferences-owned-by-group>
<use-default-template>false</use-default-template>
<instanceable>true</instanceable>
<private-request-attributes>false</private-request-attributes>
<private-session-attributes>false</private-session-attributes>
<render-weight>50</render-weight>
<header-portlet-css>/html/portlet/rss/css/main.css</header-portlet-css>
<css-class-wrapper>portlet-rss</css-class-wrapper>
</portlet>
重启liferay,系统管理员登录后,点击RSS portlet小扳手弹出菜单了~
又学一招,分享给大家!
欢迎光临Liferay俱乐部:www.liferayclub.com
看到浏览器中报js错误,如图:
firefox中错误:
IE中错误:
搞了半天,在网上找到原因,解决办法如下:
设置liferay-portlet.xml中 RSS portlet的render-weight属性,把默认的0变为50。
<portlet>
<portlet-name>39</portlet-name>
<icon>/html/icons/rss.png</icon>
<struts-path>rss</struts-path>
<configuration-action-class>com.liferay.portlet.rss.action.ConfigurationActionImpl</configuration-action-class>
<portlet-data-handler-class>com.liferay.portlet.rss.lar.RSSPortletDataHandlerImpl</portlet-data-handler-class>
<preferences-owned-by-group>true</preferences-owned-by-group>
<use-default-template>false</use-default-template>
<instanceable>true</instanceable>
<private-request-attributes>false</private-request-attributes>
<private-session-attributes>false</private-session-attributes>
<render-weight>50</render-weight>
<header-portlet-css>/html/portlet/rss/css/main.css</header-portlet-css>
<css-class-wrapper>portlet-rss</css-class-wrapper>
</portlet>
重启liferay,系统管理员登录后,点击RSS portlet小扳手弹出菜单了~
又学一招,分享给大家!
欢迎光临Liferay俱乐部:www.liferayclub.com
相关文章推荐
- 关于单元测试中配置文件不能找到的问题解决办法
- 在linux安装下FFTW_ARM库 配置config出现的问题及解决办法
- 在iis7下部署ASP.NET程序AjaxPro不能用问题解决办法
- IIS8.5关于“ 配置错误 不能在此路径中使用此配置节”的解决办法
- IIS8.5 配置错误提示不能在此路径中使用此配置节的解决办法
- C# .Net Framework4.5中配置和使用managedCUDA及常见问题解决办法
- 配置交换机常见3个问题及解决办法
- iphone 界面不能显示图片,文字问题的一般解决办法
- 本地磁盘,不能如预期那样包含关于:“MSDN VS 6.0 Local”的文件。请更新位 问题解决办法
- 抛开cookie使用session-PHP中SESSION不能跨页传递问题的解决办法
- 解决Office2007每次启动时出现配置进度的问题office盗版提示解决办法
- 搭建配置服务器过程中遇到的问题及其解决办法(转)
- android 典型问题:R.java文件不能自动生成的解决办法
- unity在移动端的字体不能调节大小问题解决办法
- Linux下串口ttyS2,ttyS3不能用的问题解决办法
- php5配置与IIS中isapi筛选器不能加载PHP的解决办法
- 配置网络yum源遇到的问题之解决办法
- Windows下Apache+PHP服务器配置mysql数据库时出现内存不能为"read"的解决办法
- 针式打印机及微型打印机突然不能打印的问题分析和解决办法
- 多找方法, 少找借口, 总有人可以找到问题的解决办法, 为什么不能是你我呢?---不能抓日志场景下如何抓到日志?