Index: lams_tool_larsrc/conf/xdoclet/struts-actions.xml =================================================================== RCS file: /usr/local/cvsroot/lams_tool_larsrc/conf/xdoclet/struts-actions.xml,v diff -u -r1.20 -r1.21 --- lams_tool_larsrc/conf/xdoclet/struts-actions.xml 2 May 2006 02:23:29 -0000 1.20 +++ lams_tool_larsrc/conf/xdoclet/struts-actions.xml 2 May 2006 04:07:37 -0000 1.21 @@ -175,7 +175,7 @@ - + groupList = (List) request.getSession().getAttribute(ResourceConstants.ATTR_SUMMARY_LIST); + if(groupList != null) + for(List group : groupList){ + for(Summary sum: group){ + if(itemUid.equals(sum.getItemUid())){ + sum.setItemHide(true); + break; + } + } + } + return mapping.findForward(ResourceConstants.SUCCESS); } @@ -83,6 +96,18 @@ Long itemUid = WebUtil.readLongParam(request, ResourceConstants.PARAM_RESOURCE_ITEM_UID); IResourceService service = getResourceService(); service.setItemVisible(itemUid,true); + + //update session value + List groupList = (List) request.getSession().getAttribute(ResourceConstants.ATTR_SUMMARY_LIST); + if(groupList != null) + for(List group : groupList){ + for(Summary sum: group){ + if(itemUid.equals(sum.getItemUid())){ + sum.setItemHide(false); + break; + } + } + } return mapping.findForward(ResourceConstants.SUCCESS); } Index: lams_tool_larsrc/web/pages/monitoring/statistic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/monitoring/statistic.jsp,v diff -u -r1.2 -r1.3 --- lams_tool_larsrc/web/pages/monitoring/statistic.jsp 2 May 2006 02:23:29 -0000 1.2 +++ lams_tool_larsrc/web/pages/monitoring/statistic.jsp 2 May 2006 04:07:37 -0000 1.3 @@ -2,6 +2,7 @@ + <%-- display group name on first row--%> @@ -28,7 +29,7 @@ - + - +
@@ -61,11 +62,11 @@ ${item.viewNumber}
- + Index: lams_tool_larsrc/web/pages/monitoring/summary.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/monitoring/summary.jsp,v diff -u -r1.2 -r1.3 --- lams_tool_larsrc/web/pages/monitoring/summary.jsp 2 May 2006 02:23:29 -0000 1.2 +++ lams_tool_larsrc/web/pages/monitoring/summary.jsp 2 May 2006 04:07:37 -0000 1.3 @@ -2,6 +2,7 @@ + <%-- display group name on first row--%> @@ -31,7 +32,7 @@ - + - - +
@@ -63,24 +64,24 @@ ${item.viewNumber} + - + - +
- + Index: lams_tool_larsrc/web/pages/monitoring/userlist.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/monitoring/userlist.jsp,v diff -u -r1.1 -r1.2 --- lams_tool_larsrc/web/pages/monitoring/userlist.jsp 1 May 2006 06:30:50 -0000 1.1 +++ lams_tool_larsrc/web/pages/monitoring/userlist.jsp 2 May 2006 04:07:37 -0000 1.2 @@ -13,13 +13,13 @@ - + ${user.loginName} - ${user.firstName},${user.secondName} + ${user.firstName},${user.lastName}