liferay6.2.2ga2 中的 搜索portlet的翻页BUG修正
来源:互联网 发布:亚洲强国知乎 编辑:程序博客网 时间:2024/06/11 17:49
搜索结果展示页中 如果记录足够多的时候 点击左面的 限制结果集的条件后再点击翻页 会出现翻页之后 限制结果集的条件 没有被正确的传递。
修复办法如下 在hook工程中修改\docroot\custom_jsps\html\portlet\search\search.jsp
52行后加入代码
String assetTagNamesH = ParamUtil.getString(request,"assetTagNames","");String assetCategoryIdsH = ParamUtil.getString(request,"assetCategoryIds","");String userIdH = ParamUtil.getString(request,"userId","");String modifiedH = ParamUtil.getString(request,"modified","");String modifiedselectionH = ParamUtil.getString(request,"modifiedselection","");String modifiedfromH = ParamUtil.getString(request,"modifiedfrom","");String modifiedtoH = ParamUtil.getString(request,"modifiedto","");if(!"".equals(assetTagNamesH)){portletURL.setParameter("assetTagNames", assetTagNamesH);}if(!"".equals(assetCategoryIdsH)){portletURL.setParameter("assetCategoryIds", assetCategoryIdsH);}if(!"".equals(userIdH)){portletURL.setParameter("userId", userIdH);}if(!"".equals(modifiedH)){portletURL.setParameter("modified", modifiedH);}if(!"".equals(modifiedselectionH)){portletURL.setParameter("modifiedselection", modifiedselectionH);}if(!"".equals(modifiedfromH)){portletURL.setParameter("modifiedfrom", modifiedfromH);}if(!"".equals(modifiedtoH)){portletURL.setParameter("modifiedto", modifiedtoH);}
0 0
- liferay6.2.2ga2 中的 搜索portlet的翻页BUG修正
- liferay6.2.2GA2中CKEditor在IE11与SAFARI中BUG解决方案
- liferay6.2 使用默认方式实现可配置的portlet
- 修正bug的方法
- CCEditBox的bug修正
- GA2
- VS2008内嵌水晶报表翻页BUG修正方法
- Liferay6.1:hook中追加portlet的配置项目的实现方法
- Liferay6.0.5中WebContent编辑的一个bug
- 修正XPMenu的两个Bug
- BugFree 的一个 bug 修正
- Subversion分支的Bug修正
- 修正webwork 2.2.7对json的支持的bug
- Delphi 6 SOAP 源码中的BUG修正
- Liferay:隐藏Portlet列表中的不想要的Portlet
- Liferay:隐藏Portlet列表中的不想要的Portlet
- Untiy CurvedUI 的使用的bug修正
- 关于Ehlib的ReadOnly小BUG修正。
- matlab画折线图
- 【JAVA图表】Jfreechart常用图表总结
- onInterceptTouchEvent、onTouchEvent、onTouch的使用
- oracle中设置自增主键
- Python 命名空间
- liferay6.2.2ga2 中的 搜索portlet的翻页BUG修正
- 购买iPhone手机时的专业术语名词解析
- CocoaPods详解之----制作篇
- [经典面试题][字典树]字符串唯一前缀问题
- centos vsftpd 安装配置
- Linux内核对三层协议的管理
- 计算机中的小端模式和大端模式
- iOS本地推送的实现,兼容iOS8
- 利用正则表达式匹配输入内容 ----正则表达式