|
发表于 2017-5-26 10:04:43
|
显示全部楼层
参考/BIZ/OA/personalOffice/logic/action/portal.action.m中的action,定义一个自己功能的action,然后在/BIZ/portal/logic/action/message.config.m中添加action的配置,就可以读到了
注意的:
A、.action中要返回Map类型的数据
如:
public static Map<String, Object> gridPortal(){
HashMap<String, Object> result = new HashMap<String, Object>();
result.put("fLabel", "显示不同的grid");
result.put("fProcess", "/appdemo/test/process/grid/gridProcess");
result.put("fActivity", "mainActivity");
result.put("fCount", 2);
return result;
}
B、在process中如/appdemo/test/process/grid/gridProcess中要添加这个action
C、这个process和activity要分配功能权限
|
|