老门户新增Portlet样例,portlet名称:Portlet样例一、增加一个portlet1、定位portletW:\eas\server\deploy\eas.ear\cp_web.war\WEB-INF\portlets_eas.xml
1303Portlet样例viewportlet.cp_demoList2、配置portlet加载内容:W:\eas\server\deploy\eas.ear\cp_web.war\WEB-INF\tiles-defs_eas.xml
注:就是你需要指定加载的页面内容或action访问的内容;3、增加执行sql,增加portlet到数据库中Fid值不能重复,建议把前7位字符,修改为随机的7位字母即可。1/2/*******插入Portlet样例SQL******/ifnotexists(select*fromt_portal_portletwhereFid='kingdee0J0K2/Mz54Mn6fQs0SJA=')insertintot_portal_portlet(FID,FCreatorID,FCreateTime,FLastUpdateUserID,FLastUpdateTime,FControlUnitID,FPortletDefineId,FPortletName_L1,FPortletName_L2,FPortletName_L3,FEnable,FPortletNumber,FDescription_L1,FDescription_L2,FDescription_L3,FFlag,FPortletExtID)values('kingdee0J0K2/Mz54Mn6fQs0SJA=','00000000-0000-0000-0000-00000000000013B7DE7F',{ts'2016-03-3016:39:04'},'00000000-0000-0000-0000-00000000000013B7DE7F',{ts'2016-03-3016:39:04'},'00000000-0000-0000-0000-000000000000CCE7AED4','1303',null,N'Portlet样例',N'Portlet样例',1,'PN-1303',null,N'Portlet样例',N'Portlet样例',null,null);2/2