From svnnotify @ sourceforge.jp Thu Jan 1 06:26:11 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 Jan 2009 06:26:11 +0900 Subject: [pal-cvs 3916] [1651] changed property key, and updated eclipse config. Message-ID: <1230758771.422583.2331.nullmailer@users.sourceforge.jp> Revision: 1651 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1651 Author: shinsuke Date: 2009-01-01 06:26:10 +0900 (Thu, 01 Jan 2009) Log Message: ----------- changed property key, and updated eclipse config. Modified Paths: -------------- userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java -------------- next part -------------- Modified: userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath =================================================================== --- userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath 2008-12-31 12:51:23 UTC (rev 1650) +++ userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath 2008-12-31 21:26:10 UTC (rev 1651) @@ -3,45 +3,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file Modified: userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java =================================================================== --- userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java 2008-12-31 12:51:23 UTC (rev 1650) +++ userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java 2008-12-31 21:26:10 UTC (rev 1651) @@ -55,7 +55,7 @@ UserManager userManager = getUserManager(); if (userManager.userExists(userInfo.getUserId())) { - throw new PortalException("errors.user_already_exists", "User(" + throw new PortalException("errors.user_already_exists_on_portal", "User(" + userInfo.getUserId() + ") already exists."); } @@ -147,7 +147,7 @@ UserManager userManager = getUserManager(); if (!userManager.userExists(userInfo.getUserId())) { - throw new PortalException("errors.user_does_not_exist", "User(" + throw new PortalException("errors.user_does_not_exist_on_portal", "User(" + userInfo.getUserId() + ") does not exist."); } @@ -208,7 +208,7 @@ UserManager userManager = getUserManager(); if (!userManager.userExists(userInfo.getUserId())) { - throw new PortalException("errors.user_does_not_exist", "User(" + throw new PortalException("errors.user_does_not_exist_on_portal", "User(" + userInfo.getUserId() + ") does not exist."); } @@ -277,7 +277,7 @@ RoleManager roleManager = getRoleManager(); try { if (roleManager.roleExists(roleInfo.getRoleId())) { - throw new PortalException("errors.role_already_exists", "Role(" + throw new PortalException("errors.role_already_exists_on_portal", "Role(" + roleInfo.getRoleId() + ") already exists."); } roleManager.addRole(roleInfo.getRoleId()); @@ -299,7 +299,7 @@ RoleManager roleManager = getRoleManager(); try { if (!roleManager.roleExists(roleInfo.getRoleId())) { - throw new PortalException("errors.role_does_not_exist", "Role(" + throw new PortalException("errors.role_does_not_exist_on_portal", "Role(" + roleInfo.getRoleId() + ") does not exist."); } roleManager.removeRole(roleInfo.getRoleId()); @@ -337,7 +337,7 @@ GroupManager groupManager = getGroupManager(); try { if (groupManager.groupExists(groupInfo.getGroupId())) { - throw new PortalException("errors.group_already_exists", + throw new PortalException("errors.group_already_exists_on_portal", "Group(" + groupInfo.getGroupId() + ") already exists."); } groupManager.addGroup(groupInfo.getGroupId()); @@ -359,7 +359,7 @@ GroupManager groupManager = getGroupManager(); try { if (!groupManager.groupExists(groupInfo.getGroupId())) { - throw new PortalException("errors.group_does_not_exist", + throw new PortalException("errors.group_does_not_exist_on_portal", "Group(" + groupInfo.getGroupId() + ") does not exist."); } groupManager.removeGroup(groupInfo.getGroupId()); From svnnotify @ sourceforge.jp Thu Jan 1 06:31:32 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 Jan 2009 06:31:32 +0900 Subject: [pal-cvs 3917] [1652] renamed date on delete, and checked existing data. Message-ID: <1230759092.787371.7842.nullmailer@users.sourceforge.jp> Revision: 1652 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1652 Author: shinsuke Date: 2009-01-01 06:31:23 +0900 (Thu, 01 Jan 2009) Log Message: ----------- renamed date on delete, and checked existing data. Modified Paths: -------------- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/UserInfoConstants.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/GroupInfoAction.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/RoleInfoAction.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/GroupInfoService.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/RoleInfoService.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java userinfo/trunk/src/main/resources/application.properties userinfo/trunk/src/main/resources/application_ja.properties -------------- next part -------------- Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/UserInfoConstants.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/UserInfoConstants.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/UserInfoConstants.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -14,4 +14,6 @@ public static final String USER_PASSWORD = "jp.sf.pal.userinfo.PASSWORD"; + public static final String DELETED_PREFIX = "_DEL_"; + } Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/GroupInfoAction.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/GroupInfoAction.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/GroupInfoAction.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -157,6 +157,17 @@ @Execute(validator = true, input = "edit.jsp") public String confirm() { + if (groupInfoForm.mode == CommonConstants.CREATE_MODE) { + GroupInfo groupInfo = groupInfoService + .getGroupInfo(groupInfoForm.groupId); + if (groupInfo != null) { + // throw an exception + throw new ActionMessagesException( + "errors.group_already_exists", + new Object[] { groupInfoForm.groupId }); + } + } + return "confirm.jsp"; } @@ -286,6 +297,13 @@ } groupInfo.setUpdatedBy(request.getRemoteUser()); } else { + groupInfo = groupInfoService.getGroupInfo(groupInfoForm.groupId); + if (groupInfo != null) { + // throw an exception + throw new ActionMessagesException( + "errors.group_already_exists", + new Object[] { groupInfoForm.groupId }); + } groupInfo = new GroupInfo(); String remoteGroupInfo = request.getRemoteUser(); groupInfo.setUpdatedBy(remoteGroupInfo); Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/RoleInfoAction.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/RoleInfoAction.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/RoleInfoAction.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -157,6 +157,16 @@ @Execute(validator = true, input = "edit.jsp") public String confirm() { + if (roleInfoForm.mode == CommonConstants.CREATE_MODE) { + RoleInfo roleInfo = roleInfoService + .getRoleInfo(roleInfoForm.roleId); + if (roleInfo != null) { + // throw an exception + throw new ActionMessagesException("errors.role_already_exists", + new Object[] { roleInfoForm.roleId }); + } + } + return "confirm.jsp"; } @@ -284,6 +294,12 @@ } roleInfo.setUpdatedBy(request.getRemoteUser()); } else { + roleInfo = roleInfoService.getRoleInfo(roleInfoForm.roleId); + if (roleInfo != null) { + // throw an exception + throw new ActionMessagesException("errors.role_already_exists", + new Object[] { roleInfoForm.roleId }); + } roleInfo = new RoleInfo(); String remoteRoleInfo = request.getRemoteUser(); roleInfo.setUpdatedBy(remoteRoleInfo); Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -172,6 +172,16 @@ @Execute(validator = true, input = "edit.jsp") public String confirm() { + if (userInfoForm.mode == CommonConstants.CREATE_MODE) { + UserInfo userInfo = userInfoService + .getUserInfo(userInfoForm.userId); + if (userInfo != null) { + // throw an exception + throw new ActionMessagesException("errors.user_already_exists", + new Object[] { userInfoForm.userId }); + } + } + if (userInfoService.isPasswordEnabled() && !StringUtils.isEmpty(userInfoForm.password)) { if (!userInfoForm.password.equals(userInfoForm.passwordConfirm)) { @@ -442,6 +452,12 @@ } userInfo.setUpdatedBy(request.getRemoteUser()); } else { + userInfo = userInfoService.getUserInfo(userInfoForm.userId); + if (userInfo != null) { + // throw an exception + throw new ActionMessagesException("errors.user_already_exists", + new Object[] { userInfoForm.userId }); + } userInfo = new UserInfo(); String remoteUserInfo = request.getRemoteUser(); userInfo.setUpdatedBy(remoteUserInfo); Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/GroupInfoService.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/GroupInfoService.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/GroupInfoService.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -6,12 +6,15 @@ import java.util.Date; import java.util.List; +import jp.sf.pal.userinfo.UserInfoConstants; import jp.sf.pal.userinfo.common.CommonException; import jp.sf.pal.userinfo.common.dxo.PagerDxo; import jp.sf.pal.userinfo.common.util.PagingResultBeanWrapper; import jp.sf.pal.userinfo.db.allcommon.cbean.PagingResultBean; import jp.sf.pal.userinfo.db.cbean.GroupInfoCB; +import jp.sf.pal.userinfo.db.cbean.GroupMappingCB; import jp.sf.pal.userinfo.db.exbhv.GroupInfoBhv; +import jp.sf.pal.userinfo.db.exbhv.GroupMappingBhv; import jp.sf.pal.userinfo.db.exentity.GroupInfo; import jp.sf.pal.userinfo.pager.GroupInfoPager; import jp.sf.pal.userinfo.plugin.PortalPlugin; @@ -24,6 +27,8 @@ private transient GroupInfoBhv groupInfoBhv; + private transient GroupMappingBhv groupMappingBhv; + private PagerDxo pagerDxo; private PortalPlugin portalPlugin; @@ -107,15 +112,35 @@ cb.query().setGroupId_Equal(groupId); GroupInfo groupInfo = groupInfoBhv.selectEntity(cb); - // TODO throw an exception + // throw an exception + if (groupInfo == null) { + throw new CommonException("errors.could_not_find_groupInfo", + new Object[] {}); + } - groupInfo.setDeletedBy(name); - groupInfo.setDeletedTime(new Timestamp(new Date().getTime())); - groupInfoBhv.update(groupInfo); + // delete mapping + GroupMappingCB cb3 = new GroupMappingCB(); + cb3.query().setGroupId_Equal(groupId); + groupMappingBhv.queryDelete(cb3); + // delete + groupInfoBhv.delete(groupInfo); + if (portalPlugin.isAvailable()) { portalPlugin.delete(groupInfo); } + + // backup + long now = new Date().getTime(); + StringBuilder buf = new StringBuilder(UserInfoConstants.DELETED_PREFIX); + buf.append(now); + buf.append("_"); + buf.append(groupId); + groupInfo.setGroupId(buf.length() > 255 ? buf.substring(0, 255) : buf + .toString()); + groupInfo.setDeletedBy(name); + groupInfo.setDeletedTime(new Timestamp(now)); + groupInfoBhv.insert(groupInfo); } public List getAvailableGroupList(String[] selectedGroups, @@ -182,4 +207,12 @@ this.portalPlugin = portalPlugin; } + public GroupMappingBhv getGroupMappingBhv() { + return groupMappingBhv; + } + + public void setGroupMappingBhv(GroupMappingBhv groupMappingBhv) { + this.groupMappingBhv = groupMappingBhv; + } + } Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/RoleInfoService.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/RoleInfoService.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/RoleInfoService.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -6,12 +6,15 @@ import java.util.Date; import java.util.List; +import jp.sf.pal.userinfo.UserInfoConstants; import jp.sf.pal.userinfo.common.CommonException; import jp.sf.pal.userinfo.common.dxo.PagerDxo; import jp.sf.pal.userinfo.common.util.PagingResultBeanWrapper; import jp.sf.pal.userinfo.db.allcommon.cbean.PagingResultBean; import jp.sf.pal.userinfo.db.cbean.RoleInfoCB; +import jp.sf.pal.userinfo.db.cbean.RoleMappingCB; import jp.sf.pal.userinfo.db.exbhv.RoleInfoBhv; +import jp.sf.pal.userinfo.db.exbhv.RoleMappingBhv; import jp.sf.pal.userinfo.db.exentity.RoleInfo; import jp.sf.pal.userinfo.pager.RoleInfoPager; import jp.sf.pal.userinfo.plugin.PortalPlugin; @@ -24,6 +27,8 @@ private transient RoleInfoBhv roleInfoBhv; + private transient RoleMappingBhv roleMappingBhv; + private PagerDxo pagerDxo; private PortalPlugin portalPlugin; @@ -106,15 +111,35 @@ cb.query().setRoleId_Equal(roleId); RoleInfo roleInfo = roleInfoBhv.selectEntity(cb); - // TODO throw an exception + // throw an exception + if (roleInfo == null) { + throw new CommonException("errors.could_not_find_roleInfo", + new Object[] {}); + } - roleInfo.setDeletedBy(name); - roleInfo.setDeletedTime(new Timestamp(new Date().getTime())); - roleInfoBhv.update(roleInfo); + // delete mapping + RoleMappingCB cb3 = new RoleMappingCB(); + cb3.query().setRoleId_Equal(roleId); + roleMappingBhv.queryDelete(cb3); + // delete + roleInfoBhv.delete(roleInfo); + if (portalPlugin.isAvailable()) { portalPlugin.delete(roleInfo); } + + // backup + long now = new Date().getTime(); + StringBuilder buf = new StringBuilder(UserInfoConstants.DELETED_PREFIX); + buf.append(now); + buf.append("_"); + buf.append(roleId); + roleInfo.setRoleId(buf.length() > 255 ? buf.substring(0, 255) : buf + .toString()); + roleInfo.setDeletedBy(name); + roleInfo.setDeletedTime(new Timestamp(now)); + roleInfoBhv.insert(roleInfo); } public List getAvailableRoleList(String[] selectedRoles, @@ -181,4 +206,12 @@ this.portalPlugin = portalPlugin; } + public RoleMappingBhv getRoleMappingBhv() { + return roleMappingBhv; + } + + public void setRoleMappingBhv(RoleMappingBhv roleMappingBhv) { + this.roleMappingBhv = roleMappingBhv; + } + } Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java 2008-12-31 21:31:23 UTC (rev 1652) @@ -5,6 +5,7 @@ import java.util.Date; import java.util.List; +import jp.sf.pal.userinfo.UserInfoConstants; import jp.sf.pal.userinfo.common.CommonException; import jp.sf.pal.userinfo.common.dxo.PagerDxo; import jp.sf.pal.userinfo.common.util.PagingResultBeanWrapper; @@ -158,15 +159,40 @@ cb.query().setUserId_Equal(userId); UserInfo userInfo = userInfoBhv.selectEntity(cb); - // TODO throw an exception + // throw an exception + if (userInfo == null) { + throw new CommonException("errors.could_not_find_userInfo", + new Object[] {}); + } - userInfo.setDeletedBy(name); - userInfo.setDeletedTime(new Timestamp(new Date().getTime())); - userInfoBhv.update(userInfo); + // delete mapping + RoleMappingCB cb2 = new RoleMappingCB(); + cb2.query().setUserId_Equal(userId); + roleMappingBhv.queryDelete(cb2); + GroupMappingCB cb3 = new GroupMappingCB(); + cb3.query().setUserId_Equal(userId); + groupMappingBhv.queryDelete(cb3); + + // delete + userInfoBhv.delete(userInfo); + if (portalPlugin.isAvailable()) { portalPlugin.delete(userInfo); } + + // backup + long now = new Date().getTime(); + StringBuilder buf = new StringBuilder(UserInfoConstants.DELETED_PREFIX); + buf.append(now); + buf.append("_"); + buf.append(userId); + userInfo.setUserId(buf.length() > 255 ? buf.substring(0, 255) : buf + .toString()); + userInfo.setDeletedBy(name); + userInfo.setDeletedTime(new Timestamp(now)); + userInfoBhv.insert(userInfo); + } public boolean isPasswordEnabled() { Modified: userinfo/trunk/src/main/resources/application.properties =================================================================== --- userinfo/trunk/src/main/resources/application.properties 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/resources/application.properties 2008-12-31 21:31:23 UTC (rev 1652) @@ -58,13 +58,16 @@ errors.could_not_find_groupInfo=Could not find the group information({0}). errors.could_not_access_portal_info=Could not access Portal information. errors.system_error_occurred_on_portal=System error occurred on Portal. -errors.role_already_exists=Role already exists on Portal. -errors.group_already_exists=Group already exists on Portal. -errors.role_does_not_exist=Role does not exist on Portal. -errors.group_does_not_exist=Group does not exist on Portal. -errors.user_already_exists=User already exists on Portal. -errors.user_does_not_exist=User does not exist on Portal. +errors.role_already_exists_on_portal=Role already exists on Portal. +errors.group_already_exists_on_portal=Group already exists on Portal. +errors.user_already_exists_on_portal=User already exists on Portal. +errors.role_does_not_exist_on_portal=Role does not exist on Portal. +errors.group_does_not_exist_on_portal=Group does not exist on Portal. +errors.user_does_not_exist_on_portal=User does not exist on Portal. errors.invalid_password_confirm=Password(Confirm) is different from Password. +errors.role_already_exists=Role already exists. +errors.group_already_exists=Group already exists. +errors.user_already_exists=User already exists. labels.detail=Detail labels.create=Create Modified: userinfo/trunk/src/main/resources/application_ja.properties =================================================================== --- userinfo/trunk/src/main/resources/application_ja.properties 2008-12-31 21:26:10 UTC (rev 1651) +++ userinfo/trunk/src/main/resources/application_ja.properties 2008-12-31 21:31:23 UTC (rev 1652) @@ -51,13 +51,16 @@ errors.could_not_find_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831 {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 errors.could_not_access_portal_info=\u30dd\u30fc\u30bf\u30eb\u306e\u60c5\u5831\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 errors.system_error_occurred_on_portal=\u30dd\u30fc\u30bf\u30eb\u4e0a\u3067\u30b7\u30b9\u30c6\u30e0\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002 -errors.role_already_exists=\u65e2\u306b\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 -errors.group_already_exists=\u65e2\u306b\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 -errors.role_does_not_exist=\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 -errors.group_does_not_exist=\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 -errors.user_already_exists=\u65e2\u306b\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 -errors.user_does_not_exist=\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 +errors.role_already_exists_on_portal=\u65e2\u306b\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 +errors.group_already_exists_on_portal=\u65e2\u306b\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 +errors.user_already_exists_on_portal=\u65e2\u306b\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 +errors.role_does_not_exist_on_portal=\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 +errors.group_does_not_exist_on_portal=\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 +errors.user_does_not_exist_on_portal=\u30dd\u30fc\u30bf\u30eb\u4e0a\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 errors.invalid_password_confirm=\u300c\u30d1\u30b9\u30ef\u30fc\u30c9(\u78ba\u8a8d)\u300d\u304c\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u3068\u7570\u306a\u308a\u307e\u3059\u3002 +errors.role_already_exists=\u65e2\u306b\u305d\u306e\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 +errors.group_already_exists=\u65e2\u306b\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 +errors.user_already_exists=\u65e2\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 labels.detail=\u8a73\u7d30 labels.create=\u4f5c\u6210 From svnnotify @ sourceforge.jp Thu Jan 1 06:49:19 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 Jan 2009 06:49:19 +0900 Subject: [pal-cvs 3918] [1653] not editable on edit mode. Message-ID: <1230760159.451890.25027.nullmailer@users.sourceforge.jp> Revision: 1653 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1653 Author: shinsuke Date: 2009-01-01 06:49:19 +0900 (Thu, 01 Jan 2009) Log Message: ----------- not editable on edit mode. Modified Paths: -------------- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp -------------- next part -------------- Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp 2008-12-31 21:31:23 UTC (rev 1652) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp 2008-12-31 21:49:19 UTC (rev 1653) @@ -46,11 +46,21 @@ + + + + + + + + + + Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp 2008-12-31 21:31:23 UTC (rev 1652) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp 2008-12-31 21:49:19 UTC (rev 1653) @@ -46,11 +46,21 @@
${f:h(groupId)}
+ + + + + + + + + + Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp 2008-12-31 21:31:23 UTC (rev 1652) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp 2008-12-31 21:49:19 UTC (rev 1653) @@ -48,10 +48,20 @@
${f:h(roleId)}
+ + + + + + + + + + From svnnotify @ sourceforge.jp Thu Jan 1 07:27:21 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 Jan 2009 07:27:21 +0900 Subject: [pal-cvs 3919] [1654] set delete flag on user delete process. Message-ID: <1230762441.041968.1092.nullmailer@users.sourceforge.jp> Revision: 1654 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1654 Author: shinsuke Date: 2009-01-01 07:27:20 +0900 (Thu, 01 Jan 2009) Log Message: ----------- set delete flag on user delete process. Modified Paths: -------------- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java userinfo/trunk/src/main/resources/application.properties userinfo/trunk/src/main/resources/application_ja.properties -------------- next part -------------- Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java 2008-12-31 21:49:19 UTC (rev 1653) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/action/UserInfoAction.java 2008-12-31 22:27:20 UTC (rev 1654) @@ -174,10 +174,11 @@ public String confirm() { if (userInfoForm.mode == CommonConstants.CREATE_MODE) { UserInfo userInfo = userInfoService - .getUserInfo(userInfoForm.userId); + .getUserInfoWithDeleted(userInfoForm.userId); if (userInfo != null) { // throw an exception - throw new ActionMessagesException("errors.user_already_exists", + throw new ActionMessagesException( + "errors.cannot_use_this_user", new Object[] { userInfoForm.userId }); } } @@ -452,10 +453,12 @@ } userInfo.setUpdatedBy(request.getRemoteUser()); } else { - userInfo = userInfoService.getUserInfo(userInfoForm.userId); + userInfo = userInfoService + .getUserInfoWithDeleted(userInfoForm.userId); if (userInfo != null) { // throw an exception - throw new ActionMessagesException("errors.user_already_exists", + throw new ActionMessagesException( + "errors.cannot_use_this_user", new Object[] { userInfoForm.userId }); } userInfo = new UserInfo(); Modified: userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java =================================================================== --- userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java 2008-12-31 21:49:19 UTC (rev 1653) +++ userinfo/trunk/src/main/java/jp/sf/pal/userinfo/service/UserInfoService.java 2008-12-31 22:27:20 UTC (rev 1654) @@ -5,7 +5,6 @@ import java.util.Date; import java.util.List; -import jp.sf.pal.userinfo.UserInfoConstants; import jp.sf.pal.userinfo.common.CommonException; import jp.sf.pal.userinfo.common.dxo.PagerDxo; import jp.sf.pal.userinfo.common.util.PagingResultBeanWrapper; @@ -94,6 +93,28 @@ return userInfo; } + public UserInfo getUserInfoWithDeleted(String userId) { + UserInfoCB cb = new UserInfoCB(); + + // setup + + cb.query().setUserId_Equal(userId); + UserInfo userInfo = userInfoBhv.selectEntity(cb); + if (userInfo == null) { + return null; + } + + // RoleMappingCB cb2 = new RoleMappingCB(); + // cb2.query().setUserId_Equal(userId); + // userInfo.setRoleMappingList(roleMappingBhv.selectList(cb2)); + // + // GroupMappingCB cb3 = new GroupMappingCB(); + // cb3.query().setUserId_Equal(userId); + // userInfo.setGroupMappingList(groupMappingBhv.selectList(cb3)); + + return userInfo; + } + public void store(UserInfo userInfo) throws CommonException { Timestamp now = new Timestamp(System.currentTimeMillis()); userInfo.setUpdatedTime(now); @@ -174,25 +195,16 @@ cb3.query().setUserId_Equal(userId); groupMappingBhv.queryDelete(cb3); - // delete - userInfoBhv.delete(userInfo); + // set delete + long now = new Date().getTime(); + userInfo.setDeletedBy(name); + userInfo.setDeletedTime(new Timestamp(now)); + userInfoBhv.update(userInfo); if (portalPlugin.isAvailable()) { portalPlugin.delete(userInfo); } - // backup - long now = new Date().getTime(); - StringBuilder buf = new StringBuilder(UserInfoConstants.DELETED_PREFIX); - buf.append(now); - buf.append("_"); - buf.append(userId); - userInfo.setUserId(buf.length() > 255 ? buf.substring(0, 255) : buf - .toString()); - userInfo.setDeletedBy(name); - userInfo.setDeletedTime(new Timestamp(now)); - userInfoBhv.insert(userInfo); - } public boolean isPasswordEnabled() { Modified: userinfo/trunk/src/main/resources/application.properties =================================================================== --- userinfo/trunk/src/main/resources/application.properties 2008-12-31 21:49:19 UTC (rev 1653) +++ userinfo/trunk/src/main/resources/application.properties 2008-12-31 22:27:20 UTC (rev 1654) @@ -68,6 +68,7 @@ errors.role_already_exists=Role already exists. errors.group_already_exists=Group already exists. errors.user_already_exists=User already exists. +errors.cannot_use_this_user=Cannot use this user id. The user id was used now/before. labels.detail=Detail labels.create=Create Modified: userinfo/trunk/src/main/resources/application_ja.properties =================================================================== --- userinfo/trunk/src/main/resources/application_ja.properties 2008-12-31 21:49:19 UTC (rev 1653) +++ userinfo/trunk/src/main/resources/application_ja.properties 2008-12-31 22:27:20 UTC (rev 1654) @@ -61,6 +61,7 @@ errors.role_already_exists=\u65e2\u306b\u305d\u306e\u30ed\u30fc\u30eb\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 errors.group_already_exists=\u65e2\u306b\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 errors.user_already_exists=\u65e2\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 +errors.cannot_use_this_user=\u3053\u306e\u30e6\u30fc\u30b6\u30fcID\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u73fe\u5728\u307e\u305f\u306f\u4ee5\u524d\u306b\u305d\u306e\u30e6\u30fc\u30b6\u30fcID\u306f\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002 labels.detail=\u8a73\u7d30 labels.create=\u4f5c\u6210 From svnnotify @ sourceforge.jp Sun Jan 4 08:08:59 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sun, 04 Jan 2009 08:08:59 +0900 Subject: [pal-cvs 3920] [1655] set holiday color. Message-ID: <1231024139.091727.3116.nullmailer@users.sourceforge.jp> Revision: 1655 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1655 Author: shinsuke Date: 2009-01-04 08:08:58 +0900 (Sun, 04 Jan 2009) Log Message: ----------- set holiday color. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java scheduler/trunk/src/main/resources/application.properties scheduler/trunk/src/main/resources/application_ja.properties scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp Added Paths: ----------- scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig.properties scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_en.properties scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_ja.properties -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java 2009-01-03 23:08:58 UTC (rev 1655) @@ -2,14 +2,19 @@ public class SchedulerConstants { - public static final String ROLE_AVAILABLE = "features.role"; - - public static final String GROUP_AVAILABLE = "features.group"; - public static final String ONETIME_SCHEDULE = "ONETIME"; public static final String ROLE_PREFIX = "role::"; public static final String GROUP_PREFIX = "group::"; + public static final String SCHEDULER_HOLIDAYS = "scheduler.holidays"; + + public static final String HOLIDAY_COLOR = "#FFCCCC"; + + public static final String SUNDAY_COLOR = "#FFCCCC"; + + public static final String SATURDAY_COLOR = "#CCFFFF"; + + public static final String TODAY_COLOR = "#CCFFCC"; } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java 2009-01-03 23:08:58 UTC (rev 1655) @@ -1,6 +1,8 @@ package jp.sf.pal.scheduler.action; import java.io.Serializable; +import java.util.HashSet; +import java.util.Set; import javax.servlet.http.HttpServletRequest; @@ -8,8 +10,10 @@ import jp.sf.pal.scheduler.common.util.ConfigUtil; import jp.sf.pal.scheduler.common.util.SAStrutsUtil; import jp.sf.pal.scheduler.form.ConfigForm; +import jp.sf.pal.scheduler.util.SchedulerUtil; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.seasar.struts.annotation.ActionForm; @@ -28,10 +32,8 @@ private transient HttpServletRequest request; protected String displayIndex() { - configForm.roleAvailable = ConfigUtil.getString( - SchedulerConstants.ROLE_AVAILABLE, "true"); - configForm.groupAvailable = ConfigUtil.getString( - SchedulerConstants.GROUP_AVAILABLE, "true"); + configForm.holidays = ConfigUtil.getString( + SchedulerConstants.SCHEDULER_HOLIDAYS, ""); return "index.jsp"; } @@ -44,10 +46,22 @@ @Execute(validator = false, input = "index.jsp") public String update() { ConfigUtil.init(request); - ConfigUtil.setProperty(SchedulerConstants.ROLE_AVAILABLE, - configForm.roleAvailable); - ConfigUtil.setProperty(SchedulerConstants.GROUP_AVAILABLE, - configForm.groupAvailable); + ConfigUtil.setProperty(SchedulerConstants.SCHEDULER_HOLIDAYS, + configForm.holidays); + + if (configForm.holidays == null) { + configForm.holidays = ""; + } + + Set holidaySet = new HashSet(); + String[] holidays = configForm.holidays.split("\n"); + for (int i = 0; i < holidays.length; i++) { + if (!StringUtils.isEmpty(holidays[i])) { + holidaySet.add(holidays[i].trim()); + } + } + SchedulerUtil.setHolidaySet(holidaySet); + try { ConfigUtil.save(); SAStrutsUtil.addMessage(request, "success.update_config"); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-03 23:08:58 UTC (rev 1655) @@ -10,6 +10,7 @@ import javax.servlet.http.HttpServletRequest; +import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; import jp.sf.pal.scheduler.db.exentity.Facility; @@ -45,6 +46,8 @@ public int maxCols; + public String dayColor; + public Facility facility; @ActionForm @@ -124,6 +127,31 @@ } } + // day color + StringBuilder sb = new StringBuilder(); + sb.append(tYear).append("-"); + if (tMonth < 10) { + sb.append("0").append(tMonth); + } else { + sb.append(tMonth); + } + sb.append("-"); + if (tDate < 10) { + sb.append("0").append(tDate); + } else { + sb.append(tDate); + } + if (tDay == 1) { + // sunday + dayColor = SchedulerConstants.SUNDAY_COLOR; + } else if (SchedulerUtil.getHolidaySet().contains(sb.toString())) { + // holiday + dayColor = SchedulerConstants.HOLIDAY_COLOR; + } else if (tDay == 7) { + // saturday + dayColor = SchedulerConstants.SATURDAY_COLOR; + } + return "facilityday.jsp"; } @@ -144,13 +172,38 @@ int year = CalendarUtil.getYear(cal); int month = CalendarUtil.getMonth(cal) + 1; int date = CalendarUtil.getDate(cal); + int dayOfWeek = CalendarUtil.getDay(cal); - Map map = new HashMap(5); + Map map = new HashMap(6); map.put("displayedDate", sdf.format(cal.getTime())); - map.put("dayOfWeek", String.valueOf(CalendarUtil.getDay(cal))); + map.put("dayOfWeek", String.valueOf(dayOfWeek)); map.put("date", String.valueOf(date)); map.put("month", String.valueOf(month)); map.put("year", String.valueOf(year)); + // day color + StringBuilder sb = new StringBuilder(); + sb.append(year).append("-"); + if (month < 10) { + sb.append("0").append(month); + } else { + sb.append(month); + } + sb.append("-"); + if (date < 10) { + sb.append("0").append(date); + } else { + sb.append(date); + } + if (dayOfWeek == 1) { + // sunday + map.put("color", SchedulerConstants.SUNDAY_COLOR); + } else if (SchedulerUtil.getHolidaySet().contains(sb.toString())) { + // holiday + map.put("color", SchedulerConstants.HOLIDAY_COLOR); + } else if (dayOfWeek == 7) { + // saturday + map.put("color", SchedulerConstants.SATURDAY_COLOR); + } weekDayItems.add(map); cal = CalendarUtil.getNext(cal); @@ -246,13 +299,38 @@ int year = CalendarUtil.getYear(cal); int month = CalendarUtil.getMonth(cal) + 1; int date = CalendarUtil.getDate(cal); + int dayOfWeek = CalendarUtil.getDay(cal); - Map map = new HashMap(5); + Map map = new HashMap(6); map.put("displayedDate", sdf.format(cal.getTime())); - map.put("dayOfWeek", String.valueOf(CalendarUtil.getDay(cal))); + map.put("dayOfWeek", String.valueOf(dayOfWeek)); map.put("date", String.valueOf(date)); map.put("month", String.valueOf(month)); map.put("year", String.valueOf(year)); + // day color + StringBuilder sb = new StringBuilder(); + sb.append(year).append("-"); + if (month < 10) { + sb.append("0").append(month); + } else { + sb.append(month); + } + sb.append("-"); + if (date < 10) { + sb.append("0").append(date); + } else { + sb.append(date); + } + if (dayOfWeek == 1) { + // sunday + map.put("color", SchedulerConstants.SUNDAY_COLOR); + } else if (SchedulerUtil.getHolidaySet().contains(sb.toString())) { + // holiday + map.put("color", SchedulerConstants.HOLIDAY_COLOR); + } else if (dayOfWeek == 7) { + // saturday + map.put("color", SchedulerConstants.SATURDAY_COLOR); + } weekDayItems.add(map); cal = CalendarUtil.getNext(cal); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java 2009-01-03 23:08:58 UTC (rev 1655) @@ -47,6 +47,8 @@ public int maxCols; + public String dayColor; + @ActionForm private CalendarForm calendarForm; @@ -121,6 +123,31 @@ } } + // day color + StringBuilder sb = new StringBuilder(); + sb.append(tYear).append("-"); + if (tMonth < 10) { + sb.append("0").append(tMonth); + } else { + sb.append(tMonth); + } + sb.append("-"); + if (tDate < 10) { + sb.append("0").append(tDate); + } else { + sb.append(tDate); + } + if (tDay == 1) { + // sunday + dayColor = SchedulerConstants.SUNDAY_COLOR; + } else if (SchedulerUtil.getHolidaySet().contains(sb.toString())) { + // holiday + dayColor = SchedulerConstants.HOLIDAY_COLOR; + } else if (tDay == 7) { + // saturday + dayColor = SchedulerConstants.SATURDAY_COLOR; + } + return "personalday.jsp"; } @@ -142,14 +169,40 @@ int year = CalendarUtil.getYear(cal); int month = CalendarUtil.getMonth(cal) + 1; int date = CalendarUtil.getDate(cal); + int dayOfWeek = CalendarUtil.getDay(cal); - Map map = new HashMap(5); + Map map = new HashMap(6); map.put("displayedDate", sdf.format(cal.getTime())); - map.put("dayOfWeek", String.valueOf(CalendarUtil.getDay(cal))); + map.put("dayOfWeek", String.valueOf(dayOfWeek)); map.put("date", String.valueOf(date)); map.put("month", String.valueOf(month)); map.put("year", String.valueOf(year)); + // day color + StringBuilder sb = new StringBuilder(); + sb.append(year).append("-"); + if (month < 10) { + sb.append("0").append(month); + } else { + sb.append(month); + } + sb.append("-"); + if (date < 10) { + sb.append("0").append(date); + } else { + sb.append(date); + } + if (dayOfWeek == 1) { + // sunday + map.put("color", SchedulerConstants.SUNDAY_COLOR); + } else if (SchedulerUtil.getHolidaySet().contains(sb.toString())) { + // holiday + map.put("color", SchedulerConstants.HOLIDAY_COLOR); + } else if (dayOfWeek == 7) { + // saturday + map.put("color", SchedulerConstants.SATURDAY_COLOR); + } weekDayItems.add(map); + cal = CalendarUtil.getNext(cal); indexMap.put(year + "-" + month + "-" + date, i); @@ -254,13 +307,38 @@ int year = CalendarUtil.getYear(cal); int month = CalendarUtil.getMonth(cal) + 1; int date = CalendarUtil.getDate(cal); + int dayOfWeek = CalendarUtil.getDay(cal); - Map map = new HashMap(5); + Map map = new HashMap(6); map.put("displayedDate", sdf.format(cal.getTime())); - map.put("dayOfWeek", String.valueOf(CalendarUtil.getDay(cal))); + map.put("dayOfWeek", String.valueOf(dayOfWeek)); map.put("date", String.valueOf(date)); map.put("month", String.valueOf(month)); map.put("year", String.valueOf(year)); + // day color + StringBuilder sb = new StringBuilder(); + sb.append(year).append("-"); + if (month < 10) { + sb.append("0").append(month); + } else { + sb.append(month); + } + sb.append("-"); + if (date < 10) { + sb.append("0").append(date); + } else { + sb.append(date); + } + if (dayOfWeek == 1) { + // sunday + map.put("color", SchedulerConstants.SUNDAY_COLOR); + } else if (SchedulerUtil.getHolidaySet().contains(sb.toString())) { + // holiday + map.put("color", SchedulerConstants.HOLIDAY_COLOR); + } else if (dayOfWeek == 7) { + // saturday + map.put("color", SchedulerConstants.SATURDAY_COLOR); + } weekDayItems.add(map); cal = CalendarUtil.getNext(cal); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java 2009-01-03 23:08:58 UTC (rev 1655) @@ -6,12 +6,9 @@ public class ConfigForm implements Serializable { - private static final long serialVersionUID = -8652826957783721623L; + private static final long serialVersionUID = 5428451370958739560L; @Required(target = "update") - public String roleAvailable; + public String holidays; - @Required(target = "update") - public String groupAvailable; - } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java 2009-01-03 23:08:58 UTC (rev 1655) @@ -5,20 +5,25 @@ import java.util.Calendar; import java.util.Date; import java.util.HashMap; +import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; +import java.util.Set; import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.util.CalendarUtil; +import jp.sf.pal.scheduler.common.util.ConfigUtil; import jp.sf.pal.scheduler.common.util.DateUtil; import jp.sf.pal.scheduler.db.exentity.EventSchedule; import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; import jp.sf.pal.scheduler.db.exentity.FacilityScheduleMapping; +import org.apache.commons.lang.StringUtils; import org.seasar.struts.exception.ActionMessagesException; public class SchedulerUtil { + private static Set holidaySet; public static boolean compare(String yyyymmdd1, String HHmm1, String yyyymmdd2, String HHmm2) { @@ -116,6 +121,7 @@ calendarDayItems.add(createCalendarDayItem(cal, targetYear, targetMonth, targetDate, true)); cal = CalendarUtil.getNext(cal); + } // create a next month @@ -146,7 +152,7 @@ int month = CalendarUtil.getMonth(cal) + 1; int dayOfMonth = CalendarUtil.getDate(cal); int dayOfWeek = CalendarUtil.getDay(cal); - Map map = new HashMap(6); + Map map = new HashMap(7); map.put("year", String.valueOf(year)); map.put("month", String.valueOf(month)); map.put("dayOfMonth", String.valueOf(dayOfMonth)); @@ -157,6 +163,31 @@ } else { map.put("target", "false"); } + // day color + StringBuilder sb = new StringBuilder(); + sb.append(year); + sb.append("-"); + if (month < 10) { + sb.append("0").append(month); + } else { + sb.append(month); + } + sb.append("-"); + if (dayOfMonth < 10) { + sb.append("0").append(dayOfMonth); + } else { + sb.append(dayOfMonth); + } + if (dayOfWeek == 1) { + // sunday + map.put("color", SchedulerConstants.SUNDAY_COLOR); + } else if (getHolidaySet().contains(sb.toString())) { + // holiday + map.put("color", SchedulerConstants.HOLIDAY_COLOR); + } else if (dayOfWeek == 7) { + // saturday + map.put("color", SchedulerConstants.SATURDAY_COLOR); + } return map; } @@ -971,4 +1002,29 @@ } } } + + public static void setHolidaySet(Set holidaySet) { + if (SchedulerUtil.holidaySet != null) { + synchronized (SchedulerUtil.holidaySet) { + SchedulerUtil.holidaySet = holidaySet; + } + } else { + SchedulerUtil.holidaySet = holidaySet; + } + } + + public static Set getHolidaySet() { + if (holidaySet == null) { + Set hSet = new HashSet(); + String[] holidays = ConfigUtil.getString( + SchedulerConstants.SCHEDULER_HOLIDAYS, "").split("\n"); + for (int i = 0; i < holidays.length; i++) { + if (!StringUtils.isEmpty(holidays[i])) { + hSet.add(holidays[i].trim()); + } + } + holidaySet = hSet; + } + return holidaySet; + } } Modified: scheduler/trunk/src/main/resources/application.properties =================================================================== --- scheduler/trunk/src/main/resources/application.properties 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/resources/application.properties 2009-01-03 23:08:58 UTC (rev 1655) @@ -216,3 +216,6 @@ labels.startTimeM=Start Time labels.type=Type labels.userGroup=User Group + +labels.holiday_list=Holiday List +labels.holiday_format=ex. YYYY-MM-DD Modified: scheduler/trunk/src/main/resources/application_ja.properties =================================================================== --- scheduler/trunk/src/main/resources/application_ja.properties 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/resources/application_ja.properties 2009-01-03 23:08:58 UTC (rev 1655) @@ -208,3 +208,6 @@ labels.startTimeM=\u958b\u59cb\u6642\u523b labels.type=\u30bf\u30a4\u30d7 labels.userGroup=\u30e6\u30fc\u30b6\u30fc\u30b0\u30eb\u30fc\u30d7 + +labels.holiday_list=\u4f11\u65e5\u4e00\u89a7 +labels.holiday_format=\u4f8b: YYYY-MM-DD Added: scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig.properties =================================================================== Property changes on: scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig.properties ___________________________________________________________________ Name: svn:eol-style + native Added: scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_en.properties =================================================================== --- scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_en.properties (rev 0) +++ scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_en.properties 2009-01-03 23:08:58 UTC (rev 1655) @@ -0,0 +1,5 @@ +# portlet info +javax.portlet.title=Scheduler Config +javax.portlet.short-title=Config +javax.portlet.keywords=Schedule,Config,Groupware + Property changes on: scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_en.properties ___________________________________________________________________ Name: svn:eol-style + native Added: scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_ja.properties =================================================================== --- scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_ja.properties (rev 0) +++ scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_ja.properties 2009-01-03 23:08:58 UTC (rev 1655) @@ -0,0 +1,5 @@ +# portlet info +javax.portlet.title=\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u8a2d\u5b9a +javax.portlet.short-title=\u8a2d\u5b9a +javax.portlet.keywords=\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb,\u8a2d\u5b9a,\u30b0\u30eb\u30fc\u30d7\u30a6\u30a7\u30a2 + Property changes on: scheduler/trunk/src/main/resources/jp/sf/pal/scheduler/resources/SchedulerConfig_ja.properties ___________________________________________________________________ Name: svn:eol-style + native Modified: scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml 2009-01-03 23:08:58 UTC (rev 1655) @@ -1,10 +1,11 @@ - Manage facilities. 施設情報を管理します。 Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -28,23 +28,11 @@ - - + - - - - Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,8 +65,8 @@ - @@ -81,7 +81,7 @@ - + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,7 +65,7 @@ - @@ -90,7 +90,7 @@ - - @@ -82,7 +82,7 @@ - + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -61,7 +61,7 @@ - @@ -98,7 +98,7 @@ - + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,7 +65,7 @@ - @@ -102,7 +102,7 @@ - + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,7 +65,7 @@ - @@ -80,7 +80,7 @@ - + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,7 +65,7 @@ - @@ -89,7 +89,7 @@ - - @@ -81,7 +81,7 @@ - + From svnnotify @ sourceforge.jp Mon Jan 5 23:09:03 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 05 Jan 2009 23:09:03 +0900 Subject: [pal-cvs 3921] [1656] added search form. Message-ID: <1231164543.440402.21578.nullmailer@users.sourceforge.jp> Revision: 1656 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1656 Author: shinsuke Date: 2009-01-05 23:09:03 +0900 (Mon, 05 Jan 2009) Log Message: ----------- added search form. Modified Paths: -------------- todolist/trunk/src/main/java/jp/sf/pal/todolist/ToDoListConstants.java todolist/trunk/src/main/java/jp/sf/pal/todolist/action/user/TodoAction.java todolist/trunk/src/main/java/jp/sf/pal/todolist/form/user/TodoForm.java todolist/trunk/src/main/java/jp/sf/pal/todolist/pager/TodoPager.java todolist/trunk/src/main/java/jp/sf/pal/todolist/service/TodoService.java todolist/trunk/src/main/resources/application.properties todolist/trunk/src/main/resources/application_ja.properties todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp -------------- next part -------------- Modified: todolist/trunk/src/main/java/jp/sf/pal/todolist/ToDoListConstants.java =================================================================== --- todolist/trunk/src/main/java/jp/sf/pal/todolist/ToDoListConstants.java 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/java/jp/sf/pal/todolist/ToDoListConstants.java 2009-01-05 14:09:03 UTC (rev 1656) @@ -8,6 +8,10 @@ public static final int COMPLETED = 10; + public static final int COMPLETED_ALL = 100; + + public static final int NOT_COMPLETED = -1; + public static final int DELETE_MAPPING_MODE = 5; public static final String GUEST_NAME = "guest"; Modified: todolist/trunk/src/main/java/jp/sf/pal/todolist/action/user/TodoAction.java =================================================================== --- todolist/trunk/src/main/java/jp/sf/pal/todolist/action/user/TodoAction.java 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/java/jp/sf/pal/todolist/action/user/TodoAction.java 2009-01-05 14:09:03 UTC (rev 1656) @@ -63,7 +63,11 @@ todoMappingItems = todoService.getTodoMappingList(todoPager, userId); // restore from pager - // todoForm.todoname = todoPager.getGroupInfoname(); + if (todoPager.getStatus() != null) { + todoForm.statusForSearch = todoPager.getStatus().toString(); + } else { + todoForm.statusForSearch = null; + } return "index.jsp"; } @@ -84,7 +88,11 @@ @Execute(validator = false, input = "error.jsp") public String search() { - // todoPager.setGroupInfoname(todoForm.todoname); + if (!StringUtils.isEmpty(todoForm.statusForSearch)) { + todoPager.setStatus(Integer.parseInt(todoForm.statusForSearch)); + } else { + todoPager.setStatus(null); + } return displayList(); } Modified: todolist/trunk/src/main/java/jp/sf/pal/todolist/form/user/TodoForm.java =================================================================== --- todolist/trunk/src/main/java/jp/sf/pal/todolist/form/user/TodoForm.java 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/java/jp/sf/pal/todolist/form/user/TodoForm.java 2009-01-05 14:09:03 UTC (rev 1656) @@ -119,6 +119,9 @@ @IntegerType public String pageNumber; + @IntegerType + public String statusForSearch; + public void initialize() { id = null; status = "1"; @@ -145,6 +148,7 @@ updatedByForTodo = null; deletedTimeForTodo = null; deletedByForTodo = null; + statusForSearch = null; } public void setStartDateForTodo(String value) { Modified: todolist/trunk/src/main/java/jp/sf/pal/todolist/pager/TodoPager.java =================================================================== --- todolist/trunk/src/main/java/jp/sf/pal/todolist/pager/TodoPager.java 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/java/jp/sf/pal/todolist/pager/TodoPager.java 2009-01-05 14:09:03 UTC (rev 1656) @@ -1,5 +1,6 @@ package jp.sf.pal.todolist.pager; +import jp.sf.pal.todolist.ToDoListConstants; import jp.sf.pal.todolist.common.pager.DefaultPager; public class TodoPager extends DefaultPager { @@ -8,13 +9,17 @@ private Long categoryId; + private Integer status; + public TodoPager() { categoryId = null; + status = ToDoListConstants.NOT_COMPLETED; } public void clear() { super.clear(); categoryId = null; + status = ToDoListConstants.NOT_COMPLETED; } protected int getDefaultPageSize() { @@ -29,4 +34,12 @@ this.categoryId = categoryId; } + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + } Modified: todolist/trunk/src/main/java/jp/sf/pal/todolist/service/TodoService.java =================================================================== --- todolist/trunk/src/main/java/jp/sf/pal/todolist/service/TodoService.java 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/java/jp/sf/pal/todolist/service/TodoService.java 2009-01-05 14:09:03 UTC (rev 1656) @@ -66,6 +66,17 @@ cb.setupSelect_Todo().withUserInfo(); // TODO use specify* cb.setupSelect_UserInfo(); // TODO use specify* + if (todoPager.getStatus() != null) { + if (todoPager.getStatus() == ToDoListConstants.NOT_COMPLETED) { + cb.query().setStatus_NotEqual(ToDoListConstants.COMPLETED); + } else if (todoPager.getStatus() == ToDoListConstants.COMPLETED_ALL) { + cb.query().queryTodo().setStatus_Equal( + ToDoListConstants.COMPLETED); + } else { + cb.query().setStatus_Equal(todoPager.getStatus()); + } + } + cb.query().setDeletedBy_IsNull(); if (userId != null) { cb.query().setUserId_Equal(userId); Modified: todolist/trunk/src/main/resources/application.properties =================================================================== --- todolist/trunk/src/main/resources/application.properties 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/resources/application.properties 2009-01-05 14:09:03 UTC (rev 1656) @@ -138,4 +138,9 @@ labels.userId=User ID labels.not_started=Not Started +labels.not_completed=Not Completed +labels.completed_all=All Completed +labels.all=All +labels.search=Search +labels.reset=Reset Modified: todolist/trunk/src/main/resources/application_ja.properties =================================================================== --- todolist/trunk/src/main/resources/application_ja.properties 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/resources/application_ja.properties 2009-01-05 14:09:03 UTC (rev 1656) @@ -70,7 +70,7 @@ labels.priority=\u512a\u5148\u5ea6 labels.status=\u72b6\u614b labels.working=\u4f5c\u696d\u4e2d -labels.completed=\u7d42\u4e86 +labels.completed=\u5b8c\u4e86 labels.start_date=\u958b\u59cb\u65e5 labels.end_date=\u671f\u65e5 labels.personal=\u500b\u4eba @@ -131,3 +131,8 @@ labels.userId=\u30e6\u30fc\u30b6\u30fc ID labels.not_started=\u672a\u958b\u59cb +labels.not_completed=\u672a\u5b8c\u4e86 +labels.completed_all=\u5168\u54e1\u5b8c\u4e86 +labels.all=\u3059\u3079\u3066 +labels.search=\u691c\u7d22 +labels.reset=\u30ea\u30bb\u30c3\u30c8 Modified: todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp =================================================================== --- todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp 2009-01-03 23:08:58 UTC (rev 1655) +++ todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp 2009-01-05 14:09:03 UTC (rev 1656) @@ -60,10 +60,34 @@
${f:h(userId)}
- - - - + +
- - - - -
-${day.dayOfMonth} + +${day.dayOfMonth}
+ ${day.dayOfMonth}
+ ${day.dayOfMonth}
    Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,7 +65,7 @@
+ ${day.dayOfMonth}
${day.displayedDate}${day.displayedDate}
+ ${day.dayOfMonth}
  ${day.displayedDate}${day.displayedDate}
+ ${day.dayOfMonth}
  ${day.displayedDate}${day.displayedDate}
+ ${day.dayOfMonth}
+ ${day.dayOfMonth}
+ ${day.dayOfMonth}
    Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp 2008-12-31 22:27:20 UTC (rev 1654) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp 2009-01-03 23:08:58 UTC (rev 1655) @@ -65,7 +65,7 @@
+ ${day.dayOfMonth}
${day.displayedDate}${day.displayedDate}
-
-
+
+ +
+ + + + + + +
+ + + + + + + + + +"/> +"/> +
+ +
+
+
From svnnotify @ sourceforge.jp Tue Jan 6 06:20:18 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 06 Jan 2009 06:20:18 +0900 Subject: [pal-cvs 3922] [1657] added status. Message-ID: <1231190418.833903.26760.nullmailer@users.sourceforge.jp> Revision: 1657 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1657 Author: shinsuke Date: 2009-01-06 06:20:18 +0900 (Tue, 06 Jan 2009) Log Message: ----------- added status. Modified Paths: -------------- todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp -------------- next part -------------- Modified: todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp =================================================================== --- todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp 2009-01-05 14:09:03 UTC (rev 1656) +++ todolist/trunk/src/main/webapp/WEB-INF/view/user/todo/index.jsp 2009-01-05 21:20:18 UTC (rev 1657) @@ -93,9 +93,10 @@ + - + @@ -109,6 +110,11 @@ + + + + + + + + + + + + + + + + +
  
${f:h(t.todo.name)} + + + + From svnnotify @ sourceforge.jp Wed Jan 7 11:54:35 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 11:54:35 +0900 Subject: [pal-cvs 3923] [1658] fixed 'chapter' and 'verbtim' in tex Message-ID: <1231296875.464828.14092.nullmailer@users.sourceforge.jp> Revision: 1658 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1658 Author: sone Date: 2009-01-07 11:54:35 +0900 (Wed, 07 Jan 2009) Log Message: ----------- fixed 'chapter' and 'verbtim' in tex Modified Paths: -------------- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-dbsetup.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-unix.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-win.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/index.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex -------------- next part -------------- Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-dbsetup.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-dbsetup.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-dbsetup.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,19 +17,21 @@ -\section{CLI によるインストール時の DB 設定} +\chapter{CLI によるインストール時の DB 設定} -\subsection{データベースの選択} +\section{データベースの選択} デフォルトの Derby 以外のデータベースを利用する場合は、CLI によるインストール手順の「データベースの選択」で利用したいデータベースを選択してください。 利用するデータベースは、インストール前に環境構築されている必要があります。 インストールプロセスの中で、データベース内にテーブルや必要な情報が挿入されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Database Selection @@ -48,18 +50,22 @@ 7) SapDB (Experimental) 8) 手動でデータベースのセットアップ +\end{verbatim} +\end{footnotesize} \end{screen} 今回は、MySQL を例に進めていきますので、「4」を入力して、Enter キーを押下します。 -\subsection{データベースのパラメータ設定} +\section{データベースのパラメータ設定} 利用するデータベースのパラメータを設定します。 (以下のパラメータは一例です) \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MySQL Database Connection Parameters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -80,6 +86,8 @@ JDBC ドライバ [default:/root/mysql-connector-java-5.0.4.jar] mysql-connector-java-5.1.6-bin.jar +\end{verbatim} +\end{footnotesize} \end{screen} 「データベースユーザ名」と「データベースパスワード」はデータベースにアクセスするためのユーザー名とパスワードになります。 @@ -91,7 +99,7 @@ 各項目に対してパラメータを入力後、Enter キーを押下します。 -\subsection{設定パラメータの確認} +\section{設定パラメータの確認} 設定した DB パラメータの確認をします。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,21 +17,21 @@ -\section{GUI によるインストールの手順} +\chapter{CLI によるインストールの手順} \if0 PAL PORTAL ONLY: BEGIN \fi -\subsection{PALPortal-install-[version].jar のダウンロード} +\section{PALPortal-install-[version].jar のダウンロード} http://sourceforge.jp/projects/pal/files/から PALポータルのインストーラー(jarファイル)をダウンロードしてください。 インストーラーのファイル名は、PALPortal-[version]-installer.jar になります([version]は PALポータルのバージョンです)。 \if0 PAL PORTAL ONLY: END \fi -\subsection{インストーラの実行} +\section{インストーラの実行} コマンドライン上で @@ -46,7 +46,8 @@ 日本語以外の端末を利用している場合は、ロケールの設定を C または en\_US.UTF-8 に変更してください。 \begin{screen} - +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Welcome to the PAL Portal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -56,16 +57,20 @@ このインストーラで PAL Portal をセットアップします。 Press enter to view the license agreement +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{ライセンスの確認} +\section{ライセンスの確認} ライセンスを確認します。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ License Conditions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -85,20 +90,23 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do you accept the license? Y or N [default:Y] +\end{verbatim} +\end{footnotesize} \end{screen} ライセンスに同意する場合は、Enter キーを押下します。 同意できない場合は、「N」を入力した上で Enter キーを押下して、インストールを終了してください。 -\subsection{インストール方法の選択} +\section{インストール方法の選択} インストール方法を選択します。 新規にインストールする場合は「新規インストール」を選択します。 アップグレードインストールする場合は「アップグレードインストール」を選択します。 \begin{screen} - +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation selection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -110,17 +118,21 @@ 1) 新規インストール [default] 2) アップグレードインストール +\end{verbatim} +\end{footnotesize} \end{screen} 「1」を入力して、Enterキーを押下してください。 -\subsection{インストール場所の選択} +\section{インストール場所の選択} インストールする場所を選択してください。 インストールするパスを入力して、インストールする場所を指定します。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation Location ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -136,16 +148,20 @@ 注意: WINDOWSでは、スペースを含めないでください。 +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{インストールするコンポーネントの確認} +\section{インストールするコンポーネントの確認} インストールされるコンポーネントの一覧が表示されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Components Selection @@ -171,6 +187,8 @@ DB 設定 [default:true]required DB に PSML の保存 [default:true] +\end{verbatim} +\end{footnotesize} \end{screen} 各項目ごとに true もしくは false を入力し、Enter キーを押下して、コンポーネントを選択します。 @@ -179,7 +197,7 @@ 「メールサーバ設定」の項目に true を入力すると、PALポータルが利用するメールサーバの設定が行えます。 -\subsection{メールサーバーの指定} +\section{メールサーバーの指定} PALポータルで利用するメールサーバーを指定します。 「メールサーバ名」の項目にメールサーバー名を指定します。 @@ -187,6 +205,8 @@ ユーザー名とパスワードを入力した上で、「ユーザ認証」の項目で true を選択します。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail Server Configuration @@ -206,18 +226,22 @@ ユーザ認証 [default:false] +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{データベースの選択} +\section{データベースの選択} 利用するデータベースを指定します。 デフォルトの DB を利用する場合は、Derby を選択してください。 Derby 以外のデータベースを利用する場合は、「CLI インストールの DB 設定」を参照してください。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Database Selection @@ -236,17 +260,21 @@ 7) SapDB (Experimental) 8) 手動でデータベースのセットアップ +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{インストール前の確認} +\section{インストール前の確認} インストールを実行する前に、インストール先のディレクトリを確認してください。 指定されたディレクトリが削除されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Before Your Install ... @@ -257,17 +285,22 @@ /Portal +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{インストールの実行} +\section{インストールの実行} Enter キーを押下するとインストールが実行されます。 なお、GUI インストールとは異なり、インストール時のログは必ず表示されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation Progress ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -363,17 +396,26 @@ [copy] Copying 1 file to /Portal/webapps/palportal/WEB-INF/assembly [delete] Deleting: /Portal/temp/administration.xml [echo] Mail server configuration done! + + +\end{verbatim} +\end{footnotesize} \end{screen} -\subsection{インストールの完了} +\section{インストールの完了} インストールが完了すると、以下のメッセージが表示されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} BUILD SUCCESSFUL Total time: 1 minute 0 seconds 完了しました。 + +\end{verbatim} +\end{footnotesize} \end{screen} インストールに失敗した場合は、ログでエラー内容を確認してください。 @@ -382,7 +424,7 @@ 自動的にインストーラーが終了します。 -\subsection{PALポータルの実行} +\section{PALポータルの実行} コマンドライン上で @@ -405,4 +447,3 @@ - Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,24 +17,24 @@ -\section{CLI によるインストール} +\chapter{CLI によるインストール} -\subsection{Unix(Linux を含む) の OS 上における、CLI によるインストール} +\section{Unix(Linux を含む) の OS 上における、CLI によるインストール} PALポータルは、Unix(Linux を含む) の OS 上でコマンドラインインターフェース (CLI) によるインストールをサポートしています。 この章では、CLI によるインストール手順について説明しています。 -\subsection{Windows の OS 上における、CLI によるインストール} +\section{Windows の OS 上における、CLI によるインストール} なお、Windows の OS 上でコマンドラインインターフェース (CLI) によるインストールはサポートしていません。 グラフィカルユーザーインターフェースによるインストールをご利用ください。 -\subsection{インストールの前に} +\section{インストールの前に} PALポータルおよび PALポータルのインストーラーは、Java SDK(1.5.x以上) が必要になります。 http://java.sun.com/にアクセスして、Java SDK を取得してください。 @@ -44,8 +44,12 @@ PALポータルおよび PALポータルのインストーラーを実行するためには、環境変数に JAVA\_HOME が設定されている必要があるので、設定されていることを確認してください。Unix 系 OS で環境変数 JAVA\_HOME を設定するためには、 \begin{screen} +\begin{small} +\begin{verbatim} 例(bash を利用の場合): -\$ export JAVA\_HOME=/usr/java/jdk1.5.0\_16/ +$ export JAVA_HOME=/usr/java/jdk1.5.0_16/ +\end{verbatim} +\end{small} \end{screen} を実行します。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade-steps.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,26 +17,30 @@ -\section{GUI によるアップグレードインストール手順} +\chapter{GUI によるアップグレードインストール手順} \if0 PAL PORTAL ONLY: BEGIN \fi -\subsection{PALPortal-[version]-installer.jar のダウンロード} +\section{PALPortal-[version]-installer.jar のダウンロード} http://sourceforge.jp/projects/pal/files/から PALポータルのインストーラー(jarファイル)をダウンロードしてください。 インストーラーのファイル名は、PALPortal-install-[version].jar になります([version]は PALポータルのバージョンです)。 \if0 PAL PORTAL ONLY: END \fi -\subsection{インストーラの実行} +\section{インストーラの実行} コマンドライン上で \begin{screen} -\$ java -jar PALPortal-[version]-installer.jar +\begin{small} +\begin{verbatim} +$ java -jar PALPortal-[version]-installer.jar +\end{verbatim} +\end{small} \end{screen} を実行します(java コマンドが含まれるディレクトリは、環境変数 PATH で指定されている必要があります)。 @@ -46,6 +50,8 @@ (なお、ここから先の表示は日本語が表示できる環境を想定して記述されています) \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Welcome to the PAL Portal @@ -56,16 +62,20 @@ このインストーラで PAL Portal をセットアップします。 Press enter to view the license agreement +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{ライセンスの確認} +\section{ライセンスの確認} ライセンスを確認します。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ License Conditions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -85,19 +95,23 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do you accept the license? Y or N [default:Y] +\end{verbatim} +\end{footnotesize} \end{screen} ライセンスに同意する場合は、Enter キーを押下します。 同意できない場合は、「N」を入力した上で Enter キーを押下して、インストールを終了してください。 -\subsection{インストール方法の選択} +\section{インストール方法の選択} インストール方法を選択します。 新規にインストールする場合は「新規インストール」を選択します。 アップグレードインストールする場合は「アップグレードインストール」を選択します。 \begin{screen} +\begin{small} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation selection @@ -110,17 +124,21 @@ 1) 新規インストール [default] 2) アップグレードインストール +\end{verbatim} +\end{small} \end{screen} 「2」を入力して、Enterキーを押下してください。 -\subsection{インストール場所の選択} +\section{インストール場所の選択} インストールする場所を選択してください。 インストールするパスを入力して、インストールする場所を指定します。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation Location ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -132,16 +150,20 @@ 注意: WINDOWSでは、スペースを含めないでください。 +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{インストールするコンポーネントの確認} +\section{インストールするコンポーネントの確認} インストールされるコンポーネントの一覧が表示されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Components Selection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -176,6 +198,8 @@ Install the following component? クリーンアップ [default:true] [required] +\end{verbatim} +\end{footnotesize} \end{screen} 各項目ごとに true もしくは false を入力し、Enter キーを押下して、コンポーネントを選択します。 @@ -187,12 +211,14 @@ 「デコレータを更新しない」を選択すると、[ポータルコンテキスト名]/decorations 以下のファイルが更新されません。 -\subsection{アップグレード前の確認} +\section{アップグレード前の確認} アップグレードを実行する前に、インストール先のディレクトリを確認してください。 指定されたディレクトリが削除されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Before Your Upgrade... @@ -202,17 +228,21 @@ PAL PORTAL をアップグレードします: /Portal +\end{verbatim} +\end{footnotesize} \end{screen} Enter キーを押下します。 -\subsection{インストールの実行} +\section{インストールの実行} Enter キーを押下するとアップグレードが実行されます。 なお、GUI インストールとは異なり、インストール時のログは必ず表示されます。 \begin{screen} +\begin{footnotesize} +\begin{verbatim} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation Progress ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -255,16 +285,22 @@ clean.up.upgrade: [delete] Deleting directory /Portal/temp/upgrade-portal +\end{verbatim} +\end{footnotesize} \end{screen} -\subsection{インストールの完了} +\section{インストールの完了} インストールが完了すると、以下のメッセージが表示されます。 \begin{screen} +\begin{small} +\begin{verbatim} BUILD SUCCESSFUL Total time: 6 seconds 完了しました。 +\end{verbatim} +\end{small} \end{screen} インストールに失敗した場合は、ログでエラー内容を確認してください。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-upgrade.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,24 +17,24 @@ -\section{CLI によるアップグレードインストール} +\chapter{CLI によるアップグレードインストール} -\subsection{Unix(Linux を含む) の OS 上における、CLI によるアップグレードインストール} +\section{Unix(Linux を含む) の OS 上における、CLI によるアップグレードインストール} PALポータルは、Unix(Linux を含む) の OS 上でコマンドラインインターフェース (CLI) によるアップグレードインストールをサポートしています。 この章では、CLI によるアップグレードインストール手順について説明しています。 -\subsection{Windows の OS 上における、CLI によるアップグレードインストール} +\section{Windows の OS 上における、CLI によるアップグレードインストール} なお、Windows の OS 上でコマンドラインインターフェース (CLI) によるアップグレードインストールはサポートしていません。 グラフィカルユーザーインターフェースによるアップグレードインストールをご利用ください。 -\subsection{アップグレードインストールの前に} +\section{アップグレードインストールの前に} PALポータルおよび PALポータルのインストーラーは、Java SDK(1.5.x以上) が必要になります。 http://java.sun.com/にアクセスして、Java SDK を取得してください。 @@ -44,8 +44,12 @@ PALポータルおよび PALポータルのインストーラーを実行するためには、環境変数に JAVA\_HOME が設定されている必要があるので、設定されていることを確認してください。Unix 系 OS で環境変数 JAVA\_HOME を設定するためには、 \begin{screen} +\begin{small} +\begin{verbatim} 例(bash を利用の場合): -\$ export JAVA\_HOME=/usr/java/jdk1.5.0\_16/ +$ export JAVA_HOME=/usr/java/jdk1.5.0_16/ +\end{verbatim} +\end{small} \end{screen} を実行します。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,42 +17,46 @@ -\section{データベースの設定について MySQL} +\chapter{データベースの設定について MySQL} -\subsection{MySQLでの設定} +\section{MySQLでの設定} MySQL をデータベースとして利用する場合、MySQL の設定ファイル /etc/my.conf に文字集合を指定する必要があります。 設定内容は以下のように default-character-set で指定します。 \begin{screen} -\[mysqld\] +\begin{small} +\begin{verbatim} +[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock -\# Default to using old password format for compatibility with mysql 3.x -\# clients (those using the mysqlclient10 compatibility package). -old\_passwords=1 +# Default to using old password format for compatibility with mysql 3.x +# clients (those using the mysqlclient10 compatibility package). +old_passwords=1 default-character-set=utf8 -\[mysql.server\] +[mysql.server] user=mysql basedir=/var/lib -\[mysqld\_safe\] +[mysqld\_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid -\[client\] +[client] default-character-set=utf8 -\[mysql\] +[mysql] default-character-set=utf8 -\[mysqldump\] +[mysqldump] default-character-set=utf8 +\end{verbatim} +\end{small} \end{screen} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,13 +17,13 @@ -\section{GUI によるインストール時の DB 設定} +\chapter{GUI によるインストール時の DB 設定} -\subsection{データベースの選択} +\section{データベースの選択} デフォルトの Derby 以外のデータベースを利用する場合は、GUI によるインストール手順の「データベースの選択」で利用したいデータベースを選択してください。 利用するデータベースは、インストール前に環境構築されている必要があります。 @@ -41,7 +41,7 @@ 今回は、MySQL を例に進めていきますので、「MySql」を選択して、「次へ」ボタンをクリックします。 -\subsection{データベースのパラメータ設定} +\section{データベースのパラメータ設定} 利用するデータベースのパラメータを設定します。 \if0 @@ -62,7 +62,7 @@ 設定後、「次へ」ボタンをクリックします。 -\subsection{設定パラメータの確認} +\section{設定パラメータの確認} 設定した DB パラメータの確認をします。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,29 +17,33 @@ -\section{GUI によるインストールの手順} +\chapter{GUI によるインストールの手順} \if0 PAL PORTAL ONLY: BEGIN \fi -\subsection{PALPortal-[version]-installer.jar のダウンロード} +\section{PALPortal-[version]-installer.jar のダウンロード} http://sourceforge.jp/projects/pal/files/から PALポータルのインストーラー(jarファイル)をダウンロードしてください。 インストーラーのファイル名は、PALPortal-[version]-installer.jar になります([version]は PALポータルのバージョンです)。 \if0 PAL PORTAL ONLY: END \fi -\subsection{インストーラの実行} +\section{インストーラの実行} 端末エミュレータ(Windows の場合は DOS 窓)上で \begin{screen} +\begin{small} +\begin{verbatim} (Unix 系 OS の場合) \$ java -jar PALPortal-[version]-installer.jar (Windows の場合) > java -jar PALPortal-[version]-installer.jar +\end{verbatim} +\end{small} \end{screen} を実行します(java コマンドが含まれるディレクトリは、環境変数 PATH で指定されている必要があります)。 @@ -57,7 +61,7 @@ 「次へ」ボタンをクリックします。 -\subsection{ライセンスの確認} +\section{ライセンスの確認} ライセンスを確認します。 @@ -74,7 +78,7 @@ 同意できない場合は、「同意しない」ボタンをクリックして、インストールを終了してください。 -\subsection{インストール方法の選択} +\section{インストール方法の選択} インストール方法を選択します。 新規にインストールする場合は「新規インストール」を選択します。 @@ -92,7 +96,7 @@ 「新規インストール」を選択して、「次へ」ボタンをクリックしてください。 -\subsection{インストール場所の選択} +\section{インストール場所の選択} インストールする場所を選択してください。テキストフィールド欄にインストールするパスを入力するか、「フォルダの選択」ボタンをクリックして、インストールする場所を指定します。 @@ -108,7 +112,7 @@ 「次へ」ボタンをクリックします。 -\subsection{インストールするコンポーネントの確認} +\section{インストールするコンポーネントの確認} インストールされるコンポーネントの一覧が表示されます。 @@ -127,7 +131,7 @@ コンポーネント選択して、「次へ」ボタンをクリックします。 -\subsection{メールサーバーの指定} +\section{メールサーバーの指定} PALポータルで利用するメールサーバーを指定します。 「メールサーバ名」テキストフィールドにメールサーバー名を指定します。 @@ -145,7 +149,7 @@ 「次へ」ボタンをクリックします。 -\subsection{データベースの選択} +\section{データベースの選択} 利用するデータベースを指定します。 デフォルトの DB を利用する場合は、Derby を選択してください。 @@ -163,7 +167,7 @@ 「次へ」ボタンをクリックします。 -\subsection{インストール前の確認} +\section{インストール前の確認} インストールを実行する前に、インストール先のディレクトリを確認してください。 指定されたディレクトリが削除されます。 @@ -180,7 +184,7 @@ 「次へ」ボタンをクリックします。 -\subsection{インストールの実行} +\section{インストールの実行} 「インストール」ボタンをクリックするとインストールが実行されます。 「詳細の表示」ボタンをクリックすると、インストール時のログを確認することができます。 @@ -205,7 +209,7 @@ \end{figure} -\subsection{インストールの完了} +\section{インストールの完了} インストールが完了すると、「完了しました。」というメッセージが表示されます。 @@ -232,15 +236,19 @@ 「終了」ボタンをインストーラーを終了します。 -\subsection{PALポータルの実行} +\section{PALポータルの実行} 端末エミュレータ(Windows の場合は DOS 窓)上で \begin{screen} +\begin{small} +\begin{verbatim} (Unix 系 OS の場合) -\$ [インストール場所]/bin/startup.sh +$ [インストール場所]/bin/startup.sh (Windows の場合) > [インストール場所]/bin/startup.bat +\end{verbatim} +\end{small} \end{screen} を実行して、PALポータルを起動してください。起動後、http://localhost:8080/ にアクセスして、PALポータルのトップページが表示されることを確認してください。 @@ -258,4 +266,3 @@ - Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,20 +17,20 @@ -\section{GUI によるインストール} +\chapter{GUI によるインストール} -\subsection{GUI によるインストール} +\section{GUI によるインストール} PALポータルは、Unix(Linux を含む) または Windows の OS 上でグラフィカルユーザーインターフェース (GUI) によるインストールをサポートしています。 この章では、GUI によるインストール手順について説明しています。 GUI によるインストールを行うためには、Unix の場合は X Window システムが利用できる状態になっている必要があります。 -\subsection{インストールの前に} +\section{インストールの前に} PALポータルおよび PALポータルのインストーラーは、Java SDK(1.5.x以上) が必要になります。 http://java.sun.com/にアクセスして、Java SDK を取得してください。 @@ -40,10 +40,15 @@ PALポータルおよび PALポータルのインストーラーを実行するためには、環境変数に JAVA\_HOME が設定されている必要があるので、設定されていることを確認してください。Unix 系 OS で環境変数 JAVA\_HOME を設定するためには、 \begin{screen} -例(bash を利用の場合):\\ -\$ export JAVA\_HOME=/usr/java/jdk1.5.0\_16/ +\begin{small} +\begin{verbatim} +例(bash を利用の場合): +$ export JAVA_HOME=/usr/java/jdk1.5.0_16/ +\end{verbatim} +\end{small} \end{screen} + を実行します。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,29 +17,33 @@ -\section{GUI によるアップグレードインストール手順} +\chapter{GUI によるアップグレードインストール手順} \if0 PAL PORTAL ONLY: BEGIN \fi -\subsection{PALPortal-install-[version].jar のダウンロード} +\section{PALPortal-install-[version].jar のダウンロード} http://sourceforge.jp/projects/pal/files/から PALポータルのインストーラー(jarファイル)をダウンロードしてください。 インストーラーのファイル名は、PALPortal-install-[version].jar になります([version]は PALポータルのバージョンです)。 \if0 PAL PORTAL ONLY: END \fi -\subsection{インストーラの実行} +\section{インストーラの実行} 端末エミュレータ(Windows の場合は DOS 窓)上で \begin{screen} +\begin{small} +\begin{verbatim} (Unix 系 OS の場合) -\$ java -jar PALPortal-install-[version].jar +$ java -jar PALPortal-install-[version].jar (Windows の場合) > java -jar PALPortal-install-[version].jar +\end{verbatim} +\end{small} \end{screen} を実行します(java コマンドが含まれるディレクトリは、環境変数 PATH で指定されている必要があります)。 @@ -57,7 +61,7 @@ 「次へ」ボタンをクリックします。 -\subsection{ライセンスの確認} +\section{ライセンスの確認} ライセンスを確認します。 @@ -74,7 +78,7 @@ 同意できない場合は、「同意しない」ボタンをクリックして、インストールを終了してください。 -\subsection{インストール方法の選択} +\section{インストール方法の選択} インストール方法を選択します。 新規にインストールする場合は「新規インストール」を選択します。 @@ -92,7 +96,7 @@ 「アップグレードインストール」を選択して、「次へ」ボタンをクリックしてください。 -\subsection{インストール場所の選択} +\section{インストール場所の選択} インストールする場所を選択してください。テキストフィールド欄にインストールするパスを入力するか、「フォルダの選択」ボタンをクリックして、インストールする場所を指定します。 @@ -108,7 +112,7 @@ 「次へ」ボタンをクリックします。 -\subsection{インストールするコンポーネントの確認} +\section{インストールするコンポーネントの確認} インストールされるコンポーネントの一覧が表示されます。 @@ -130,7 +134,7 @@ コンポーネント選択して、「次へ」ボタンをクリックします。 -\subsection{インストール前の確認} +\section{インストール前の確認} アップグレードインストールを実行する前に、インストール先のディレクトリを確認してください。 @@ -146,7 +150,7 @@ 「次へ」ボタンをクリックします。 -\subsection{インストールの実行} +\section{インストールの実行} 「インストール」ボタンをクリックするとインストールが実行されます。 「詳細の表示」ボタンをクリックすると、インストール時のログを確認することができます。 @@ -171,7 +175,7 @@ \end{figure} -\subsection{インストールの完了} +\section{インストールの完了} インストールが完了すると、「完了しました。」というメッセージが表示されます。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,13 +17,13 @@ -\section{GUI によるアップグレード} +\chapter{GUI によるアップグレード} -\subsection{GUI によるアップグレードインストール} +\section{GUI によるアップグレードインストール} PALポータルは、Unix(Linux を含む) または Windows の OS 上でグラフィカルユーザーインターフェース (GUI) によるアップグレードインストールをサポートしています。 この章では、GUI によるアップグレードインストール手順について説明しています。 @@ -31,7 +31,7 @@ GUI によるアップグレードインストールを行うためには、Unix の場合は X Window システムが利用できる状態になっている必要があります。 -\subsection{アップグレードインストールの前に} +\section{アップグレードインストールの前に} PALポータルおよび PALポータルのインストーラーは、Java SDK(1.5.x以上) が必要になります。 http://java.sun.com/にアクセスして、Java SDK を取得してください。 @@ -41,8 +41,12 @@ PALポータルおよび PALポータルのインストーラーを実行するためには、環境変数に JAVA\_HOME が設定されている必要があるので、設定されていることを確認してください。Unix 系 OS で環境変数 JAVA\_HOME を設定するためには、 \begin{screen} +\begin{small} +\begin{verbatim} 例(bash を利用の場合): -\$ export JAVA\_HOME=/usr/java/jdk1.5.0\_11/ +$ export JAVA_HOME=/usr/java/jdk1.5.0_11/ +\end{verbatim} +\end{small} \end{screen} を実行します。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-unix.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-unix.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-unix.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,19 +17,23 @@ -\section{Unix 系 OS でのアンインストール} +\chapter{Unix 系 OS でのアンインストール} -\subsection{アンインストール} +\section{アンインストール} PALポータルのアンインストールは、インストールしたディレクトリを削除するだけで完了します。 端末エミュレータ上で \begin{screen} -\$ rm -rf [インストール場所] +\begin{small} +\begin{verbatim} +$ rm -rf [インストール場所] +\end{verbatim} +\end{small} \end{screen} を実行してください。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-win.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-win.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-uninstall-for-win.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,19 +17,23 @@ -\section{Windows 系 OS でのアンインストール} +\chapter{Windows 系 OS でのアンインストール} -\subsection{アンインストール} +\section{アンインストール} PALポータルのアンインストールは、インストールしたディレクトリを削除するだけで完了します。 DOS窓上などで \begin{screen} +\begin{small} +\begin{verbatim} > rmdir [インストール場所] +\end{verbatim} +\end{small} \end{screen} を実行してください。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/index.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/index.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/index.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -17,23 +17,23 @@ -\section{PALポータル インストールガイド} +\chapter{PALポータル インストールガイド} -\subsection{対象読者} +\section{対象読者} このドキュメントは、PALポータルのインストール作業およびアンインストール作業を担当するユーザーを対象にしています。 -\subsection{お読みになる前に} +\section{お読みになる前に} このドキュメントでは、PALポータルのインストール方法を示しています。コンピュータ操作の基礎的な知識が必要になります。 -\subsection{オンラインでのアクセス} +\section{オンラインでのアクセス} ダウンロード、専門的サービス、サポート、その他の開発者情報については、次にアクセスしてください。 @@ -41,7 +41,7 @@ -\subsection{技術的なサポートの連絡先} +\section{技術的なサポートの連絡先} 本製品に関する技術的質問で、ドキュメント内に解決策が得られない場合は、次にアクセスしてください。 @@ -50,14 +50,14 @@ -\subsection{関連サードパーティー Web サイトの参照} +\section{関連サードパーティー Web サイトの参照} Portal Application Laboratoryプロジェクトでは、このドキュメントに記載されているサードパーティーの Web サイトの有効性については責任を持ちません。 Portal Application Laboratoryプロジェクトはそのようなサイトやリソースを通じて、利用可能なコンテンツ、広告、製品、サービス、その他のドキュメントなどについて、保証、責任、義務を負いません。 Portal Application Laboratoryプロジェクトはそのようなサイトやリソースと通じて、利用可能なコンテンツ、広告、製品、サービス、その他のドキュメントなどを、使用または信用したり、それに関連して発生または申し立てられた、一切の損傷や損害に対しては責任または義務を負いません。 -\subsection{コメントおよび提案の送付方法} +\section{コメントおよび提案の送付方法} Portal Application Laboratoryプロジェクトは、このドキュメントの改善に努めており、読者からのコメントおよび提案などを歓迎しています。 Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex 2009-01-05 21:20:18 UTC (rev 1657) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex 2009-01-07 02:54:35 UTC (rev 1658) @@ -8,6 +8,16 @@ \begin{document} \maketitle + +% 目次 +\pagenumbering{roman} +\tableofcontents +\clearpage + +% 本文 +\setcounter{page}{1} +\pagenumbering{arabic} + \include{index} \include{guide-gui-install} \include{guide-gui-install-steps} From svnnotify @ sourceforge.jp Wed Jan 7 12:02:02 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 12:02:02 +0900 Subject: [pal-cvs 3924] [1659] fixed image size Message-ID: <1231297322.370086.20031.nullmailer@users.sourceforge.jp> Revision: 1659 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1659 Author: sone Date: 2009-01-07 12:02:01 +0900 (Wed, 07 Jan 2009) Log Message: ----------- fixed image size Modified Paths: -------------- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex -------------- next part -------------- Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-07 03:02:01 UTC (rev 1659) @@ -436,7 +436,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/palportal_top.eps} +\includegraphics[width=120mm]{images/palportal_top.eps} \caption{TBD} \label{fig:palportal_top} \end{center} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex 2009-01-07 02:54:35 UTC (rev 1658) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex 2009-01-07 03:02:01 UTC (rev 1659) @@ -31,7 +31,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_07database.eps} +\includegraphics[width=120mm]{images/install_07database.eps} \caption{TBD} \label{fig:install_07database} \end{center} @@ -47,7 +47,7 @@ \if0 \begin{figure}[ht] \begin{center} -\includegraphics{images/install_13dbparameters.eps} +\includegraphics[width=120mm]{images/install_13dbparameters.eps} \caption{TBD} \label{fig:install_13dbparameters} \end{center} @@ -68,7 +68,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_14dbtest.eps} +\includegraphics[width=120mm]{images/install_14dbtest.eps} \caption{TBD} \label{fig:install_14dbtest} \end{center} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-07 03:02:01 UTC (rev 1659) @@ -51,7 +51,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_01welcome.eps} +\includegraphics[width=120mm]{images/install_01welcome.eps} \caption{TBD} \label{fig:install_01welcome} \end{center} @@ -67,7 +67,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_02license.eps} +\includegraphics[width=120mm]{images/install_02license.eps} \caption{TBD} \label{fig:install_02license} \end{center} @@ -86,7 +86,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_03selection.eps} +\includegraphics[width=120mm]{images/install_03selection.eps} \caption{TBD} \label{fig:install_03selection} \end{center} @@ -102,7 +102,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_04location.eps} +\includegraphics[width=120mm]{images/install_04location.eps} \caption{TBD} \label{fig:install_04location} \end{center} @@ -118,7 +118,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_05components.eps} +\includegraphics[width=120mm]{images/install_05components.eps} \caption{TBD} \label{fig:install_05components} \end{center} @@ -139,7 +139,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_06mail.eps} +\includegraphics[width=120mm]{images/install_06mail.eps} \caption{TBD} \label{fig:install_06mail} \end{center} @@ -157,7 +157,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_07database.eps} +\includegraphics[width=120mm]{images/install_07database.eps} \caption{TBD} \label{fig:install_07database} \end{center} @@ -174,7 +174,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_08beforeinstall.eps} +\includegraphics[width=120mm]{images/install_08beforeinstall.eps} \caption{TBD} \label{fig:install_08beforeinstall} \end{center} @@ -191,7 +191,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_09install.eps} +\includegraphics[width=120mm]{images/install_09install.eps} \caption{TBD} \label{fig:install_09install} \end{center} @@ -202,7 +202,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_10progress.eps} +\includegraphics[width=120mm]{images/install_10progress.eps} \caption{TBD} \label{fig:install_10progress} \end{center} @@ -215,7 +215,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_11message.eps} +\includegraphics[width=120mm]{images/install_11message.eps} \caption{TBD} \label{fig:install_11message} \end{center} @@ -226,7 +226,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/install_12complete.eps} +\includegraphics[width=120mm]{images/install_12complete.eps} \caption{TBD} \label{fig:install_12complete} \end{center} @@ -255,7 +255,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/palportal_top.eps} +\includegraphics[width=120mm]{images/palportal_top.eps} \caption{TBD} \label{fig:palportal_top} \end{center} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex 2009-01-07 02:54:35 UTC (rev 1658) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex 2009-01-07 03:02:01 UTC (rev 1659) @@ -51,7 +51,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_01welcome.eps} +\includegraphics[width=120mm]{images/upgrade_01welcome.eps} \caption{TBD} \label{fig:upgrade_01welcome} \end{center} @@ -67,7 +67,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_02license.eps} +\includegraphics[width=120mm]{images/upgrade_02license.eps} \caption{TBD} \label{fig:upgrade_02license} \end{center} @@ -86,7 +86,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_03selection.eps} +\includegraphics[width=120mm]{images/upgrade_03selection.eps} \caption{TBD} \label{fig:upgrade_03selection} \end{center} @@ -102,7 +102,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_04location.eps} +\includegraphics[width=120mm]{images/upgrade_04location.eps} \caption{TBD} \label{fig:upgrade_04location} \end{center} @@ -118,7 +118,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_05components.eps} +\includegraphics[width=120mm]{images/upgrade_05components.eps} \caption{TBD} \label{fig:upgrade_05components} \end{center} @@ -140,7 +140,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_06beforeupgrade.eps} +\includegraphics[width=120mm]{images/upgrade_06beforeupgrade.eps} \caption{TBD} \label{fig:upgrade_06beforeupgrade} \end{center} @@ -157,7 +157,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_07upgrade.eps} +\includegraphics[width=120mm]{images/upgrade_07upgrade.eps} \caption{TBD} \label{fig:upgrade_07upgrade} \end{center} @@ -168,7 +168,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_08progress.eps} +\includegraphics[width=120mm]{images/upgrade_08progress.eps} \caption{TBD} \label{fig:upgrade_08progress} \end{center} @@ -181,7 +181,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_09message.eps} +\includegraphics[width=120mm]{images/upgrade_09message.eps} \caption{TBD} \label{fig:upgrade_09message} \end{center} @@ -192,7 +192,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/upgrade_10complete.eps} +\includegraphics[width=120mm]{images/upgrade_10complete.eps} \caption{TBD} \label{fig:upgrade_10complete} \end{center} From svnnotify @ sourceforge.jp Wed Jan 7 13:33:11 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 13:33:11 +0900 Subject: [pal-cvs 3925] [1660] using framed instead of screen Message-ID: <1231302791.571549.1138.nullmailer@users.sourceforge.jp> Revision: 1660 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1660 Author: sone Date: 2009-01-07 13:33:11 +0900 (Wed, 07 Jan 2009) Log Message: ----------- using framed instead of screen Modified Paths: -------------- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex -------------- next part -------------- Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-07 03:02:01 UTC (rev 1659) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-07 04:33:11 UTC (rev 1660) @@ -297,7 +297,8 @@ Enter キーを押下するとインストールが実行されます。 なお、GUI インストールとは異なり、インストール時のログは必ず表示されます。 -\begin{screen} +\begin{framed} +%\begin{screen} \begin{footnotesize} \begin{verbatim} @@ -397,10 +398,10 @@ [delete] Deleting: /Portal/temp/administration.xml [echo] Mail server configuration done! - \end{verbatim} \end{footnotesize} -\end{screen} +%\end{screen} +\end{framed} \section{インストールの完了} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex 2009-01-07 03:02:01 UTC (rev 1659) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex 2009-01-07 04:33:11 UTC (rev 1660) @@ -1,6 +1,7 @@ \documentclass[titlepage]{jbook} \usepackage{graphicx} \usepackage{ascmac} +\usepackage{framed} \title{インストールガイド} \author{Portal Application Laboratory} @@ -18,19 +19,19 @@ \setcounter{page}{1} \pagenumbering{arabic} -\include{index} -\include{guide-gui-install} -\include{guide-gui-install-steps} -\include{guide-gui-install-dbsetup} -\include{guide-cli-install} -\include{guide-cli-install-steps} -\include{guide-cli-install-dbsetup} -\include{guide-uninstall-for-unix} -\include{guide-uninstall-for-win} -\include{guide-gui-upgrade} -\include{guide-gui-upgrade-steps} -\include{guide-cli-upgrade} -\include{guide-cli-upgrade-steps} -\include{guide-db-mysql} +\input{index} +\input{guide-gui-install} +\input{guide-gui-install-steps} +\input{guide-gui-install-dbsetup} +\input{guide-cli-install} +\input{guide-cli-install-steps} +\input{guide-cli-install-dbsetup} +\input{guide-uninstall-for-unix} +\input{guide-uninstall-for-win} +\input{guide-gui-upgrade} +\input{guide-gui-upgrade-steps} +\input{guide-cli-upgrade} +\input{guide-cli-upgrade-steps} +\input{guide-db-mysql} \end{document} From svnnotify @ sourceforge.jp Wed Jan 7 13:40:41 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 13:40:41 +0900 Subject: [pal-cvs 3926] [1661] changed image size Message-ID: <1231303241.914034.8064.nullmailer@users.sourceforge.jp> Revision: 1661 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1661 Author: sone Date: 2009-01-07 13:40:41 +0900 (Wed, 07 Jan 2009) Log Message: ----------- changed image size Modified Paths: -------------- pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex -------------- next part -------------- Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -8,54 +8,64 @@ \begin{document} \maketitle +% 目次 +\pagenumbering{roman} +\tableofcontents +\clearpage + +% 本文 +\setcounter{page}{1} +\pagenumbering{arabic} + + \chapter{はじめに} -\include{index} +\input{index} \chapter{PALポータル管理の概要} -\include{overview/index} -\include{overview/architecture} -\include{overview/portal} -\include{overview/administration} +\input{overview/index} +\input{overview/architecture} +\input{overview/portal} +\input{overview/administration} \chapter{ユーザー/ロール/グループ管理} -\include{user-management/guide} -\include{user-management/create-user} -\include{user-management/update-user} -\include{user-management/delete-user} -\include{user-management/create-role} -\include{user-management/delete-role} -\include{user-management/create-group} -\include{user-management/delete-group} +\input{user-management/guide} +\input{user-management/create-user} +\input{user-management/update-user} +\input{user-management/delete-user} +\input{user-management/create-role} +\input{user-management/delete-role} +\input{user-management/create-group} +\input{user-management/delete-group} \chapter{サイトエディター} -\include{site-editor/guide} -\include{site-editor/open-siteeditor} -\include{site-editor/create-page} -\include{site-editor/edit-page} -\include{site-editor/delete-page} -\include{site-editor/create-folder} -\include{site-editor/edit-folder} -\include{site-editor/delete-folder} -\include{site-editor/change-layout} -\include{site-editor/add-portlet} +\input{site-editor/guide} +\input{site-editor/open-siteeditor} +\input{site-editor/create-page} +\input{site-editor/edit-page} +\input{site-editor/delete-page} +\input{site-editor/create-folder} +\input{site-editor/edit-folder} +\input{site-editor/delete-folder} +\input{site-editor/change-layout} +\input{site-editor/add-portlet} \chapter{ポートレット管理} -\include{portlet-management/guide} -\include{portlet-management/manage-portlet} -\include{portlet-management/deploy-portlet} -\include{portlet-management/deploy-remote-portlet} +\input{portlet-management/guide} +\input{portlet-management/manage-portlet} +\input{portlet-management/deploy-portlet} +\input{portlet-management/deploy-remote-portlet} \chapter{コンテンツ管理} -\include{wcm/guide} -\include{wcm/view} -\include{wcm/edit} -\include{wcm/i18n} +\input{wcm/guide} +\input{wcm/view} +\input{wcm/edit} +\input{wcm/i18n} \chapter{サイト管理} -\include{site/guide} -\include{site/site-user} -\include{site/page} -\include{site/virtual-host} +\input{site/guide} +\input{site/site-user} +\input{site/page} +\input{site/virtual-host} \end{document} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -30,7 +30,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/palportal_top.eps} +\includegraphics[width=120mm]{images/palportal_top.eps} \caption{TBD} \label{fig:palportal_top} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -41,7 +41,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_mng0.eps} +\includegraphics[width=120mm]{images/port_mng0.eps} \caption{TBD} \label{fig:port_mng0} \end{center} @@ -52,7 +52,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_mng1.eps} +\includegraphics[width=120mm]{images/port_mng1.eps} \caption{TBD} \label{fig:port_mng1} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_mng0.eps} +\includegraphics[width=120mm]{images/port_mng0.eps} \caption{TBD} \label{fig:port_mng0} \end{center} @@ -52,7 +52,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_mng2.eps} +\includegraphics[width=120mm]{images/port_mng2.eps} \caption{TBD} \label{fig:port_mng2} \end{center} @@ -64,7 +64,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_mng10.eps} +\includegraphics[width=120mm]{images/port_mng10.eps} \caption{TBD} \label{fig:port_mng10} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_mng12.eps} +\includegraphics[width=120mm]{images/port_mng12.eps} \caption{TBD} \label{fig:port_mng12} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -41,7 +41,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_page1.eps} +\includegraphics[width=120mm]{images/site_page1.eps} \caption{TBD} \label{fig:site_page1} \end{center} @@ -58,7 +58,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_page2.eps} +\includegraphics[width=120mm]{images/site_page2.eps} \caption{TBD} \label{fig:site_page2} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -39,7 +39,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_user1.eps} +\includegraphics[width=120mm]{images/site_user1.eps} \caption{TBD} \label{fig:site_user1} \end{center} @@ -50,7 +50,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_user2.eps} +\includegraphics[width=120mm]{images/site_user2.eps} \caption{TBD} \label{fig:site_user2} \end{center} @@ -63,7 +63,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_user3.eps} +\includegraphics[width=120mm]{images/site_user3.eps} \caption{TBD} \label{fig:site_user3} \end{center} @@ -80,7 +80,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_user4.eps} +\includegraphics[width=120mm]{images/site_user4.eps} \caption{TBD} \label{fig:site_user4} \end{center} @@ -91,7 +91,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_user5.eps} +\includegraphics[width=120mm]{images/site_user5.eps} \caption{TBD} \label{fig:site_user5} \end{center} @@ -102,7 +102,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_user6.eps} +\includegraphics[width=120mm]{images/site_user6.eps} \caption{TBD} \label{fig:site_user6} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -40,7 +40,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/site_vhost1.eps} +\includegraphics[width=120mm]{images/site_vhost1.eps} \caption{TBD} \label{fig:site_vhost1} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_add1.eps} +\includegraphics[width=120mm]{images/port_add1.eps} \caption{TBD} \label{fig:port_add1} \end{center} @@ -49,7 +49,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_add3.eps} +\includegraphics[width=120mm]{images/port_add3.eps} \caption{TBD} \label{fig:port_add3} \end{center} @@ -62,7 +62,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_add4.eps} +\includegraphics[width=120mm]{images/port_add4.eps} \caption{TBD} \label{fig:port_add4} \end{center} @@ -83,7 +83,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/port_add6.eps} +\includegraphics[width=120mm]{images/port_add6.eps} \caption{TBD} \label{fig:port_add6} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_changelayout1.eps} +\includegraphics[width=120mm]{images/siteeditor_changelayout1.eps} \caption{TBD} \label{fig:siteeditor_changelayout1} \end{center} @@ -49,7 +49,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_changelayout2.eps} +\includegraphics[width=120mm]{images/siteeditor_changelayout2.eps} \caption{TBD} \label{fig:siteeditor_changelayout2} \end{center} @@ -61,7 +61,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_changelayout3.eps} +\includegraphics[width=120mm]{images/siteeditor_changelayout3.eps} \caption{TBD} \label{fig:siteeditor_changelayout3} \end{center} @@ -77,7 +77,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_changelayout4.eps} +\includegraphics[width=120mm]{images/siteeditor_changelayout4.eps} \caption{TBD} \label{fig:siteeditor_changelayout4} \end{center} @@ -89,7 +89,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_changelayout5.eps} +\includegraphics[width=120mm]{images/siteeditor_changelayout5.eps} \caption{TBD} \label{fig:siteeditor_changelayout5} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createfolder1.eps} +\includegraphics[width=120mm]{images/siteeditor_createfolder1.eps} \caption{TBD} \label{fig:siteeditor_createfolder1} \end{center} @@ -50,7 +50,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createfolder2.eps} +\includegraphics[width=120mm]{images/siteeditor_createfolder2.eps} \caption{TBD} \label{fig:siteeditor_createfolder2} \end{center} @@ -61,7 +61,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createfolder3.eps} +\includegraphics[width=120mm]{images/siteeditor_createfolder3.eps} \caption{TBD} \label{fig:siteeditor_createfolder3} \end{center} @@ -79,7 +79,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createfolder4.eps} +\includegraphics[width=120mm]{images/siteeditor_createfolder4.eps} \caption{TBD} \label{fig:siteeditor_createfolder4} \end{center} @@ -90,7 +90,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createfolder5.eps} +\includegraphics[width=120mm]{images/siteeditor_createfolder5.eps} \caption{TBD} \label{fig:siteeditor_createfolder5} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createpage1.eps} +\includegraphics[width=120mm]{images/siteeditor_createpage1.eps} \caption{TBD} \label{fig:siteeditor_createpage1} \end{center} @@ -56,7 +56,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createpage2.eps} +\includegraphics[width=120mm]{images/siteeditor_createpage2.eps} \caption{TBD} \label{fig:siteeditor_createpage2} \end{center} @@ -67,7 +67,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createpage3.eps} +\includegraphics[width=120mm]{images/siteeditor_createpage3.eps} \caption{TBD} \label{fig:siteeditor_createpage3} \end{center} @@ -86,7 +86,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createpage4.eps} +\includegraphics[width=120mm]{images/siteeditor_createpage4.eps} \caption{TBD} \label{fig:siteeditor_createpage4} \end{center} @@ -97,7 +97,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_createpage5.eps} +\includegraphics[width=120mm]{images/siteeditor_createpage5.eps} \caption{TBD} \label{fig:siteeditor_createpage5} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletefolder1.eps} +\includegraphics[width=120mm]{images/siteeditor_deletefolder1.eps} \caption{TBD} \label{fig:siteeditor_deletefolder1} \end{center} @@ -49,7 +49,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletefolder2.eps} +\includegraphics[width=120mm]{images/siteeditor_deletefolder2.eps} \caption{TBD} \label{fig:siteeditor_deletefolder2} \end{center} @@ -60,7 +60,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletefolder3.eps} +\includegraphics[width=120mm]{images/siteeditor_deletefolder3.eps} \caption{TBD} \label{fig:siteeditor_deletefolder3} \end{center} @@ -71,7 +71,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletefolder4.eps} +\includegraphics[width=120mm]{images/siteeditor_deletefolder4.eps} \caption{TBD} \label{fig:siteeditor_deletefolder4} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletepage1.eps} +\includegraphics[width=120mm]{images/siteeditor_deletepage1.eps} \caption{TBD} \label{fig:siteeditor_deletepage1} \end{center} @@ -49,7 +49,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletepage2.eps} +\includegraphics[width=120mm]{images/siteeditor_deletepage2.eps} \caption{TBD} \label{fig:siteeditor_deletepage2} \end{center} @@ -60,7 +60,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletepage3.eps} +\includegraphics[width=120mm]{images/siteeditor_deletepage3.eps} \caption{TBD} \label{fig:siteeditor_deletepage3} \end{center} @@ -71,7 +71,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_deletepage4.eps} +\includegraphics[width=120mm]{images/siteeditor_deletepage4.eps} \caption{TBD} \label{fig:siteeditor_deletepage4} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_editfolder1.eps} +\includegraphics[width=120mm]{images/siteeditor_editfolder1.eps} \caption{TBD} \label{fig:siteeditor_editfolder1} \end{center} @@ -49,7 +49,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_editfolder2.eps} +\includegraphics[width=120mm]{images/siteeditor_editfolder2.eps} \caption{TBD} \label{fig:siteeditor_editfolder2} \end{center} @@ -68,7 +68,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_editfolder3.eps} +\includegraphics[width=120mm]{images/siteeditor_editfolder3.eps} \caption{TBD} \label{fig:siteeditor_editfolder3} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -36,7 +36,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_editpage1.eps} +\includegraphics[width=120mm]{images/siteeditor_editpage1.eps} \caption{TBD} \label{fig:siteeditor_editpage1} \end{center} @@ -49,7 +49,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_editpage2.eps} +\includegraphics[width=120mm]{images/siteeditor_editpage2.eps} \caption{TBD} \label{fig:siteeditor_editpage2} \end{center} @@ -67,7 +67,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_editpage3.eps} +\includegraphics[width=120mm]{images/siteeditor_editpage3.eps} \caption{TBD} \label{fig:siteeditor_editpage3} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -44,7 +44,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_guide1.eps} +\includegraphics[width=120mm]{images/siteeditor_guide1.eps} \caption{TBD} \label{fig:siteeditor_guide1} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -39,7 +39,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_opensiteeditor1.eps} +\includegraphics[width=120mm]{images/siteeditor_opensiteeditor1.eps} \caption{TBD} \label{fig:siteeditor_opensiteeditor1} \end{center} @@ -53,7 +53,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/siteeditor_opensiteeditor2.eps} +\includegraphics[width=120mm]{images/siteeditor_opensiteeditor2.eps} \caption{TBD} \label{fig:siteeditor_opensiteeditor2} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng19.eps} +\includegraphics[width=120mm]{images/usermng19.eps} \caption{TBD} \label{fig:usermng19} \end{center} @@ -51,7 +51,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng20.eps} +\includegraphics[width=120mm]{images/usermng20.eps} \caption{TBD} \label{fig:usermng20} \end{center} @@ -64,7 +64,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng21.eps} +\includegraphics[width=120mm]{images/usermng21.eps} \caption{TBD} \label{fig:usermng21} \end{center} @@ -77,7 +77,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng22.eps} +\includegraphics[width=120mm]{images/usermng22.eps} \caption{TBD} \label{fig:usermng22} \end{center} @@ -90,7 +90,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng23.eps} +\includegraphics[width=120mm]{images/usermng23.eps} \caption{TBD} \label{fig:usermng23} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng11.eps} +\includegraphics[width=120mm]{images/usermng11.eps} \caption{TBD} \label{fig:usermng11} \end{center} @@ -51,7 +51,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng12.eps} +\includegraphics[width=120mm]{images/usermng12.eps} \caption{TBD} \label{fig:usermng12} \end{center} @@ -64,7 +64,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng13.eps} +\includegraphics[width=120mm]{images/usermng13.eps} \caption{TBD} \label{fig:usermng13} \end{center} @@ -77,7 +77,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng14.eps} +\includegraphics[width=120mm]{images/usermng14.eps} \caption{TBD} \label{fig:usermng14} \end{center} @@ -93,7 +93,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng15.eps} +\includegraphics[width=120mm]{images/usermng15.eps} \caption{TBD} \label{fig:usermng15} \end{center} @@ -104,7 +104,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng27.eps} +\includegraphics[width=120mm]{images/usermng27.eps} \caption{TBD} \label{fig:usermng27} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng1.eps} +\includegraphics[width=120mm]{images/usermng1.eps} \caption{TBD} \label{fig:usermng1} \end{center} @@ -51,7 +51,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng2.eps} +\includegraphics[width=120mm]{images/usermng2.eps} \caption{TBD} \label{fig:usermng2} \end{center} @@ -65,7 +65,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng3.eps} +\includegraphics[width=120mm]{images/usermng3.eps} \caption{TBD} \label{fig:usermng3} \end{center} @@ -78,7 +78,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng4.eps} +\includegraphics[width=120mm]{images/usermng4.eps} \caption{TBD} \label{fig:usermng4} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng24.eps} +\includegraphics[width=120mm]{images/usermng24.eps} \caption{TBD} \label{fig:usermng24} \end{center} @@ -48,7 +48,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng25.eps} +\includegraphics[width=120mm]{images/usermng25.eps} \caption{TBD} \label{fig:usermng25} \end{center} @@ -61,7 +61,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng26.eps} +\includegraphics[width=120mm]{images/usermng26.eps} \caption{TBD} \label{fig:usermng26} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng16.eps} +\includegraphics[width=120mm]{images/usermng16.eps} \caption{TBD} \label{fig:usermng16} \end{center} @@ -48,7 +48,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng17.eps} +\includegraphics[width=120mm]{images/usermng17.eps} \caption{TBD} \label{fig:usermng17} \end{center} @@ -61,7 +61,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng18.eps} +\includegraphics[width=120mm]{images/usermng18.eps} \caption{TBD} \label{fig:usermng18} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng8.eps} +\includegraphics[width=120mm]{images/usermng8.eps} \caption{TBD} \label{fig:usermng8} \end{center} @@ -48,7 +48,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng9.eps} +\includegraphics[width=120mm]{images/usermng9.eps} \caption{TBD} \label{fig:usermng9} \end{center} @@ -61,7 +61,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng10.eps} +\includegraphics[width=120mm]{images/usermng10.eps} \caption{TBD} \label{fig:usermng10} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -32,7 +32,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng0.eps} +\includegraphics[width=120mm]{images/usermng0.eps} \caption{TBD} \label{fig:usermng0} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng5.eps} +\includegraphics[width=120mm]{images/usermng5.eps} \caption{TBD} \label{fig:usermng5} \end{center} @@ -48,7 +48,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng6.eps} +\includegraphics[width=120mm]{images/usermng6.eps} \caption{TBD} \label{fig:usermng6} \end{center} @@ -61,7 +61,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/usermng7.eps} +\includegraphics[width=120mm]{images/usermng7.eps} \caption{TBD} \label{fig:usermng7} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -34,7 +34,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit1.eps} +\includegraphics[width=120mm]{images/wcm_edit1.eps} \caption{TBD} \label{fig:wcm_edit1} \end{center} @@ -47,7 +47,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit2.eps} +\includegraphics[width=120mm]{images/wcm_edit2.eps} \caption{TBD} \label{fig:wcm_edit2} \end{center} @@ -58,7 +58,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit3.eps} +\includegraphics[width=120mm]{images/wcm_edit3.eps} \caption{TBD} \label{fig:wcm_edit3} \end{center} @@ -72,7 +72,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit4.eps} +\includegraphics[width=120mm]{images/wcm_edit4.eps} \caption{TBD} \label{fig:wcm_edit4} \end{center} @@ -86,7 +86,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit5.eps} +\includegraphics[width=120mm]{images/wcm_edit5.eps} \caption{TBD} \label{fig:wcm_edit5} \end{center} @@ -104,7 +104,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit6.eps} +\includegraphics[width=120mm]{images/wcm_edit6.eps} \caption{TBD} \label{fig:wcm_edit6} \end{center} @@ -119,7 +119,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_edit7.eps} +\includegraphics[width=120mm]{images/wcm_edit7.eps} \caption{TBD} \label{fig:wcm_edit7} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -34,7 +34,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n1.eps} +\includegraphics[width=120mm]{images/wcm_i18n1.eps} \caption{TBD} \label{fig:wcm_i18n1} \end{center} @@ -52,7 +52,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n2.eps} +\includegraphics[width=120mm]{images/wcm_i18n2.eps} \caption{TBD} \label{fig:wcm_i18n2} \end{center} @@ -65,7 +65,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n3.eps} +\includegraphics[width=120mm]{images/wcm_i18n3.eps} \caption{TBD} \label{fig:wcm_i18n3} \end{center} @@ -76,7 +76,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n4.eps} +\includegraphics[width=120mm]{images/wcm_i18n4.eps} \caption{TBD} \label{fig:wcm_i18n4} \end{center} @@ -91,7 +91,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n5.eps} +\includegraphics[width=120mm]{images/wcm_i18n5.eps} \caption{TBD} \label{fig:wcm_i18n5} \end{center} @@ -103,7 +103,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n6.eps} +\includegraphics[width=120mm]{images/wcm_i18n6.eps} \caption{TBD} \label{fig:wcm_i18n6} \end{center} @@ -114,7 +114,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n7.eps} +\includegraphics[width=120mm]{images/wcm_i18n7.eps} \caption{TBD} \label{fig:wcm_i18n7} \end{center} @@ -128,7 +128,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n8.eps} +\includegraphics[width=120mm]{images/wcm_i18n8.eps} \caption{TBD} \label{fig:wcm_i18n8} \end{center} @@ -142,7 +142,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_i18n9.eps} +\includegraphics[width=120mm]{images/wcm_i18n9.eps} \caption{TBD} \label{fig:wcm_i18n9} \end{center} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex 2009-01-07 04:33:11 UTC (rev 1660) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex 2009-01-07 04:40:41 UTC (rev 1661) @@ -35,7 +35,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_view1.eps} +\includegraphics[width=120mm]{images/wcm_view1.eps} \caption{TBD} \label{fig:wcm_view1} \end{center} @@ -47,7 +47,7 @@ \begin{figure}[ht] \begin{center} -\includegraphics{images/wcm_view2.eps} +\includegraphics[width=120mm]{images/wcm_view2.eps} \caption{TBD} \label{fig:wcm_view2} \end{center} From svnnotify @ sourceforge.jp Wed Jan 7 15:18:38 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 15:18:38 +0900 Subject: [pal-cvs 3927] [1662] updated installation-guide Message-ID: <1231309118.603701.5757.nullmailer@users.sourceforge.jp> Revision: 1662 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1662 Author: sone Date: 2009-01-07 15:18:38 +0900 (Wed, 07 Jan 2009) Log Message: ----------- updated installation-guide Modified Paths: -------------- pal-portal/docs/ja/installation-guide/trunk/src/images/install_07database.png pal-portal/docs/ja/installation-guide/trunk/src/images/palportal_top.png pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex Added Paths: ----------- pal-portal/docs/ja/installation-guide/trunk/src/images/install_07database_mysql.png -------------- next part -------------- Modified: pal-portal/docs/ja/installation-guide/trunk/src/images/install_07database.png =================================================================== (Binary files differ) Added: pal-portal/docs/ja/installation-guide/trunk/src/images/install_07database_mysql.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/installation-guide/trunk/src/images/install_07database_mysql.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: pal-portal/docs/ja/installation-guide/trunk/src/images/palportal_top.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex 2009-01-07 04:40:41 UTC (rev 1661) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-dbsetup.tex 2009-01-07 06:18:38 UTC (rev 1662) @@ -31,14 +31,14 @@ \begin{figure}[ht] \begin{center} -\includegraphics[width=120mm]{images/install_07database.eps} -\caption{TBD} -\label{fig:install_07database} +\includegraphics[width=120mm]{images/install_07database_mysql.eps} +\caption{MySQLを選択} +\label{fig:install_07database_mysql} \end{center} \end{figure} - 今回は、MySQL を例に進めていきますので、「MySql」を選択して、「次へ」ボタンをクリックします。 + 今回は、MySQL を例に進めていきますので、「MySQL」を選択して、「次へ」ボタンをクリックします。 \section{データベースのパラメータ設定} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-07 04:40:41 UTC (rev 1661) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-07 06:18:38 UTC (rev 1662) @@ -39,7 +39,7 @@ \begin{small} \begin{verbatim} (Unix 系 OS の場合) -\$ java -jar PALPortal-[version]-installer.jar +$ java -jar PALPortal-[version]-installer.jar (Windows の場合) > java -jar PALPortal-[version]-installer.jar \end{verbatim} @@ -52,7 +52,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_01welcome.eps} -\caption{TBD} +\caption{インストーラの起動} \label{fig:install_01welcome} \end{center} \end{figure} @@ -68,7 +68,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_02license.eps} -\caption{TBD} +\caption{ライセンスの確認} \label{fig:install_02license} \end{center} \end{figure} @@ -87,7 +87,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_03selection.eps} -\caption{TBD} +\caption{インストール方法の選択} \label{fig:install_03selection} \end{center} \end{figure} @@ -103,7 +103,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_04location.eps} -\caption{TBD} +\caption{インストール場所の選択} \label{fig:install_04location} \end{center} \end{figure} @@ -119,7 +119,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_05components.eps} -\caption{TBD} +\caption{コンポーネントの選択} \label{fig:install_05components} \end{center} \end{figure} @@ -140,7 +140,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_06mail.eps} -\caption{TBD} +\caption{メールサーバの指定} \label{fig:install_06mail} \end{center} \end{figure} @@ -158,7 +158,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_07database.eps} -\caption{TBD} +\caption{データベースの選択} \label{fig:install_07database} \end{center} \end{figure} @@ -175,7 +175,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_08beforeinstall.eps} -\caption{TBD} +\caption{インストール前の確認} \label{fig:install_08beforeinstall} \end{center} \end{figure} @@ -192,7 +192,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_09install.eps} -\caption{TBD} +\caption{インストール画面} \label{fig:install_09install} \end{center} \end{figure} @@ -203,7 +203,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_10progress.eps} -\caption{TBD} +\caption{インストール中の画面} \label{fig:install_10progress} \end{center} \end{figure} @@ -215,8 +215,8 @@ \begin{figure}[ht] \begin{center} -\includegraphics[width=120mm]{images/install_11message.eps} -\caption{TBD} +\includegraphics[width=60mm]{images/install_11message.eps} +\caption{インストール完了のメッセージ} \label{fig:install_11message} \end{center} \end{figure} @@ -227,7 +227,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/install_12complete.eps} -\caption{TBD} +\caption{インストール完了} \label{fig:install_12complete} \end{center} \end{figure} @@ -256,7 +256,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/palportal_top.eps} -\caption{TBD} +\caption{PALポータルのトップページ} \label{fig:palportal_top} \end{center} \end{figure} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex 2009-01-07 04:40:41 UTC (rev 1661) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-upgrade-steps.tex 2009-01-07 06:18:38 UTC (rev 1662) @@ -52,7 +52,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_01welcome.eps} -\caption{TBD} +\caption{インストーラの起動} \label{fig:upgrade_01welcome} \end{center} \end{figure} @@ -68,7 +68,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_02license.eps} -\caption{TBD} +\caption{ライセンスの確認} \label{fig:upgrade_02license} \end{center} \end{figure} @@ -87,7 +87,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_03selection.eps} -\caption{TBD} +\caption{インストール方法の選択} \label{fig:upgrade_03selection} \end{center} \end{figure} @@ -103,7 +103,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_04location.eps} -\caption{TBD} +\caption{インストール場所の選択} \label{fig:upgrade_04location} \end{center} \end{figure} @@ -119,7 +119,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_05components.eps} -\caption{TBD} +\caption{コンポーネント一覧} \label{fig:upgrade_05components} \end{center} \end{figure} @@ -141,7 +141,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_06beforeupgrade.eps} -\caption{TBD} +\caption{インストール前の確認} \label{fig:upgrade_06beforeupgrade} \end{center} \end{figure} @@ -152,13 +152,13 @@ \section{インストールの実行} - 「インストール」ボタンをクリックするとインストールが実行されます。 - 「詳細の表示」ボタンをクリックすると、インストール時のログを確認することができます。 + 「インストール」ボタンをクリックするとアップグレードインストールが実行されます。 + 「詳細の表示」ボタンをクリックすると、アップグレードインストール時のログを確認することができます。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_07upgrade.eps} -\caption{TBD} +\caption{アップグレードインストール} \label{fig:upgrade_07upgrade} \end{center} \end{figure} @@ -169,7 +169,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_08progress.eps} -\caption{TBD} +\caption{アップグレード中の画面} \label{fig:upgrade_08progress} \end{center} \end{figure} @@ -181,8 +181,8 @@ \begin{figure}[ht] \begin{center} -\includegraphics[width=120mm]{images/upgrade_09message.eps} -\caption{TBD} +\includegraphics[width=60mm]{images/upgrade_09message.eps} +\caption{アップグレード完了メッセージ} \label{fig:upgrade_09message} \end{center} \end{figure} @@ -193,7 +193,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/upgrade_10complete.eps} -\caption{TBD} +\caption{アップグレードの完了} \label{fig:upgrade_10complete} \end{center} \end{figure} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex 2009-01-07 04:40:41 UTC (rev 1661) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/installation-guide.tex 2009-01-07 06:18:38 UTC (rev 1662) @@ -3,6 +3,12 @@ \usepackage{ascmac} \usepackage{framed} +\setlength{\oddsidemargin}{0pt} +\setlength{\evensidemargin}{0pt} +\setlength{\textheight}{43\baselineskip} +\setlength{\textwidth}{47zw} + + \title{インストールガイド} \author{Portal Application Laboratory} From svnnotify @ sourceforge.jp Wed Jan 7 16:40:06 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 16:40:06 +0900 Subject: [pal-cvs 3928] [1663] updated groupware-guide Message-ID: <1231314006.870119.31609.nullmailer@users.sourceforge.jp> Revision: 1663 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1663 Author: sone Date: 2009-01-07 16:40:06 +0900 (Wed, 07 Jan 2009) Log Message: ----------- updated groupware-guide Modified Paths: -------------- pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex -------------- next part -------------- Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex 2009-01-07 06:18:38 UTC (rev 1662) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex 2009-01-07 07:40:06 UTC (rev 1663) @@ -1,6 +1,11 @@ \documentclass[titlepage]{jbook} \usepackage{graphicx} +\setlength{\oddsidemargin}{0pt} +\setlength{\evensidemargin}{0pt} +\setlength{\textheight}{43\baselineskip} +\setlength{\textwidth}{47zw} + \title{グループウェアガイド} \author{Portal Application Laboratory} From svnnotify @ sourceforge.jp Wed Jan 7 17:52:10 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 17:52:10 +0900 Subject: [pal-cvs 3929] [1664] updated groupware-guide Message-ID: <1231318330.954075.27986.nullmailer@users.sourceforge.jp> Revision: 1664 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1664 Author: sone Date: 2009-01-07 17:52:10 +0900 (Wed, 07 Jan 2009) Log Message: ----------- updated groupware-guide Modified Paths: -------------- pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex Added Paths: ----------- pal-portal/docs/ja/groupware-guide/trunk/src/images/add_category.png pal-portal/docs/ja/groupware-guide/trunk/src/images/add_task.png pal-portal/docs/ja/groupware-guide/trunk/src/images/date_select.png pal-portal/docs/ja/groupware-guide/trunk/src/images/select_memo.png pal-portal/docs/ja/groupware-guide/trunk/src/images/timecard_edit.png pal-portal/docs/ja/groupware-guide/trunk/src/images/view_memo.png -------------- next part -------------- Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/add_category.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/add_category.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/add_task.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/add_task.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/date_select.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/date_select.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/select_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/select_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/timecard_edit.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/timecard_edit.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/view_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/view_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex 2009-01-07 07:40:06 UTC (rev 1663) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex 2009-01-07 08:52:10 UTC (rev 1664) @@ -35,7 +35,7 @@ \input{./portlet/timecard.tex} \input{./portlet/scheduler.tex} \input{./portlet/userinfo.tex} -%\input{./portlet/googlegadgets.tex} -%\input{./portlet/netvibes-widgets.tex} +\input{./portlet/googlegadgets.tex} +\input{./portlet/netvibes-widgets.tex} \end{document} Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex 2009-01-07 07:40:06 UTC (rev 1663) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex 2009-01-07 08:52:10 UTC (rev 1664) @@ -0,0 +1,3 @@ +\chapter{グーグルガジェット} + +グーグルガジェットを配備できます。 Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex 2009-01-07 07:40:06 UTC (rev 1663) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex 2009-01-07 08:52:10 UTC (rev 1664) @@ -0,0 +1,3 @@ +\chapter{ネットバイブスウィジェット} + +ネットバイブスのウィジェットを配備できます。 Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex 2009-01-07 07:40:06 UTC (rev 1663) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex 2009-01-07 08:52:10 UTC (rev 1664) @@ -9,6 +9,23 @@ カテゴリを選択し名前をクリックすることで、メモを見ることができます。 +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=75mm]{./images/select_memo.eps} + \caption{メモの選択} + \label{fig:select_memo} + \end{center} +\end{figure} + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/view_memo.eps} + \caption{メモの閲覧} + \label{fig:view_memo} + \end{center} +\end{figure} + + \subsection{メモを作る} \subsection{メモを編集する} Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex 2009-01-07 07:40:06 UTC (rev 1663) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex 2009-01-07 08:52:10 UTC (rev 1664) @@ -4,3 +4,21 @@ \section{使い方} + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=90mm]{./images/date_select.eps} +\caption{日付の選択} +\label{fig:date_select} +\end{center} +\end{figure} + + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=70mm]{./images/timecard_edit.eps} +\caption{勤怠の入力画面} +\label{fig:timecard_edit} +\end{center} +\end{figure} + Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex 2009-01-07 07:40:06 UTC (rev 1663) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex 2009-01-07 08:52:10 UTC (rev 1664) @@ -1,6 +1,47 @@ \chapter{ToDoリスト} このポートレットは、ToDoリストを作成・管理するためのポートレットです。 -カテゴリによる分類やタスクを消化すべき人の割り当てなどができます。 +カテゴリによる分類、期日の設定、タスクを消化すべき人の割り当てなどができます。 -\section{使い方} \ No newline at end of file +\section{使い方} + +\subsection{タスクの登録} + +タスクのタブにおいて%カテゴリ選択後 +「タスクの作成」リンクをクリックすることで、 +タスク登録の画面に遷移します(図\ref{fig:add_task})。 + +タスクの登録においては以下の項目を指定することが可能です。 + +\begin{itemize} + \item タイトル + \item 説明 + \item 優先度 + \begin{itemize} + \item 5段階の指定が可能 + \end{itemize} + \item 開始日 + \item 期日 +\end{itemize} + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=70mm]{./images/add_task.eps} +\caption{タスクの登録} +\label{fig:add_task} +\end{center} +\end{figure} + +\subsection{カテゴリの登録} + +カテゴリを作成することで、タスクを分類できます。 + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=50mm]{./images/add_category.eps} +\caption{カテゴリの登録} +\label{fig:add_category} +\end{center} +\end{figure} + + From svnnotify @ sourceforge.jp Wed Jan 7 17:53:00 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 17:53:00 +0900 Subject: [pal-cvs 3930] [1665] updated configuration-guide Message-ID: <1231318380.531421.28321.nullmailer@users.sourceforge.jp> Revision: 1665 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1665 Author: sone Date: 2009-01-07 17:53:00 +0900 (Wed, 07 Jan 2009) Log Message: ----------- updated configuration-guide Modified Paths: -------------- pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex -------------- next part -------------- Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex 2009-01-07 08:52:10 UTC (rev 1664) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex 2009-01-07 08:53:00 UTC (rev 1665) @@ -2,95 +2,101 @@ \usepackage{graphicx} \usepackage{ascmac} -\setlength{\topmargin}{-0.3in} \setlength{\oddsidemargin}{0pt} \setlength{\evensidemargin}{0pt} -\setlength{\textheight}{46\baselineskip} +\setlength{\textheight}{43\baselineskip} \setlength{\textwidth}{47zw} - - \title{設定ガイド} \author{Portal Application Laboratory} \begin{document} \maketitle +% 目次 +\pagenumbering{roman} +\tableofcontents +\clearpage + +% 本文 +\setcounter{page}{1} +\pagenumbering{arabic} + \chapter{はじめに} -\include{index} +\input{index} \chapter{ポータル} -\include{portal/guide} -\include{portal/architecture} -\include{portal/tools} +\input{portal/guide} +\input{portal/architecture} +\input{portal/tools} \chapter{インストール} -\include{install/guide} -\include{install/directory} +\input{install/guide} +\input{install/directory} \chapter{基本設定} -\include{config/guide} -\include{config/properties} -\include{config/spring} -\include{config/port} -\include{config/proxy} -\include{config/context} -\include{config/log} -\include{config/mail} -\include{config/session} -\include{config/sslredirect} -\include{config/asyncaggregator} +\input{config/guide} +\input{config/properties} +\input{config/spring} +\input{config/port} +\input{config/proxy} +\input{config/context} +\input{config/log} +\input{config/mail} +\input{config/session} +\input{config/sslredirect} +\input{config/asyncaggregator} \chapter{データベース} -\include{db/guide} -\include{db/config} -\include{db/table} +\input{db/guide} +\input{db/config} +\input{db/table} \chapter{セキュリティ} -\include{security/guide} -\include{security/config} -\include{security/login} -\include{security/credential} -\include{security/portlet} -\include{security/authfilter} -\include{security/transferfilter} +\input{security/guide} +\input{security/config} +\input{security/login} +\input{security/credential} +\input{security/portlet} +\input{security/authfilter} +\input{security/transferfilter} \chapter{デザイン} -\include{design/guide} -\include{design/layout} -\include{design/layout-decorator} -\include{design/portlet-decorator} -\include{design/jpt} -\include{design/login} +\input{design/guide} +\input{design/layout} +\input{design/layout-decorator} +\input{design/portlet-decorator} +\input{design/jpt} +\input{design/login} \chapter{ポートレット} -\include{portlet/guide} -\include{portlet/deploy} -\include{portlet/portal} -\include{portlet/portlet} +\input{portlet/guide} +\input{portlet/deploy} +\input{portlet/portal} +\input{portlet/portlet} \chapter{PSML} -\include{psml/guide} -\include{psml/security} -\include{psml/menu} +\input{psml/guide} +\input{psml/security} +\input{psml/menu} \chapter{プロファイラー} -\include{profiler/guide} -\include{profiler/profilingrule} +\input{profiler/guide} +\input{profiler/profilingrule} \chapter{ユーザー属性} -\include{userattribute/guide} +\input{userattribute/guide} \chapter{Ajax} -\include{ajax/guide} -\include{ajax/api} +\input{ajax/guide} +\input{ajax/api} \chapter{バッチ処理} -\include{batch/guide} -\include{batch/usermanager} +\input{batch/guide} +\input{batch/usermanager} \chapter{Appendix} -\include{appendix/jetspeed-portlet} +\input{appendix/jetspeed-portlet} \end{document} From svnnotify @ sourceforge.jp Wed Jan 7 17:53:34 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 07 Jan 2009 17:53:34 +0900 Subject: [pal-cvs 3931] [1666] updated administration-guide Message-ID: <1231318414.473838.28514.nullmailer@users.sourceforge.jp> Revision: 1666 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1666 Author: sone Date: 2009-01-07 17:53:34 +0900 (Wed, 07 Jan 2009) Log Message: ----------- updated administration-guide Modified Paths: -------------- pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex -------------- next part -------------- Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -2,6 +2,12 @@ \usepackage{graphicx} \usepackage{ascmac} +\setlength{\oddsidemargin}{0pt} +\setlength{\evensidemargin}{0pt} +\setlength{\textheight}{43\baselineskip} +\setlength{\textwidth}{47zw} + + \title{管理ガイド} \author{Portal Application Laboratory} @@ -29,13 +35,14 @@ \chapter{ユーザー/ロール/グループ管理} \input{user-management/guide} -\input{user-management/create-user} -\input{user-management/update-user} -\input{user-management/delete-user} -\input{user-management/create-role} -\input{user-management/delete-role} -\input{user-management/create-group} -\input{user-management/delete-group} +\include{user-management/create-user} +\include{user-management/update-user} +\include{user-management/delete-user} +\include{user-management/create-role} +\include{user-management/delete-role} +\include{user-management/create-group} +\include{user-management/delete-group} +% 図ができるだけずれないように、ここだけincludeを使用した \chapter{サイトエディター} \input{site-editor/guide} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -36,10 +36,11 @@ 標準の PALポータルでは、次のコンポーネント製品が含まれています。 -Tomcat 5.5.23 -Derby 10.1.1.0 +\begin{itemize} + \item Tomcat 5.5.23 + \item Derby 10.1.1.0 +\end{itemize} - Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/portal.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -30,8 +30,8 @@ \begin{figure}[ht] \begin{center} -\includegraphics[width=120mm]{images/palportal_top.eps} -\caption{TBD} +\includegraphics[width=140mm]{images/palportal_top.eps} +\caption{PALポータルのトップページ} \label{fig:palportal_top} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -43,7 +43,7 @@ \begin{center} \includegraphics[width=120mm]{images/port_mng0.eps} \caption{TBD} -\label{fig:port_mng0} +\label{fig:port_mng0_} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-group.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{グループ一覧の表示} - グループを新規で登録する場合は、「ユーザー/ロール/グループ管理」の「グループ」タブを選択し、「新規」リンクを押下します。 + グループを新規で登録する場合は、「ユーザー/ロール/グループ管理」の「グループ」タブを選択し、「新規」リンクを押下します(図\ref{fig:usermng19})。 -\begin{figure}[ht] +\begin{figure}[h!tb] \begin{center} -\includegraphics[width=120mm]{images/usermng19.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/usermng19.eps} +\caption{「グループ」タブを選択後、「新規」リンクを押下} \label{fig:usermng19} \end{center} \end{figure} @@ -47,12 +47,12 @@ 新規グループ入力フォームが画面表示されます。 「グループ名」を入力します。 そのまま登録へ進むには、「確認」ボタンを押下します。 - 編集を中断する場合は「グループ一覧に戻る」ボタンを押下します。 + 編集を中断する場合は「グループ一覧に戻る」ボタンを押下します(図\ref{fig:usermng20})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng20.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/usermng20.eps} +\caption{登録情報の入力後、「確認」ボタンを押下} \label{fig:usermng20} \end{center} \end{figure} @@ -60,12 +60,12 @@ \subsection{登録情報の確認} - 登録内容を確認し、登録を完了させるために、「登録」ボタンを押下します。 + 登録内容を確認し、登録を完了させるために、「登録」ボタンを押下します(図\ref{fig:usermng21})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng21.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/usermng21.eps} +\caption{登録内容確認後、「登録」ボタンを押下} \label{fig:usermng21} \end{center} \end{figure} @@ -73,12 +73,12 @@ \subsection{グループ情報の登録} - 登録処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 登録処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng22})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng22.eps} -\caption{TBD} +\includegraphics[width=75mm]{images/usermng22.eps} +\caption{グループ登録の完了} \label{fig:usermng22} \end{center} \end{figure} @@ -86,12 +86,12 @@ \subsection{ユーザーへグループの追加} - 登録されたグループは下記図のように、ユーザー情報の編集でのグループを指定することができます。 + 登録されたグループは図\ref{fig:usermng23}のように、ユーザー情報の編集でのグループを指定することができます。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng23.eps} -\caption{TBD} +\includegraphics[width=75mm]{images/usermng23.eps} +\caption{ユーザーへのグループの追加} \label{fig:usermng23} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-role.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{ロール一覧の表示} - ロールを新規で登録する場合は、「ユーザー/ロール/グループ管理」の「ロール」タブを選択し、「新規」リンクを押下します。 + ロールを新規で登録する場合は、「ユーザー/ロール/グループ管理」の「ロール」タブを選択し、「新規」リンクを押下します(図\ref{fig:usermng11})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng11.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng11.eps} +\caption{「ロール」タブを選択後、「新規」リンクを押下} \label{fig:usermng11} \end{center} \end{figure} @@ -47,12 +47,12 @@ 新規ロール入力フォームが画面表示されます。 「ロール名」を入力します。 そのまま登録へ進むには、「確認」ボタンを押下します。 - 編集を中断する場合は「ロール一覧に戻る」ボタンを押下します。 + 編集を中断する場合は「ロール一覧に戻る」ボタンを押下します(図\ref{fig:usermng12})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng12.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/usermng12.eps} +\caption{「ロール名」を入力後、「確認」ボタンを押下} \label{fig:usermng12} \end{center} \end{figure} @@ -60,12 +60,12 @@ \subsection{登録情報の確認} - 登録内容を確認し、登録を完了させるために、「登録」ボタンを押下します。 + 登録内容を確認し、登録を完了させるために、「登録」ボタンを押下します(図\ref{fig:usermng13})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng13.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/usermng13.eps} +\caption{登録内容確認後、「登録」ボタンを押下} \label{fig:usermng13} \end{center} \end{figure} @@ -73,12 +73,12 @@ \subsection{ロール情報の登録} - 登録処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 登録処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng14})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng14.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng14.eps} +\caption{ロール登録の完了} \label{fig:usermng14} \end{center} \end{figure} @@ -88,24 +88,23 @@ 新規に登録したロールは、新規ユーザー登録時に選択するか、ユーザー情報の編集でロールを追加することができます。 + 新規ユーザー登録時に選択する場合は、登録されたロールは図\ref{fig:usermng15}のようにロール指定で利用することができます。 - 新規ユーザー登録時に選択する場合は、登録されたロールは下記図のようにロール指定で利用することができます。 - -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng15.eps} -\caption{TBD} +\includegraphics[width=85mm]{images/usermng15.eps} +\caption{ロール指定で選択可能} \label{fig:usermng15} \end{center} \end{figure} - ユーザー情報の編集から登録したロールを追加する場合は、ユーザー情報編集画面でロールを選択することで下記図のようにロールを追加することができます。 + ユーザー情報の編集から登録したロールを追加する場合は、ユーザー情報編集画面でロールを選択することで図\ref{fig:usermng27}のようにロールを追加することができます。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng27.eps} -\caption{TBD} +\includegraphics[width=85mm]{images/usermng27.eps} +\caption{編集画面からのロールの選択} \label{fig:usermng27} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/create-user.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{ユーザー一覧の表示} - 「ユーザー」タブを選択してユーザー情報一覧を表示し、「新規」リンクを押下します。 + 「ユーザー」タブを選択してユーザー情報一覧を表示し、「新規」リンクを押下します(図\ref{fig:usermng1})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} \includegraphics[width=120mm]{images/usermng1.eps} -\caption{TBD} +\caption{「新規」リンクを押下} \label{fig:usermng1} \end{center} \end{figure} @@ -47,12 +47,12 @@ 新規ユーザー入力フォームが表示されます。 「ユーザー名」、「パスワード」、「パスワード(確認用)」、「初期ログイン時のパスワード変更」、「デフォルトロール」を入力します。 「確認」ボタンを押下して、入力内容確認ページを表示します。 - 編集を中断する場合は「ユーザー一覧へ戻る」ボタンを押下します。 + 編集を中断する場合は「ユーザー一覧へ戻る」ボタンを押下します(図\ref{fig:usermng2})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng2.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng2.eps} +\caption{情報入力後、「確認」ボタンを押下} \label{fig:usermng2} \end{center} \end{figure} @@ -61,12 +61,12 @@ \subsection{登録情報の確認} 登録内容を確認し、登録を完了させるために、「登録」ボタンを押下します。 - 編集を中断する場合は「編集に戻る」ボタンを押下します。 + 編集を中断する場合は「編集に戻る」ボタンを押下します(図\ref{fig:usermng3})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng3.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng3.eps} +\caption{登録情報の確認後、「登録」ボタンを押下} \label{fig:usermng3} \end{center} \end{figure} @@ -74,12 +74,12 @@ \subsection{ユーザー情報の登録} - 登録処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 登録処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng4})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng4.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/usermng4.eps} +\caption{ユーザー登録完了} \label{fig:usermng4} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-group.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{グループ選択} - 「グループ一覧」で表示されている内容から、削除するグループの「削除」リンクを押下します。 + 「グループ一覧」で表示されている内容から、削除するグループの「削除」リンクを押下します(図\ref{fig:usermng24})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng24.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng24.eps} +\caption{削除するグループの「削除」リンクを押下} \label{fig:usermng24} \end{center} \end{figure} @@ -44,12 +44,12 @@ \subsection{削除の確認} - 削除の最終確認を行い、「削除」ボタンを押下します。中止する場合は、「グループ一覧に戻る」ボタンを押下します。 + 削除の最終確認を行い、「削除」ボタンを押下します。中止する場合は、「グループ一覧に戻る」ボタンを押下します(図\ref{fig:usermng25})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng25.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/usermng25.eps} +\caption{確認後、「削除」ボタンを押下} \label{fig:usermng25} \end{center} \end{figure} @@ -57,12 +57,12 @@ \subsection{グループ情報の削除} - 削除処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 削除処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng26})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng26.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng26.eps} +\caption{グループの削除完了} \label{fig:usermng26} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-role.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{ロール選択} - 「ロール一覧」で表示されている内容から、削除するロールの「削除」リンクを押下します。 + 「ロール一覧」で表示されている内容から、削除するロールの「削除」リンクを押下します(図\ref{fig:usermng16})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng16.eps} -\caption{TBD} +\includegraphics[width=60mm]{images/usermng16.eps} +\caption{削除するロールの「削除」リンクを押下} \label{fig:usermng16} \end{center} \end{figure} @@ -44,12 +44,12 @@ \subsection{削除の確認} - 削除の最終確認を行い、「削除」ボタンを押下します。中止する場合は、「ロール一覧に戻る」ボタンを押下します。 + 削除の最終確認を行い、「削除」ボタンを押下します。中止する場合は、「ロール一覧に戻る」ボタンを押下します(図\ref{fig:usermng17})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng17.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/usermng17.eps} +\caption{確認後、「削除」ボタンを押下} \label{fig:usermng17} \end{center} \end{figure} @@ -57,12 +57,12 @@ \subsection{ロール情報の削除} - 削除処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 削除処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng18})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng18.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/usermng18.eps} +\caption{ロール情報の削除完了} \label{fig:usermng18} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/delete-user.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{ユーザー選択} - 「ユーザー一覧」で表示されている内容から、削除するユーザーの「削除」リンクを押下します。 + 「ユーザー一覧」で表示されている内容から、削除するユーザーの「削除」リンクを押下します(図\ref{fig:usermng8})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng8.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/usermng8.eps} +\caption{削除するユーザーの「削除」リンクを押下} \label{fig:usermng8} \end{center} \end{figure} @@ -44,12 +44,12 @@ \subsection{削除の確認} - 削除の最終確認を行い、「削除」ボタンを押下します。中止する場合は、「ユーザー一覧へ戻る」ボタンを押下します。 + 削除の最終確認を行い、「削除」ボタンを押下します。中止する場合は、「ユーザー一覧へ戻る」ボタンを押下します(図\ref{fig:usermng9})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng9.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/usermng9.eps} +\caption{確認後、「削除」ボタンを押下} \label{fig:usermng9} \end{center} \end{figure} @@ -57,12 +57,12 @@ \subsection{ユーザー情報の削除} - 削除処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 削除処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng10})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng10.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/usermng10.eps} +\caption{ユーザー情報の削除完了} \label{fig:usermng10} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/guide.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -33,7 +33,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/usermng0.eps} -\caption{TBD} +\caption{タブの選択} \label{fig:usermng0} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex 2009-01-07 08:53:00 UTC (rev 1665) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/user-management/update-user.tex 2009-01-07 08:53:34 UTC (rev 1666) @@ -31,12 +31,12 @@ \subsection{ユーザー選択} - 「ユーザー一覧」で表示されている内容から、更新するユーザーの「編集」リンクを押下します。 + 「ユーザー一覧」で表示されている内容から、更新するユーザーの「編集」リンクを押下します(図\ref{fig:usermng5})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng5.eps} -\caption{TBD} +\includegraphics[width=100mm]{images/usermng5.eps} +\caption{更新するユーザーの「編集」リンクを押下} \label{fig:usermng5} \end{center} \end{figure} @@ -44,12 +44,12 @@ \subsection{更新情報の入力} - 内容を編集した後、「更新」を押下します。 + 内容を編集した後、「更新」を押下します(図\ref{fig:usermng6})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng6.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/usermng6.eps} +\caption{内容編集後、「更新」ボタンを押下} \label{fig:usermng6} \end{center} \end{figure} @@ -57,12 +57,12 @@ \subsection{ユーザー情報の更新} - 編集処理が完了し、画面には正常に完了した旨のメッセージが表示されます。 + 編集処理が完了し、画面には正常に完了した旨のメッセージが表示されます(図\ref{fig:usermng7})。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} -\includegraphics[width=120mm]{images/usermng7.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/usermng7.eps} +\caption{ユーサー情報更新完了} \label{fig:usermng7} \end{center} \end{figure} From svnnotify @ sourceforge.jp Wed Jan 14 15:26:26 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 14 Jan 2009 15:26:26 +0900 Subject: [pal-cvs 3932] [1667] updated groupware-guide Message-ID: <1231914386.199775.32539.nullmailer@users.sourceforge.jp> Revision: 1667 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1667 Author: sone Date: 2009-01-14 15:26:25 +0900 (Wed, 14 Jan 2009) Log Message: ----------- updated groupware-guide Modified Paths: -------------- pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/scheduler.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex Added Paths: ----------- pal-portal/docs/ja/groupware-guide/trunk/src/images/add_memo.png pal-portal/docs/ja/groupware-guide/trunk/src/images/confirm_memo.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_event.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility2.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility3.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group2.png pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group3.png pal-portal/docs/ja/groupware-guide/trunk/src/images/delete_confirm_memo.png pal-portal/docs/ja/groupware-guide/trunk/src/images/delete_memo.png pal-portal/docs/ja/groupware-guide/trunk/src/images/edit_memo.png pal-portal/docs/ja/groupware-guide/trunk/src/images/event_detail.png pal-portal/docs/ja/groupware-guide/trunk/src/images/facility_info.png pal-portal/docs/ja/groupware-guide/trunk/src/images/facility_info2.png pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_clock.png pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_edit_mode.png pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_select.png pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_clock.png pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_edit_mode.png pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_select.png -------------- next part -------------- Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/add_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/add_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/confirm_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/confirm_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_event.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_event.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility2.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility3.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility3.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group2.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group3.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/create_new_facility_group3.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/delete_confirm_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/delete_confirm_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/delete_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/delete_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/edit_memo.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/edit_memo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/event_detail.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/event_detail.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/facility_info.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/facility_info.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/facility_info2.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/facility_info2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_clock.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_clock.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_edit_mode.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_edit_mode.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_select.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/google_gadget_select.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_clock.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_clock.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_edit_mode.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_edit_mode.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_select.png =================================================================== (Binary files differ) Property changes on: pal-portal/docs/ja/groupware-guide/trunk/src/images/netvibes_widget_select.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/groupware-guide.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -34,7 +34,7 @@ \input{./portlet/notepad.tex} \input{./portlet/timecard.tex} \input{./portlet/scheduler.tex} -\input{./portlet/userinfo.tex} +%\input{./portlet/userinfo.tex} \input{./portlet/googlegadgets.tex} \input{./portlet/netvibes-widgets.tex} Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/googlegadgets.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -1,3 +1,39 @@ -\chapter{グーグルガジェット} +\chapter{Googleガジェット} -グーグルガジェットを配備できます。 +Googleガジェットを使うことができます。 + +\section{使い方} + +Googleガジェットポートレットを配備した直後は、 +図\ref{fig:google_gadget_edit_mode}のような表示です。 +Googleガジェットを選択するには、編集モードへうつって下さい。 + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=60mm]{./images/google_gadget_edit_mode.eps} +\caption{Googleガジェット配備直後の画面} +\label{fig:google_gadget_edit_mode} +\end{center} +\end{figure} + +編集モードからは任意のGoogleガジェットを選択することができます。 + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=55mm]{./images/google_gadget_select.eps} +\caption{Googleガジェットの選択} +\label{fig:google_gadget_select} +\end{center} +\end{figure} + +図\ref{fig:google_gadget_clock}はGoogleガジェットの例です。 +別なガジェットを使用したい場合は、再び編集モードから選択して下さい。 + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=60mm]{./images/google_gadget_clock.eps} +\caption{Googleガジェットの例} +\label{fig:google_gadget_clock} +\end{center} +\end{figure} + Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/netvibes-widgets.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -1,3 +1,36 @@ -\chapter{ネットバイブスウィジェット} +\chapter{Netvibesウィジェット} -ネットバイブスのウィジェットを配備できます。 +Netvibesウィジェットを使うことができます。 + +\section{使い方} + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=60mm]{./images/netvibes_widget_edit_mode.eps} +\caption{Netvibesウィジェット配備直後の画面} +\label{fig:netvibes_widget_edit_mode} +\end{center} +\end{figure} + +編集モードからは任意のNetvibesウィジェットを選択することができます。 + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=55mm]{./images/netvibes_widget_select.eps} +\caption{Netvibesウィジェットの選択} +\label{fig:netvibes_widget_select} +\end{center} +\end{figure} + +図\ref{fig:netvibes_widget_clock}はNetvibesウィジェットの例です。 +別なウィジェットを使用したい場合は、再び編集モードから選択して下さい。 + +\begin{figure}[htbp!] +\begin{center} +\includegraphics[width=60mm]{./images/netvibes_widget_clock.eps} +\caption{Netvibesウィジェットの例} +\label{fig:netvibes_widget_clock} +\end{center} +\end{figure} + +スクロールバーが表示されてしまう場合は、編集モードからHeightを変更して下さい。 Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/notepad.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -25,20 +25,75 @@ \end{center} \end{figure} - \subsection{メモを作る} +メモのタブにおいてカテゴリ選択後 +「メモ作成」リンクをクリックすることで、 +メモ作成の画面に遷移します(図\ref{fig:add_memo})。 + +メモ作成時には、タイトル、内容、カテゴリを指定することが可能です。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/add_memo.eps} + \caption{メモの作成} + \label{fig:add_memo} + \end{center} +\end{figure} + +確認画面で内容を確認後、 +更新ボタンをクリックすると、内容が反映されます(図\ref{fig:confirm_memo})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/confirm_memo.eps} + \caption{確認画面} + \label{fig:confirm_memo} + \end{center} +\end{figure} + \subsection{メモを編集する} +編集リンクをクリックすることで図\ref{fig:add_memo}のような画面になります(図\ref{fig:edit_memo})。 +メモ作成時と同様の手順でメモを編集することができます。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/edit_memo.eps} + \caption{メモの編集画面へ} + \label{fig:edit_memo} + \end{center} +\end{figure} + \subsection{メモを削除する} +編集リンクをクリックすると確認画面に移ります(図\ref{fig:delete_memo})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/delete_memo.eps} + \caption{メモの削除} + \label{fig:delete_memo} + \end{center} +\end{figure} + +削除ボタンをクリックすることで、メモが削除されます(図\ref{fig:delete_confirm_memo})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/delete_confirm_memo.eps} + \caption{メモ削除の確認} + \label{fig:delete_confirm_memo} + \end{center} +\end{figure} + \section{カテゴリについて} メモを分類するために、カテゴリを作成することができます。 -\begin{figure}[ht] +\begin{figure}[htbp!] \begin{center} - \includegraphics[width=120mm]{./images/notepad_1.eps} + \includegraphics[width=100mm]{./images/notepad_1.eps} \caption{カテゴリ作成画面} \label{fig:create_category} \end{center} @@ -50,7 +105,7 @@ \begin{table}[ht] \begin{center} - \caption{アクセスタイプ} + \caption{アクセスタイプ一覧} \label{fig:accesstype} \begin{tabular}{|l|c|c|c|} \hline Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/scheduler.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/scheduler.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/scheduler.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -2,4 +2,172 @@ このポートレットは、スケジュール管理・施設管理を行うためのポートレットです。 -\section{使い方} \ No newline at end of file + +\section{スケジューラの使い方} + + +\subsection{イベントをみる} + +週、月のタブ、もしくはカレンダーから特定の日時を選択すると、その日のイベントの予定を +みることができます。 + +また、グループ(週)のタブからは、同じグループに属するユーザーの予定をみることができます。 + +\subsection{イベントを登録する} + +ここでは、一般ユーザーがスケジュール管理ポートレットを使用し、 +スケジュールを登録する場合について説明します。 + +まず、スケジューラからイベントの作成を選んで下さい(図\ref{fig:create_event})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=110mm]{./images/create_event.eps} + \caption{イベントの作成を選択します} + \label{fig:create_event} + \end{center} +\end{figure} + +その後、イベントの詳細を入力して下さい(図\ref{fig:event_detail})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=80mm]{./images/event_detail.eps} + \caption{イベントの詳細} + \label{fig:event_detail} + \end{center} +\end{figure} + + +以下のものがイベントの詳細として登録可能です。 + +\begin{itemize} +\item 概要 +\item 場所 +\item 繰り返し + \begin{itemize} + \item 1回限りのイベントの他に、繰り返しのあるイベントも登録することが可能です。 + \end{itemize} +\item 開始時間 +\item 終了時間 +\item 詳細 +\item プライバシー + \begin{itemize} + \item 公開範囲を指定できます。 + \end{itemize} +\item 担当者 + \begin{itemize} + \item このスケジュールを遂行する人物です。 + \end{itemize} +\item 施設 + \begin{itemize} + \item 利用する施設です。施設管理ポートレットと連動しています。 + \end{itemize} +\end{itemize} + +\section{施設管理の使い方} + +\subsection{施設の登録} + +施設の登録は管理者のみが行うことができます。 +施設の登録は以下の手順で行います。 + +\subsubsection{施設グループの登録} + +まず、施設グループタブから新規作成を選択します(図\ref{fig:create_new_facility_group})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=110mm]{./images/create_new_facility_group.eps} + \caption{新規作成を選択} + \label{fig:create_new_facility_group} + \end{center} +\end{figure} + +施設グループ名を入力し、施設グループを作成します(図\ref{fig:create_new_facility_group2})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=110mm]{./images/create_new_facility_group2.eps} + \caption{施設グループの登録} + \label{fig:create_new_facility_group2} + \end{center} +\end{figure} + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=110mm]{./images/create_new_facility_group3.eps} + \caption{施設グループの登録完了} + \label{fig:create_new_facility_group3} + \end{center} +\end{figure} + + +\subsubsection{施設の登録} + +まず、施設タブから新規作成を選択します(図\ref{fig:create_new_facility})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=60mm]{./images/create_new_facility.eps} + \caption{新規作成を選択} + \label{fig:create_new_facility} + \end{center} +\end{figure} + + +施設名、施設グループ名を入力し、施設を作成します(図\ref{fig:create_new_facility2})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/create_new_facility2.eps} + \caption{施設の登録} + \label{fig:create_new_facility2} + \end{center} +\end{figure} + + +確認後、施設が作成されます(図\ref{fig:create_new_facility3})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=100mm]{./images/create_new_facility3.eps} + \caption{施設の確認} + \label{fig:create_new_facility3} + \end{center} +\end{figure} + + +\subsection{施設情報の利用} + +施設情報ポートレットからは、施設の情報を参照することができます。 +また、イベントの作成も可能です。 +このポートレットは、一般ユーザーでも使用可能です。 + +\subsubsection{施設情報をみる} + +施設タブから、情報を得たい施設の名前をクリックすることで、 +その施設に関するイベントをみることができます。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=110mm]{./images/facility_info.eps} + \caption{施設に関するイベントの表示} + \label{fig:facility_info} + \end{center} +\end{figure} + + +\subsubsection{イベントを登録する} + +イベントの作成をクリックし、イベントの詳細を入力することで、イベントを登録することができます。 +スケジューラーポートレットと同様に、概要、場所、繰り返し、開始時間、終了時間、詳細、プライバシー、 +担当者、施設を入力することができます(図\ref{fig:facility_info2})。 + +\begin{figure}[htbp!] + \begin{center} + \includegraphics[width=110mm]{./images/facility_info2.eps} + \caption{イベントの詳細の入力画面} + \label{fig:facility_info2} + \end{center} +\end{figure} Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/timecard.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -4,7 +4,15 @@ \section{使い方} +\subsection{設定} +ここでは管理者として、勤怠管理ポートレットを設定する方法について説明します。 + +\subsection{勤怠を入力する} + +ここでは一般ユーザーとして、勤怠管理ポートレットを使用する方法について説明します。 +まず、勤怠編集のポートレットから日付を選択して下さい(図\ref{fig:date_select})。 + \begin{figure}[htbp!] \begin{center} \includegraphics[width=90mm]{./images/date_select.eps} @@ -13,6 +21,7 @@ \end{center} \end{figure} +その後、出社時間や退社時間等を入力して下さい(図\ref{fig:timecard_edit})。 \begin{figure}[htbp!] \begin{center} Modified: pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex =================================================================== --- pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex 2009-01-07 08:53:34 UTC (rev 1666) +++ pal-portal/docs/ja/groupware-guide/trunk/src/tex/portlet/todolist.tex 2009-01-14 06:26:25 UTC (rev 1667) @@ -1,13 +1,13 @@ \chapter{ToDoリスト} このポートレットは、ToDoリストを作成・管理するためのポートレットです。 -カテゴリによる分類、期日の設定、タスクを消化すべき人の割り当てなどができます。 +カテゴリによる分類、期日の設定などができます。 \section{使い方} \subsection{タスクの登録} -タスクのタブにおいて%カテゴリ選択後 +タスクのタブにおいてカテゴリ選択後 「タスクの作成」リンクをクリックすることで、 タスク登録の画面に遷移します(図\ref{fig:add_task})。 @@ -44,4 +44,3 @@ \end{center} \end{figure} - From svnnotify @ sourceforge.jp Wed Jan 14 17:57:54 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 14 Jan 2009 17:57:54 +0900 Subject: [pal-cvs 3933] [1668] updated configuration-guide Message-ID: <1231923474.941027.12378.nullmailer@users.sourceforge.jp> Revision: 1668 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1668 Author: sone Date: 2009-01-14 17:57:54 +0900 (Wed, 14 Jan 2009) Log Message: ----------- updated configuration-guide Modified Paths: -------------- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/asyncaggregator.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/log.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/mail.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/session.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/spring.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/sslredirect.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/config.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/table.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/jpt.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout-decorator.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/login.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/portlet-decorator.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/deploy.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/portal.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/authfilter.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/config.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/guide.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/login.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/transferfilter.tex -------------- next part -------------- Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/asyncaggregator.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/asyncaggregator.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/asyncaggregator.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -24,7 +24,7 @@ webapps/palportal/WEB-INF/assembly/pipelines.xmlで aggregatorValve に引数を変更できます。 \begin{screen} - +\begin{small} \begin{verbatim} ... ... \end{verbatim} - - +\end{small} \end{screen} org.apache.jetspeed.aggregator.AsyncPageAggregator は非同期にコンテンツを集約します。 @@ -65,7 +64,7 @@ 上記の設定の場合、5000ms のタイムアウト値が設定されます。 各ポートレットで個別に設定する場合には、対象のポートレットアプリケーションの jetspeed-portlet.xml で以下のような設定をします。 \begin{screen} - +\begin{small} \begin{verbatim} ... @@ -74,9 +73,7 @@ ... \end{verbatim} - - - +\end{small} \end{screen} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/log.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/log.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/log.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -20,7 +20,7 @@ Log4j.propertiesのデフォルトの設定は以下の通りです(一部略)。 \begin{screen} - +\begin{footnotesize} \begin{verbatim} # ------------------------------------------------------------------------ # @@ -81,14 +81,14 @@ log4j.appender.velocity.MaxFileSize = 10MB log4j.appender.velocity.MaxBackupIndex = 5 \end{verbatim} - +\end{footnotesize} \end{screen} デフォルトのログレベルは ERROR に設定されています。 出力されるログファイルの保存先は、webapps/palportal/WEB-INF/logsに保存されます。 ログファイルの内容は、PALポータルを再起動しても保存されたままで、ログを追記します。 -各ログファイルのファイルサイズは、10MB まで保存し、それ以上のサイズになった場合は \<ファイル名\>.\<数字\> として保存され、最大 5 つまで保持します。 +各ログファイルのファイルサイズは、10MB まで保存し、それ以上のサイズになった場合は $<$ファイル名$>$.$<$数字$>$ として保存され、最大 5 つまで保持します。 それ以上になった場合は古いものから削除されます。 \subsubsection{jetspeed.log} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/mail.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/mail.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/mail.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -24,7 +24,7 @@ インストール後にメールサーバーの情報を変更したい場合は、webapps/palportal/WEB-INF/assembly内の administration.xml の以下の値を変更します。 \begin{screen} - +\begin{small} \begin{verbatim} localhost @@ -37,8 +37,7 @@ \end{verbatim} - - +\end{small} \end{screen} host がメールサーバー名、username と password はメールサーバーのユーザー名とパスワードで、認証が必要な場合は mail.smtp.auth を true にして有効にします。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/session.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/session.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/session.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -25,6 +25,7 @@ emptySessionPath を設定する場合は、conf/server.xmlの以下の箇所に emptySessionPath を追加します。 \begin{screen} +\begin{small} \begin{verbatim} \end{verbatim} +\end{small} \end{screen} 値を変更後、設定を保存し、ポータルを再起動後に有効になります。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/spring.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/spring.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/spring.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -23,7 +23,7 @@ \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} +\begin{tabular}[tb]{|l|l|} \hline 設定ファイル名 & 説明\\ \hline\hline @@ -53,7 +53,7 @@ \hline jetspeed-base.xml & ポータルで利用するコンポーネントを定義しています\\ \hline -jetspeed-production.xml & jetspeed-production.properties を利用するときに使うコンポーネントを定義しています\\ +jetspeed-production.xml & \shortstack[l]{jetspeed-production.properties を利用するときに使うコンポーネントを\\定義しています}\\ \hline jetspeed-services.xml & ポータル内で利用するサービスをまとめたコンポーネントを定義しています\\ \hline @@ -75,7 +75,7 @@ \hline registry.xml & ポートレットの登録情報を管理するコンポーネントを定義しています\\ \hline -request-context-objects.xml & RequestContext で利用するオプジェクトを管理するコンポーネントを定義しています\\ +request-context-objects.xml & \shortstack[l]{RequestContext で利用するオプジェクトを管理するコンポーネントを\\定義しています}\\ \hline search.xml & 検索コンポーネントを定義しています\\ \hline @@ -93,7 +93,7 @@ \hline security-spi.xml & セキュリティアクセスを管理するコンポーネントを定義しています\\ \hline -serializer.xml & データベース内のデータをインポート・エクスポートするコンポーネントを定義しています\\ +serializer.xml & \shortstack[l]{データベース内のデータをインポート・エクスポートする\\コンポーネントを定義しています}\\ \hline sso.xml & SSOを管理するコンポーネントを定義しています\\ \hline Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/sslredirect.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/sslredirect.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/config/sslredirect.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -20,10 +20,10 @@ webapps/palportal/WEB-INF/assembly/pipelines.xmlに jp.sf.pal.portal.redirect.impl.SSLRedirectValveImpl を追加します。 \begin{screen} - +\begin{small} \begin{verbatim} ... - redirect.to.ssl.page @@ -36,9 +36,9 @@ - JetspeedPipeline @@ -55,13 +55,7 @@ ... \end{verbatim} - - - - - - - +\end{small} \end{screen} sslRedirectValve を bean 要素を追加して、jetspeed-pipeline の profilerValve の後に sslRedirectValve の ref 要素を追加します。SSLRedirectValveImplのコンストラクタ引数は、一番目の引数がページで指定するキーの名前、2番目が非SSLページで利用するポート、3番目がSSLページで利用するポートです。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/configuration-guide.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -1,6 +1,7 @@ \documentclass[titlepage]{jbook} \usepackage{graphicx} \usepackage{ascmac} +\usepackage{framed} \setlength{\oddsidemargin}{0pt} \setlength{\evensidemargin}{0pt} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/config.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/config.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/config.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -19,6 +19,7 @@ Derby をデータベースとして利用している場合は、以下のような設定が記述されています。 \begin{screen} +\begin{small} \begin{verbatim} \end{verbatim} +\end{small} \end{screen} \subsection{設定方法} @@ -46,7 +48,7 @@ データベースのアクセスに必要な JDBC ライブラリの jar ファイルをshared/libに配置します。 \begin{screen} -\$ cp/mysql-connector-java-5.0.4.jar shared/lib +\$ cp mysql-connector-java-5.0.4.jar shared/lib \end{screen} @@ -62,6 +64,7 @@ データベースの構成スクリプトの設定ファイル database.properties を修正します。 \begin{screen} +\begin{small} \begin{verbatim} ; Jetspeed Enterprise Portal 2.1.1 Database setup configuration @@ -77,8 +80,8 @@ ; boolean flag (true/false) indicating if psml is to be imported ; in the database or will be read from file system dbImportPsml = true - \end{verbatim} +\end{small} \end{screen} ご利用の環境に応じて、DB 名、DB のユーザー名とパスワードを設定してください。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/table.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/table.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/db/table.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -98,6 +98,14 @@ \hline page\_constraints\_ref & 制約参照 & ○\\ \hline +\end{tabular} +\end{center} +\end{table} + +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|c|} +\hline page\_menu & 継承したメニュー情報 & ○\\ \hline page\_menu\_metadata & & ○\\ Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/jpt.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/jpt.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/jpt.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -44,18 +44,22 @@ でアクセス可能です。 たとえば、メソッドの呼び出しは、 \begin{screen} +\begin{small} \begin{verbatim} -\# 2 つのパラメータをもつメソッド 'getTitle' の呼び出し -\$jetspeed.getTitle(\$myPE, \$myF) +# 2 つのパラメータをもつメソッド 'getTitle' の呼び出し +$jetspeed.getTitle($myPE, $myF) \end{verbatim} +\end{small} \end{screen} のようになります。 プロパティの取得は、 \begin{screen} +\begin{small} \begin{verbatim} -\# page ビーンの呼び出し (\$jetspeed.getPage に等しい) -\$jetspeed.page +# page ビーンの呼び出し ($jetspeed.getPage に等しい) +$jetspeed.page \end{verbatim} +\end{small} \end{screen} のようになります。 @@ -64,85 +68,92 @@ 以下の表は Velocity 用の PALポータルPower Tool の定義です。 +\begin{table}[htbp] +\begin{center} +\small + \begin{tabular}[tb]{|l|l|} +\hline +API & decorateAndInclude(\$fragment) \\ +\hline +\hline +説明 & \shortstack[l]{ + Velocity にインクルードするための、与えられたフラグメントパラメータ(\$fragment)に対する、\\ + デコレータテンプレートへの相対パスを取得します。 フラグメントは Velocity の \#parse 関数に\\ + パラメータとして渡されます (\#parse は他の Velocity テンプレートをインクルードします)。 +}\\ +\hline +パラメータ & \$fragment- インクルードとデコレートを行うフラグメント。\\ +\hline +返り値 & String- デコレータテンプレートのアプリケーションでの相対パス。\\ +\hline +例 & \shortstack[l]{ + \#parse(\$jetspeed.decorateAndInclude(\$fragment))\\ + 戻り値\\ + /WEB-INF/decorations/layout/html/tigris/decorator-top.vm}\\ +\hline +\end{tabular} +\end{center} +\end{table} -API -decorateAndInclude(\$fragment) -説明 - Velocity にインクルードするための、与えられたフラグメントパラメータ(\$fragment)に対する、デコレータテンプレートへの相対パスを取得します。フラグメントは Velocity の \#parse 関数にパラメータとして渡されます (\#parse は他の Velocity テンプレートをインクルードします)。 +\begin{table}[htbp] +\begin{center} +\small + \begin{tabular}[tb]{|l|l|} +\hline +API & getAbsoluteUrl(appRelativePath) \\ +\hline +\hline +説明 & +\shortstack[l]{ + ポートレットアプリケーションリソースへの相対パスを与えると、絶対 URL を返します。\\ + この API はテンプレートの URL を参照するのに使うべきではありません。なぜなら、\\ + テンプレートの URL は、しばしば CMS 内に位置したり、保護されたWEB-INF ディレクトリに\\ + 位置したりするために、通常は絶対 URL としてはアクセスできないからです。}\\ +\hline +パラメータ & relativePath- デコレータパッケージ内のリソースへの相対パス。\\ +\hline +返り値 & String- ウェブリソースへの絶対パス \\ +\hline +例 &\shortstack[l]{ +\$jetspeed.getAbsoluteUrl("/images/test.gif")\\ +戻り値\\ +http://localhost:8080/jetspeed/portal/images/test.gif}\\ +\hline +\end{tabular} +\end{center} +\end{table} -パラメータ -\$fragment- インクルードとデコレートを行うフラグメント。 -返り値 -String- デコレータテンプレートのアプリケーションでの相対パス。 +\begin{table}[htbp] +\begin{center} +\small + \begin{tabular}[tb]{|l|l|} +\hline +API & columns \\ +\hline +\hline +説明 & レイアウトの集約の間に現在のフラグメントのための列のリストを返す。\\ +\hline +パラメータ & - \\ +\hline +返り値 & List- サブフラグメントもしくは Java の標準の List \\ +\hline +例 & \shortstack[l]{ + \#set (\$table = \$jetspeed.columns)\\ + \#foreach(\$entry in \$table)}\\ +\hline +\end{tabular} +\end{center} +\end{table} -例 -\#parse(\$jetspeed.decorateAndInclude(\$fragment))戻り値/WEB-INF/decorations/layout/html/tigris/decorator-top.vm - - - - - -API -getAbsoluteUrl(appRelativePath) - - -説明 - - ポートレットアプリケーションリソースへの相対パスを与えると、絶対 URL を返します。 - この API はテンプレートの URL を参照するのに使うべきではありません。なぜなら、テンプレートの URL は、しばしば CMS 内に位置したり、保護された WEB-INF ディレクトリに位置したりするために、通常は絶対 URL としてはアクセスできないからです。 - - - -パラメータ -relativePath- デコレータパッケージ内のリソースへの相対パス。 - - -返り値 -String- ウェブリソースへの絶対パス - - -例 -\$jetspeed.getAbsoluteUrl("/images/test.gif")戻り値http://localhost:8080/jetspeed/portal/images/test.gif - - - - - - -API -columns - - -説明 - - レイアウトの集約の間に現在のフラグメントのための列のリストを返す。 - - - -パラメータ -- - - -返り値 -List- サブフラグメントもしくは Java の標準の List - - -例 -\#set (\$table = \$jetspeed.columns)\#foreach(\$entry in \$table) - - - - - \if0 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout-decorator.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout-decorator.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout-decorator.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -58,6 +58,7 @@ \begin{table}[htbp] \begin{center} +\small \begin{tabular}[tb]{|l|l|l|} \hline プロパティ名 & 説明 & デフォルト\\ @@ -92,6 +93,7 @@ 通常、header.vm では、上部に下記のようにレイアウトデコレータで利用するパラメータの設定等を行います。 \begin{screen} +\begin{small} \begin{verbatim} #set($portalMode = "standard")## ## Add the current layouts configuration values to the context @@ -111,7 +113,7 @@ #set($servletName = $JS2RequestContext.request.servletPath)## #initMessageResourceBundles()## \end{verbatim} - +\end{small} \end{screen} \#defineLayoutObjects()は、Velocity でマクロと言われるものです。 @@ -123,8 +125,9 @@ \#defineLayoutObjects()は、様々な値をレイアウトデコレータ内で利用可能にします。 設定された値は、header.vm や footer.vm などの様々なテンプレートからアクセス可能になります。 \#defineLayoutObjects()では、webapps/palportal/WEB-INF/jetspeed\_macros.vmで以下のように記述されています。 - + \begin{screen} +\begin{small} \begin{verbatim} #macro (defineLayoutObjects) #set($preferedLocale = $JS2RequestContext.locale) @@ -134,7 +137,7 @@ #set($layoutDecoration = $theme.getDecoration($rootFragment)) #end \end{verbatim} - +\end{small} \end{screen} \#set()は、Velocity の変数に値を設定する関数です。 @@ -159,10 +162,10 @@ \$requestは、javax.servlet.http.HttpServletRequestのインスタンスで、PALポータルから Velocity に渡されたオブジェクトを取り出します。\$siteと\$themeは、それぞれorg.apache.jetspeed.portalsite.PortalSiteRequestContextとorg.apache.jetspeed.decoration.Themeです。 -パラメータの設定後、header.vm では、\<html\> から始まるタグを記述していきます。 +パラメータの設定後、header.vm では、$<$html$>$ から始まるタグを記述していきます。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -187,70 +190,65 @@ ... \end{verbatim} - - +\end{small} \end{screen} 最初に、 -]]>は、ウェブのリソースの場所の解決をするためのベースを定義する際に使用します。 +$<$base href="\#BaseHref()"$>$は、ウェブのリソースの場所の解決をするためのベースを定義する際に使用します。 -]]>の議論については、W3C Schools Referenceを参照してください。 +$<$base$>$の議論については、W3C Schools Referenceを参照してください。 もしすでにあなたが PALポータルで遊んだ経験があるのであれば、一貫した html やスタイルシートへのパスを取得するのを妨げる、幾通りもの非常にややこしい URL リライトの問題に気づくでしょう。 BASEタグを定義することにより、一貫した html やスタイルシートへのパスを取得するのを妨げる、URL リライトの問題が解決されます。 \#BaseHref()マクロは、単にウェブアプリケーションのルートディレクトリへの絶対パスを作成します。 このコードは、サーブレットAPIを使って記述した場合、以下の通りです。 - -\begin{screen} +\begin{screen} +\begin{small} \begin{verbatim} HttpServletRequest request; StingBuffer baseHref = new StringBuffer(request.getScheme()) .append("://").append(request.getServerName()) .append(":").append(request.getServerPort()) .append(request.getContextPath()).append("/"); -return baseHref.toString(); +return baseHref.toString(); \end{verbatim} - - +\end{small} \end{screen} - Velocity マクロのコードは簡潔になり、以下の通りです。 - -\begin{screen} +Velocity マクロのコードは簡潔になり、以下の通りです。 +\begin{screen} +\begin{small} \begin{verbatim} ${request.scheme}://${request.serverName}:${request.serverPort}${request.contextPath} \end{verbatim} - - +\end{small} \end{screen} \#ContentType()は text/htmlと、UTF-8 のような適切なエンコードの種類を返します。 - + \#PageBaseCSSClass()は base.css.class プロパティの値が利用され、スタイルシートの適用範囲を指定するために body タグ直下のタグでスタイルクラスとして適用するためなどに用いられます。 - + \subsubsection{フッターテンプレート} footer.vm についても header.vm と同様に記述することができます。 - \subsubsection{スタイルシート} -通常のCSSと同様に記述することができます。 +通常のCSSと同様に記述することができます。 - \subsection{レイアウトデコレータの追加} -新規にレイアウトデコレータを追加したい場合は、上記のファイル群を作成し、webapps/palportal/decorations/layout/\<mydesign\>以下に配置することで \<mydesign\> が有効になります。デコレータの追加には、ポータルの再起動は必要ありません。 +新規にレイアウトデコレータを追加したい場合は、上記のファイル群を作成し、webapps/palportal/decorations/layout/$<$mydesign$>$以下に配置することで $<$mydesign$>$ が有効になります。デコレータの追加には、ポータルの再起動は必要ありません。 追加したレイアウトデコレータはサイトエディターから選択することができます。 -設定方法の詳細については「管理ガイド」を参照してください。 +設定方法の詳細については「管理ガイド」を参照してください。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/layout.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -78,45 +78,47 @@ \begin{table}[htbp] \begin{center} +\footnotesize \begin{tabular}[tb]{|l|l|l|l|l|} \hline ポートレット名 & レイアウト名 & カラム数 & サイズ & 説明\\ \hline\hline -VelocityOneColumn & 1列レイアウト & 1 & 100\% & ポートレットの表示エリアの100\%幅を占める1列表示。\\ + +VelocityOneColumn & 1列レイアウト & 1 & 100\% & \shortstack[l]{ポートレットの表示エリアの\\100\%幅を占める1列表示。}\\ \hline -VelocityTwoColumns & 2列レイアウト(50/50) & 2 & 50\%,50\% & ポートレットの表示エリアに左から50\%、50\%幅を割り当てる2列表示。\\ +VelocityTwoColumns & 2列レイアウト(50/50) & 2 & 50\%,50\% & \shortstack[l]{ポートレットの表示エリアに左から\\50\%、50\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns3366 & 2列レイアウト(33/66) & 2 & 33\%,66\% & ポートレットの表示エリアに左から33\%、66\%幅を割り当てる2列表示。\\ +VelocityTwoColumns3366 & 2列レイアウト(33/66) & 2 & 33\%,66\% & \shortstack[l]{ポートレットの表示エリアに左から\\33\%、66\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns2575 & 2列レイアウト(25/75) & 2 & 25\%,75\% & ポートレットの表示エリアに左から25\%、75\%幅を割り当てる2列表示。\\ +VelocityTwoColumns2575 & 2列レイアウト(25/75) & 2 & 25\%,75\% & \shortstack[l]{ポートレットの表示エリアに左から\\25\%、75\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns2080 & 2列レイアウト(20/80) & 2 & 20\%,80\% & ポートレットの表示エリアに左から20\%、80\%幅を割り当てる2列表示。\\ +VelocityTwoColumns2080 & 2列レイアウト(20/80) & 2 & 20\%,80\% & \shortstack[l]{ポートレットの表示エリアに左から\\20\%、80\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns1585 & 2列レイアウト(15/85) & 2 & 15\%,85\% & ポートレットの表示エリアに左から15\%、85\%幅を割り当てる2列表示。\\ +VelocityTwoColumns1585 & 2列レイアウト(15/85) & 2 & 15\%,85\% & \shortstack[l]{ポートレットの表示エリアに左から\\15\%、85\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns1090 & 2列レイアウト(10/90) & 2 & 10\%,90\% & ポートレットの表示エリアに左から10\%、90\%幅を割り当てる2列表示。\\ +VelocityTwoColumns1090 & 2列レイアウト(10/90) & 2 & 10\%,90\% & \shortstack[l]{ポートレットの表示エリアに左から\\10\%、90\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns595 & 2列レイアウト(5/95) & 2 & 5\%,95\% & ポートレットの表示エリアに左から5\%、95\%幅を割り当てる2列表示。\\ +VelocityTwoColumns595 & 2列レイアウト(5/95) & 2 & 5\%,95\% & \shortstack[l]{ポートレットの表示エリアに左から\\5\%、95\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns6633 & 2列レイアウト(66/33) & 2 & 66\%,33\% & ポートレットの表示エリアに左から66\%、33\%幅を割り当てる2列表示。\\ +VelocityTwoColumns6633 & 2列レイアウト(66/33) & 2 & 66\%,33\% & \shortstack[l]{ポートレットの表示エリアに左から\\66\%、33\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns7525 & 2列レイアウト(75/25) & 2 & 75\%,25\% & ポートレットの表示エリアに左から75\%、25\%幅を割り当てる2列表示。\\ +VelocityTwoColumns7525 & 2列レイアウト(75/25) & 2 & 75\%,25\% & \shortstack[l]{ポートレットの表示エリアに左から\\75\%、25\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns8020 & 2列レイアウト(80/20) & 2 & 80\%,20\% & ポートレットの表示エリアに左から80\%、20\%幅を割り当てる2列表示。\\ +VelocityTwoColumns8020 & 2列レイアウト(80/20) & 2 & 80\%,20\% & \shortstack[l]{ポートレットの表示エリアに左から\\80\%、20\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns8515 & 2列レイアウト(85/15) & 2 & 85\%,15\% & ポートレットの表示エリアに左から85\%、15\%幅を割り当てる2列表示。\\ +VelocityTwoColumns8515 & 2列レイアウト(85/15) & 2 & 85\%,15\% & \shortstack[l]{ポートレットの表示エリアに左から\\85\%、15\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns9010 & 2列レイアウト(90/10) & 2 & 90\%,10\% & ポートレットの表示エリアに左から90\%、10\%幅を割り当てる2列表示。\\ +VelocityTwoColumns9010 & 2列レイアウト(90/10) & 2 & 90\%,10\% & \shortstack[l]{ポートレットの表示エリアに左から\\90\%、10\%幅を割り当てる2列表示。}\\ \hline -VelocityTwoColumns955 & 2列レイアウト(95/5) & 2 & 95\%,5\% & ポートレットの表示エリアに左から95\%、5\%幅を割り当てる2列表示。\\ +VelocityTwoColumns955 & 2列レイアウト(95/5) & 2 & 95\%,5\% & \shortstack[l]{ポートレットの表示エリアに左から\\95\%、5\%幅を割り当てる2列表示。}\\ \hline -VelocityThreeColumns & 3列レイアウト(33/33/33) & 3 & 33\%,33\%,33\% & ポートレットの表示エリアに左から33\%、33\%、33\%幅を割り当てる3列表示。\\ +VelocityThreeColumns & 3列レイアウト(33/33/33) & 3 & 33\%,33\%,33\% & \shortstack[l]{ポートレットの表示エリアに左から\\33\%、33\%、33\%幅を割り当てる3列表示。}\\ \hline -VelocityThreeColumns206020 & 3列レイアウト(20/60/20) & 3 & 20\%,60\%,20\% & ポートレットの表示エリアに左から20\%、60\%、20\%幅を割り当てる3列表示。\\ +VelocityThreeColumns206020 & 3列レイアウト(20/60/20) & 3 & 20\%,60\%,20\% & \shortstack[l]{ポートレットの表示エリアに左から\\20\%、60\%、20\%幅を割り当てる3列表示。}\\ \hline -VelocityThreeColumns157015 & 3列レイアウト(15/70/15) & 3 & 15\%,70\%,15\% & ポートレットの表示エリアに左から15\%、70\%、15\%幅を割り当てる3列表示。\\ +VelocityThreeColumns157015 & 3列レイアウト(15/70/15) & 3 & 15\%,70\%,15\% & \shortstack[l]{ポートレットの表示エリアに左から\\15\%、70\%、15\%幅を割り当てる3列表示。}\\ \hline -VelocityFourColumns & 4列レイアウト & 4 & 20\%,30\%,30\%,20\% & ポートレットの表示エリアに左から20\%、30\%、30\%、20\%幅を割り当てる4列表示。\\ +VelocityFourColumns & 4列レイアウト & 4 & 20\%,30\%,30\%,20\% & \shortstack[l]{ポートレットの表示エリアに左から\\20\%、30\%、30\%、20\%幅を割り当てる\\4列表示。}\\ \hline \end{tabular} \end{center} @@ -137,7 +139,7 @@ たとえば、ActionLayoutPortlet を利用して新規にレイアウトを追加する場合は以下のような定義をwebapps/palportal/WEB-INF/apps/jetspeed-layouts/WEB-INF/portlet.xmlに追加します。 \begin{screen} - +\begin{footnotesize} \begin{verbatim} MyLayout @@ -178,8 +180,7 @@ \end{verbatim} - - +\end{footnotesize} \end{screen} portlet-name には追加する任意のレイアウトの ID を設定してください。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/login.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/login.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/login.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -34,8 +34,8 @@ 上記の順に login.jsp を探していき、存在したものを利用します。 -\<theme\> は、http://\<hostname\>/palportal/login/proxy へのアクセスする際にリクエストパラメータとしてorg.apache.jetspeed.login.themeの値として渡された文字列が利用されます。 -\<mediatype\>、\<language\>、\<country\> については、アクセスしたクライアント情報から取得した値を利用します。 +$<$theme$>$ は、http://$<$hostname$>$/palportal/login/proxy へのアクセスする際にリクエストパラメータとしてorg.apache.jetspeed.login.themeの値として渡された文字列が利用されます。 +$<$mediatype$>$、$<$language$>$、$<$country$>$ については、アクセスしたクライアント情報から取得した値を利用します。 \subsection{デザインの追加と変更} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/portlet-decorator.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/portlet-decorator.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/design/portlet-decorator.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -66,7 +66,7 @@ \subsection{ポートレットデコレータの追加} -新規にポートレットデコレータを追加したい場合は、上記のファイル群を作成し、webapps/palportal/decorations/portlet/\<mydesign\>以下に配置することで \<mydesign\> が有効になります。デコレータの追加には、ポータルの再起動は必要ありません。 +新規にポートレットデコレータを追加したい場合は、上記のファイル群を作成し、webapps/palportal/decorations/portlet/$<$mydesign$>$以下に配置することで $<$mydesign$>$ が有効になります。デコレータの追加には、ポータルの再起動は必要ありません。 追加したポートレットデコレータはサイトエディターから選択することができます。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/deploy.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/deploy.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/deploy.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -27,10 +27,11 @@ たとえば、helloworld.war を配備するには、 \begin{screen} +\begin{small} \begin{verbatim} $ cp /helloworld.war webapps/palportal/WEB-INF/deploy \end{verbatim} - +\end{small} \end{screen} とすることで、helloworld ポートレットが配備されます。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/portal.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/portal.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/portlet/portal.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -28,13 +28,12 @@ たとえば、呼び出し方法は以下のようになります。 \begin{screen} - +\begin{small} \begin{verbatim} RequestContext requestContext = (RequestContext) request .getAttribute(PortalReservedParameters.REQUEST_CONTEXT_ATTRIBUTE); \end{verbatim} - - +\end{small} \end{screen} 上記の方法を利用するためには、ポートレット開発において、ビルド時には jetspeed-api の jar ファイルが必要になります。 @@ -55,7 +54,7 @@ たとえば、PageManager などのコンポーネントを呼び出したい場合は、jetspeed-portlet.xml は以下のようになります。 \begin{screen} - +\begin{small} \begin{verbatim} \end{verbatim} - - - +\end{small} \end{screen} 呼び出したいコンポーネントは、js:service で記述します。 これらのコンポーネントは PortalServices により管理され、利用可能なコンポーネント一覧はwebapps/palportal/WEB-INF/assembly/jetspeed-services.xmlで定義されています。 jetspeed-services.xml は以下の通りです。 -\begin{screen} - +%\begin{screen} +\begin{framed} +\begin{footnotesize} \begin{verbatim} - @@ -105,7 +103,7 @@ - + @@ -117,13 +115,13 @@ - + - + - + @@ -153,19 +151,19 @@ - + - + - + - + @@ -186,16 +184,16 @@ - + - + - + @@ -204,21 +202,20 @@ \end{verbatim} +\end{footnotesize} +%\end{screen} +\end{framed} - -\end{screen} - ポートレット内での呼び出し方法は、PortletContext から取得します。 たとえば、PageManager は以下のように取得します。 \begin{screen} - +\begin{small} \begin{verbatim} PageManager pageManager = (PageManager) getPortletContext() .getAttribute(CommonPortletServices.CPS_PAGE_MANAGER_COMPONENT); \end{verbatim} - - +\end{small} \end{screen} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/authfilter.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/authfilter.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/authfilter.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -67,7 +67,7 @@ web.xml に以下のように記述します。 \begin{screen} - +\begin{small} \begin{verbatim} ... @@ -94,9 +94,7 @@ ... \end{verbatim} - - - +\end{small} \end{screen} 設定を保存し、ポータルを再起動後に有効になります。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/config.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/config.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/config.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -42,7 +42,7 @@ これにより、複数の認証方法が適用することができます。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -54,15 +54,14 @@ DefaultAuthenticator \end{verbatim} - - +\end{small} \end{screen} AuthenticationProvider は、ポータル上で利用する認証プロバイダーを設定しています。 以下の例では、ユーザー情報の管理にデータベースを利用する認証方法を設定しています。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -77,16 +76,13 @@ \end{verbatim} - - - - +\end{small} \end{screen} AuthorizationProvider はパーミッションを適用するために使用される SecurityPolicies を設定します。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -97,9 +93,7 @@ false \end{verbatim} - - - +\end{small} \end{screen} \subsubsection{security-spi.xml} @@ -118,9 +112,17 @@ \hline コンポーネント名 & 説明\\ \hline\hline -org.apache.jetspeed.security.spi.CredentialHandler & CredentialHandler は資格に関する操作を内包します。その処理は、PasswordCredentialProvider や InternalPasswordCredentialInterceptor により定義されたパスワード検証処理の実装を持ちます。\\ +org.apache.jetspeed.security.spi.CredentialHandler & +\shortstack[l]{ + CredentialHandler は資格に関する操作を内包します。\\ + その処理は、PasswordCredentialProvider や\\ + InternalPasswordCredentialInterceptor により\\ + 定義されたパスワード検証処理の実装を持ちます。}\\ \hline -org.apache.jetspeed.security.spi.UserSecurityHandler & UserSecurityHandler はユーザー主体まわりの操作を内包します。\\ +org.apache.jetspeed.security.spi.UserSecurityHandler & +\shortstack[l]{ + UserSecurityHandler はユーザー主体まわりの操作を\\ + 内包します。}\\ \hline \end{tabular} \end{center} @@ -139,11 +141,20 @@ \hline コンポーネント名 & 説明\\ \hline\hline -org.apache.jetspeed.security.spi.RoleSecurityHandler & RoleSecurityHandler はロール主体まわりの処理を内包しています。\\ +org.apache.jetspeed.security.spi.RoleSecurityHandler & +\shortstack[l]{ + RoleSecurityHandler はロール主体まわりの処理を\\ + 内包しています。}\\ \hline -org.apache.jetspeed.security.spi.GroupSecurityHandler & GroupSecurityHandler はグループ主体まわりの処理を内包しています。\\ +org.apache.jetspeed.security.spi.GroupSecurityHandler & +\shortstack[l]{ + GroupSecurityHandler はグループ主体まわりの処理を\\ + 内包しています。}\\ \hline -org.apache.jetspeed.security.spi.SecurityMappingHandler & SecurityMappingHandler は主体間のマッピング操作を内包しています。\\ +org.apache.jetspeed.security.spi.SecurityMappingHandler & +\shortstack[l]{ + SecurityMappingHandler は主体間のマッピング操作を\\ + 内包しています。}\\ \hline \end{tabular} \end{center} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/guide.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/guide.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/guide.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -64,13 +64,27 @@ \hline コンポーネント & 説明\\ \hline\hline -DefaultLoginModule & PALポータル標準の LoginModule の実装で、UserManager の authenticate() メソッドを利用しています。そのメソッドにより、設定された様々な AuthenticationProvider に対して、認証を提供することができます。\\ +DefaultLoginModule & +\shortstack[l]{ + PALポータル標準の LoginModule の実装で、UserManager の\\ + authenticate() メソッドを利用しています。そのメソッドにより、\\ + 設定された様々な AuthenticationProvider に対して、\\ + 認証を提供することができます。}\\ \hline -UserManager & 認証とユーザー管理を提供するコンポーネントです。 AuthenticationProviderProxy や SecurityProvider を通して、様々な AuthenticationProvider が利用することができます。\\ +UserManager & +\shortstack[l]{ + 認証とユーザー管理を提供するコンポーネントです。\\ + AuthenticationProviderProxy や SecurityProvider を通して、\\ + 様々な AuthenticationProvider が利用することができます。}\\ \hline -SecurityProvider & SPI の実装で利用可能なセキュリティプロバイダーを提供します。\\ +SecurityProvider & +SPI の実装で利用可能なセキュリティプロバイダーを提供します。\\ \hline -AuthenticationProviderProxy & 複数の AuthenticationProvider 実装のプロキシとして動作します。 AuthenticationProviderProx は、認証およびユーザー管理のために適切な AuthenticationProvider を呼び出すことができます。\\ +AuthenticationProviderProxy & +\shortstack[l]{ + 複数の AuthenticationProvider 実装のプロキシとして動作します\\ + AuthenticationProviderProx は、認証およびユーザー管理のために\\ + 適切なAuthenticationProvider を呼び出すことができます。}\\ \hline \end{tabular} \end{center} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/login.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/login.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/login.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -57,21 +57,20 @@ login.conf の内容は以下の通りです。 \begin{screen} - +\begin{small} \begin{verbatim} Jetspeed { org.apache.jetspeed.security.impl.DefaultLoginModule required; }; \end{verbatim} - - +\end{small} \end{screen} この設定を上書きして変更するためには、webapps/palportal/WEB-INF/classesに login.conf を作成します。 login.conf のファイル名などを変更したい場合などは、security-providers.xmlで login.conf を指定しているので、その値を変更してください。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -86,8 +85,7 @@ \end{verbatim} - - +\end{small} \end{screen} AuthenticationProvider は、システムプロパティの java.security.auth.login.config の値を security-providers.xml で指定した login.conf のパスを設定して、使用される LoginModule を設定します。 @@ -116,13 +114,29 @@ \hline クラス名 & 説明\\ \hline\hline -org.apache.jetspeed.security.impl.DefaultLoginModule & javax.security.auth.spi.LoginModule の実装です。 DefaultLoginModule での認証確認は、UserManager を利用しています。\\ +org.apache.jetspeed.security.impl.DefaultLoginModule & +\shortstack[l]{ + javax.security.auth.spi.LoginModule の実装です。\\ + DefaultLoginModule での認証確認は、UserManager を\\ + 利用しています。}\\ \hline -org.apache.jetspeed.security.LoginModuleProxy & UserManager を DefaultLoginModule で利用するためのユーティリティコンポーネントです。\\ +org.apache.jetspeed.security.LoginModuleProxy & +\shortstack[l]{ + UserManager を DefaultLoginModule で利用するための\\ + ユーティリティコンポーネントです。}\\ \hline -org.apache.jetspeed.security.User & User は javax.security.auth.Subject と java.util.prefs.Preferences を保持するインターフェースです。 PALポータルでは、UserPrincipal、RolePrincipal、GroupPrincipal の 3 種類の主体を扱います。\\ +org.apache.jetspeed.security.User & +\shortstack[l]{ + User は javax.security.auth.Subject と\\ + java.util.prefs.Preferences を保持するインターフェースです。\\ + PALポータルでは、UserPrincipal、RolePrincipal、\\ + GroupPrincipal の 3 種類の主体を扱います。}\\ \hline -org.apache.jetspeed.security.UserManager & ユーザーに関する操作を提供するインターフェースです。このインターフェースは、様々な SPI を集約したもので、SPI で定義された機能を利用することができます。\\ +org.apache.jetspeed.security.UserManager & +\shortstack[l]{ + ユーザーに関する操作を提供するインターフェースです。\\ + このインターフェースは、様々な SPI を集約したもので、\\ + SPI で定義された機能を利用することができます。}\\ \hline \end{tabular} \end{center} @@ -130,4 +144,3 @@ - Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/transferfilter.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/transferfilter.tex 2009-01-14 06:26:25 UTC (rev 1667) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/security/transferfilter.tex 2009-01-14 08:57:54 UTC (rev 1668) @@ -75,7 +75,7 @@ web.xml に以下のように記述します。 \begin{screen} - +\begin{small} \begin{verbatim} ... @@ -101,10 +101,7 @@ ... \end{verbatim} - - - - +\end{small} \end{screen} 設定を保存し、ポータルを再起動後に有効になります。 From svnnotify @ sourceforge.jp Sat Jan 17 07:42:45 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:42:45 +0900 Subject: [pal-cvs 3934] [1669] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232145765.386182.15919.nullmailer@users.sourceforge.jp> Revision: 1669 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1669 Author: shinsuke Date: 2009-01-17 07:42:45 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- scheduler/trunk/pom.xml -------------- next part -------------- Modified: scheduler/trunk/pom.xml =================================================================== --- scheduler/trunk/pom.xml 2009-01-14 08:57:54 UTC (rev 1668) +++ scheduler/trunk/pom.xml 2009-01-16 22:42:45 UTC (rev 1669) @@ -160,7 +160,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 07:44:52 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:44:52 +0900 Subject: [pal-cvs 3935] [1670] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232145892.848122.17539.nullmailer@users.sourceforge.jp> Revision: 1670 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1670 Author: shinsuke Date: 2009-01-17 07:44:52 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- addresslist/trunk/pom.xml -------------- next part -------------- Modified: addresslist/trunk/pom.xml =================================================================== --- addresslist/trunk/pom.xml 2009-01-16 22:42:45 UTC (rev 1669) +++ addresslist/trunk/pom.xml 2009-01-16 22:44:52 UTC (rev 1670) @@ -160,7 +160,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 07:46:32 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:46:32 +0900 Subject: [pal-cvs 3936] [1671] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232145992.360598.19627.nullmailer@users.sourceforge.jp> Revision: 1671 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1671 Author: shinsuke Date: 2009-01-17 07:46:32 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- board/trunk/pom.xml -------------- next part -------------- Modified: board/trunk/pom.xml =================================================================== --- board/trunk/pom.xml 2009-01-16 22:44:52 UTC (rev 1670) +++ board/trunk/pom.xml 2009-01-16 22:46:32 UTC (rev 1671) @@ -160,7 +160,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 07:48:54 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:48:54 +0900 Subject: [pal-cvs 3937] [1672] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232146134.590467.21177.nullmailer@users.sourceforge.jp> Revision: 1672 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1672 Author: shinsuke Date: 2009-01-17 07:48:54 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- bookmark/trunk/pom.xml -------------- next part -------------- Modified: bookmark/trunk/pom.xml =================================================================== --- bookmark/trunk/pom.xml 2009-01-16 22:46:32 UTC (rev 1671) +++ bookmark/trunk/pom.xml 2009-01-16 22:48:54 UTC (rev 1672) @@ -162,7 +162,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 07:51:20 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:51:20 +0900 Subject: [pal-cvs 3938] [1673] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232146280.147701.23772.nullmailer@users.sourceforge.jp> Revision: 1673 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1673 Author: shinsuke Date: 2009-01-17 07:51:20 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- chat/trunk/pom.xml -------------- next part -------------- Modified: chat/trunk/pom.xml =================================================================== --- chat/trunk/pom.xml 2009-01-16 22:48:54 UTC (rev 1672) +++ chat/trunk/pom.xml 2009-01-16 22:51:20 UTC (rev 1673) @@ -119,7 +119,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT From svnnotify @ sourceforge.jp Sat Jan 17 07:52:39 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:52:39 +0900 Subject: [pal-cvs 3939] [1674] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232146359.409662.25257.nullmailer@users.sourceforge.jp> Revision: 1674 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1674 Author: shinsuke Date: 2009-01-17 07:52:39 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- googlegadgets/trunk/pom.xml -------------- next part -------------- Modified: googlegadgets/trunk/pom.xml =================================================================== --- googlegadgets/trunk/pom.xml 2009-01-16 22:51:20 UTC (rev 1673) +++ googlegadgets/trunk/pom.xml 2009-01-16 22:52:39 UTC (rev 1674) @@ -160,7 +160,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 07:54:22 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 07:54:22 +0900 Subject: [pal-cvs 3940] [1675] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232146462.715054.26698.nullmailer@users.sourceforge.jp> Revision: 1675 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1675 Author: shinsuke Date: 2009-01-17 07:54:22 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- netvibes-widgets/trunk/pom.xml -------------- next part -------------- Modified: netvibes-widgets/trunk/pom.xml =================================================================== --- netvibes-widgets/trunk/pom.xml 2009-01-16 22:52:39 UTC (rev 1674) +++ netvibes-widgets/trunk/pom.xml 2009-01-16 22:54:22 UTC (rev 1675) @@ -160,7 +160,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 08:46:32 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 08:46:32 +0900 Subject: [pal-cvs 3941] [1676] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232149592.779771.14209.nullmailer@users.sourceforge.jp> Revision: 1676 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1676 Author: shinsuke Date: 2009-01-17 08:46:32 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- notepad/trunk/pom.xml -------------- next part -------------- Modified: notepad/trunk/pom.xml =================================================================== --- notepad/trunk/pom.xml 2009-01-16 22:54:22 UTC (rev 1675) +++ notepad/trunk/pom.xml 2009-01-16 23:46:32 UTC (rev 1676) @@ -162,7 +162,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 08:47:00 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 08:47:00 +0900 Subject: [pal-cvs 3942] [1677] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232149620.748347.14378.nullmailer@users.sourceforge.jp> Revision: 1677 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1677 Author: shinsuke Date: 2009-01-17 08:47:00 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- timecard/trunk/pom.xml -------------- next part -------------- Modified: timecard/trunk/pom.xml =================================================================== --- timecard/trunk/pom.xml 2009-01-16 23:46:32 UTC (rev 1676) +++ timecard/trunk/pom.xml 2009-01-16 23:47:00 UTC (rev 1677) @@ -166,7 +166,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 08:47:18 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 08:47:18 +0900 Subject: [pal-cvs 3943] [1678] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232149638.137651.14483.nullmailer@users.sourceforge.jp> Revision: 1678 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1678 Author: shinsuke Date: 2009-01-17 08:47:18 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- todolist/trunk/pom.xml -------------- next part -------------- Modified: todolist/trunk/pom.xml =================================================================== --- todolist/trunk/pom.xml 2009-01-16 23:47:00 UTC (rev 1677) +++ todolist/trunk/pom.xml 2009-01-16 23:47:18 UTC (rev 1678) @@ -160,7 +160,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 08:47:33 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 08:47:33 +0900 Subject: [pal-cvs 3944] [1679] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232149653.557181.14590.nullmailer@users.sourceforge.jp> Revision: 1679 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1679 Author: shinsuke Date: 2009-01-17 08:47:33 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- userinfo/trunk/pom.xml -------------- next part -------------- Modified: userinfo/trunk/pom.xml =================================================================== --- userinfo/trunk/pom.xml 2009-01-16 23:47:18 UTC (rev 1678) +++ userinfo/trunk/pom.xml 2009-01-16 23:47:33 UTC (rev 1679) @@ -103,7 +103,7 @@ jp.sf.pal - userinfo-blank-plugin + userinfo-palportal-plugin 1.0-PR2-SNAPSHOT runtime @@ -200,7 +200,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc5 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Sat Jan 17 08:47:45 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 17 Jan 2009 08:47:45 +0900 Subject: [pal-cvs 3945] [1680] use sa-struts-portlet 1.0.0-SNAPSHOT. Message-ID: <1232149665.965280.14690.nullmailer@users.sourceforge.jp> Revision: 1680 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1680 Author: shinsuke Date: 2009-01-17 08:47:45 +0900 (Sat, 17 Jan 2009) Log Message: ----------- use sa-struts-portlet 1.0.0-SNAPSHOT. Modified Paths: -------------- vfs-portlets/trunk/pom.xml -------------- next part -------------- Modified: vfs-portlets/trunk/pom.xml =================================================================== --- vfs-portlets/trunk/pom.xml 2009-01-16 23:47:33 UTC (rev 1679) +++ vfs-portlets/trunk/pom.xml 2009-01-16 23:47:45 UTC (rev 1680) @@ -193,7 +193,7 @@ org.seasar.sastruts sa-struts-portlet - 1.0.0-rc4 + 1.0.0-SNAPSHOT org.apache.geronimo.specs From svnnotify @ sourceforge.jp Tue Jan 20 10:13:58 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 10:13:58 +0900 Subject: [pal-cvs 3946] [1681] allow you to edit one event for a repeat event, and bug fixes. Message-ID: <1232414038.945301.19568.nullmailer@users.sourceforge.jp> Revision: 1681 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1681 Author: shinsuke Date: 2009-01-20 10:13:58 +0900 (Tue, 20 Jan 2009) Log Message: ----------- allow you to edit one event for a repeat event, and bug fixes. Modified Paths: -------------- scheduler/trunk/src/main/config/erd/scheduler.erd scheduler/trunk/src/main/config/sql/scheduler.ddl scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsbhv/BsEventScheduleBhv.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/BsEventSchedule.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/dbmeta/EventScheduleDbm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/bs/BsEventScheduleCB.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/AbstractBsEventScheduleCQ.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/BsEventScheduleCQ.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/ciq/EventScheduleCIQ.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/OnetimeScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/RepeatScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java scheduler/trunk/src/main/resources/application.properties scheduler/trunk/src/main/resources/application_ja.properties scheduler/trunk/src/main/webapp/WEB-INF/db/scheduler.1.log.db scheduler/trunk/src/main/webapp/WEB-INF/db/scheduler.data.db scheduler/trunk/src/main/webapp/WEB-INF/jetspeed-portlet.xml scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp -------------- next part -------------- Modified: scheduler/trunk/src/main/config/erd/scheduler.erd =================================================================== --- scheduler/trunk/src/main/config/erd/scheduler.erd 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/config/erd/scheduler.erd 2009-01-20 01:13:58 UTC (rev 1681) @@ -1152,6 +1152,22 @@ + parent_id + Parent ID + + BIGINT + Integer + true + -5 + + 20 + false + false + + false + + + created_time Created Time @@ -1181,7 +1197,7 @@ updated_time Updated Time - + 10 true false @@ -1203,7 +1219,7 @@ deleted_time Deleted Time - + 10 false false @@ -1480,7 +1496,7 @@ created_time Created Time - + 10 true false @@ -1502,7 +1518,7 @@ updated_time Updated Time - + 10 true false @@ -1524,7 +1540,7 @@ deleted_time Deleted Time - + 10 false false @@ -1620,7 +1636,7 @@ created_time Created Time - + 10 true false @@ -1642,7 +1658,7 @@ updated_time Updated Time - + 10 true false @@ -1664,7 +1680,7 @@ deleted_time Deleted Time - + 10 false false Modified: scheduler/trunk/src/main/config/sql/scheduler.ddl =================================================================== --- scheduler/trunk/src/main/config/sql/scheduler.ddl 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/config/sql/scheduler.ddl 2009-01-20 01:13:58 UTC (rev 1681) @@ -115,6 +115,7 @@ end_time TIME, secret VARCHAR(1) DEFAULT 'F' NOT NULL, type VARCHAR(10) NOT NULL, + parent_id BIGINT(20), created_time TIMESTAMP NOT NULL, created_by VARCHAR(255) NOT NULL, updated_time TIMESTAMP NOT NULL, Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -1,6 +1,7 @@ package jp.sf.pal.scheduler; public class SchedulerConstants { + public static final int EDIT_ONE_DAY_MODE = 5; public static final String ONETIME_SCHEDULE = "ONETIME"; @@ -17,4 +18,12 @@ public static final String SATURDAY_COLOR = "#CCFFFF"; public static final String TODAY_COLOR = "#CCFFCC"; + + public static final String REPEAT_TYPE_DELETE = "_DELETE_"; + + public static final String REPEAT_TYPE_WEEKLY = "WEEKLY"; + + public static final String REPEAT_TYPE_MONTHLY = "MONTHLY"; + + public static final String REPEAT_TYPE_YEARLY = "YEARLY"; } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -164,7 +164,7 @@ allDayEventInWeekItems = new ArrayList>>(7); Calendar cal = calendarForm.getTargetCalendar(); weekDayItems = new ArrayList>(7); - Map indexMap = new HashMap(7); + Map indexMap = new HashMap(14); SimpleDateFormat sdf = new SimpleDateFormat("MM/dd(E)");// TODO i18n for (int i = 0; i < 7; i++) { calendarList.add(cal); @@ -208,6 +208,7 @@ cal = CalendarUtil.getNext(cal); indexMap.put(year + "-" + month + "-" + date, i); + indexMap.put(i, year + "-" + month + "-" + date); List>> eventInDayItems = new ArrayList>>( 24); @@ -221,16 +222,16 @@ Integer facilityId = Integer.parseInt(calendarForm.facilityId); facility = facilityService.getFacility(facilityId); - List ssmList = onetimeScheduleService + List fsmList1 = onetimeScheduleService .getFacilityScheduleMappingList(facilityId, calendarList.get(0) .getTime(), calendarList.get(6).getTime()); - SchedulerUtil.createFacilityWeekForOnetime(indexMap, ssmList, + SchedulerUtil.createFacilityWeekForOnetime(indexMap, fsmList1, eventInWeekItems, allDayEventInWeekItems); - List rsmList = repeatScheduleService + List fsmList2 = repeatScheduleService .getFacilityScheduleMappingList(facilityId, calendarList.get(0) .getTime(), calendarList.get(6).getTime()); - SchedulerUtil.createFacilityWeekForRepeat(indexMap, rsmList, + SchedulerUtil.createFacilityWeekForRepeat(indexMap, fsmList2, eventInWeekItems, allDayEventInWeekItems, weekDayItems); return "facilityweek.jsp"; @@ -293,7 +294,7 @@ Calendar startCal = cal; weekDayItems = new ArrayList>(7); - Map indexMap = new HashMap(7); + Map indexMap = new HashMap(14); SimpleDateFormat sdf = new SimpleDateFormat("MM/dd(E)");// TODO i18n for (int i = 0; i < 7; i++) { int year = CalendarUtil.getYear(cal); @@ -335,6 +336,7 @@ cal = CalendarUtil.getNext(cal); indexMap.put(year + "-" + month + "-" + date, i); + indexMap.put(i, year + "-" + month + "-" + date); } Calendar endCal = cal; @@ -365,7 +367,7 @@ } private Map createWeekScheduleMap(Facility facility, - Map indexMap, Calendar startCal, Calendar endCal) { + Map indexMap, Calendar startCal, Calendar endCal) { Map memberMap = new HashMap(2); memberMap.put("facility", facility); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -2,6 +2,7 @@ import java.io.Serializable; import java.util.ArrayList; +import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -13,10 +14,13 @@ import jp.sf.pal.scheduler.common.dxo.PagerDxo; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.DateUtil; import jp.sf.pal.scheduler.common.util.SAStrutsUtil; import jp.sf.pal.scheduler.db.exentity.EventSchedule; +import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; import jp.sf.pal.scheduler.db.exentity.Facility; import jp.sf.pal.scheduler.db.exentity.FacilityGroup; +import jp.sf.pal.scheduler.db.exentity.FacilityScheduleMapping; import jp.sf.pal.scheduler.db.exentity.UserInfo; import jp.sf.pal.scheduler.dxo.OnetimeScheduleDxo; import jp.sf.pal.scheduler.form.user.facility.OnetimeScheduleForm; @@ -24,6 +28,7 @@ import jp.sf.pal.scheduler.service.FacilityGroupService; import jp.sf.pal.scheduler.service.FacilityService; import jp.sf.pal.scheduler.service.OnetimeScheduleService; +import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.service.UserInfoService; import jp.sf.pal.scheduler.util.SchedulerUtil; @@ -54,6 +59,8 @@ private OnetimeScheduleService onetimeScheduleService; + private RepeatScheduleService repeatScheduleService; + private UserInfoService userInfoService; private FacilityService facilityService; @@ -197,6 +204,18 @@ return "edit.jsp"; } + @Execute(validator = false, input = "error.jsp", urlPattern = "editpageforonetime/{returnType}//{facilityId}/{year}/{month}/{date}/{parentId}/{tYear}/{tMonth}/{tDate}") + public String editpageforonetime() { + onetimeScheduleForm.mode = SchedulerConstants.EDIT_ONE_DAY_MODE; + + // update edit page + loadDetailsPageParameters(); + + loadRepeatEventSchedule(); + + return "edit.jsp"; + } + @Execute(validator = false, input = "error.jsp") public String editpagefromconfirm() { onetimeScheduleForm.mode = CommonConstants.EDIT_MODE; @@ -293,6 +312,43 @@ } @Execute(validator = true, input = "edit.jsp") + public String createfromrepeatevent() { + if (!SchedulerUtil.compare(onetimeScheduleForm.getStartDate(), + onetimeScheduleForm.getStartTime(), onetimeScheduleForm + .getEndDate(), onetimeScheduleForm.getEndTime())) { + throw new ActionMessagesException("errors.invalid_end_date"); + } + try { + EventSchedule eventSchedule = createEventSchedule(); + onetimeScheduleService.store(eventSchedule); + + // set a delete event + EventSchedule deletedEventSchedule = createDeletedEventSchedule(eventSchedule); + repeatScheduleService.store(deletedEventSchedule); + + SAStrutsUtil.addMessage(request, + "success.create_eventSchedule_for_repeat"); + + onetimeScheduleForm.id = String.valueOf(eventSchedule.getId()); + onetimeScheduleForm.mode = CommonConstants.CONFIRM_MODE; + + // update edit page + loadDetailsPageParameters(); + + loadEventSchedule(); + + return "confirm.jsp"; + } catch (ActionMessagesException e) { + log.error(e.getMessage(), e); + throw e; + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException( + "errors.failed_to_create_eventSchedule_for_repeat"); + } + } + + @Execute(validator = true, input = "edit.jsp") public String update() { if (!SchedulerUtil.compare(onetimeScheduleForm.getStartDate(), onetimeScheduleForm.getStartTime(), onetimeScheduleForm @@ -530,6 +586,40 @@ } } + private void loadRepeatEventSchedule() { + + EventSchedule eventSchedule = repeatScheduleService.getEventSchedule( + Long.parseLong(onetimeScheduleForm.parentId), null); + if (eventSchedule == null) { + // throw an exception + throw new ActionMessagesException( + "errors.could_not_find_eventSchedule", + new Object[] { onetimeScheduleForm.parentId }); + } + onetimeScheduleDxo.convertFromEventScheduleToForm(eventSchedule, + onetimeScheduleForm); + + // update for one-time event + onetimeScheduleForm.startDateY = onetimeScheduleForm.tYear; + onetimeScheduleForm.startDateM = onetimeScheduleForm.tMonth; + onetimeScheduleForm.startDateD = onetimeScheduleForm.tDate; + onetimeScheduleForm.endDateY = onetimeScheduleForm.tYear; + onetimeScheduleForm.endDateM = onetimeScheduleForm.tMonth; + onetimeScheduleForm.endDateD = onetimeScheduleForm.tDate; + onetimeScheduleForm.parentId = onetimeScheduleForm.id; + onetimeScheduleForm.id = null; + + String userId = request.getRemoteUser(); + editable = false; + if (userId != null) { + for (String uid : onetimeScheduleForm.selectedUsers) { + if (userId.equals(uid)) { + editable = true; + } + } + } + } + private EventSchedule createEventSchedule() { String userId = request.getRemoteUser(); EventSchedule eventSchedule; @@ -548,6 +638,52 @@ return eventSchedule; } + private EventSchedule createDeletedEventSchedule(EventSchedule eventSchedule) { + String userId = request.getRemoteUser(); + EventSchedule deletedEventSchedule = new EventSchedule(); + deletedEventSchedule.setParentId(Long + .parseLong(onetimeScheduleForm.parentId)); + deletedEventSchedule.setType(SchedulerConstants.REPEAT_TYPE_DELETE); + Date d = DateUtil.get( + Integer.parseInt(onetimeScheduleForm.tYear) - 1900, Integer + .parseInt(onetimeScheduleForm.tMonth) - 1, Integer + .parseInt(onetimeScheduleForm.tDate)); + deletedEventSchedule.setStartDate(d); + deletedEventSchedule.setEndDate(d); + deletedEventSchedule.setUpdatedBy(userId); + deletedEventSchedule.setCreatedBy(userId); + deletedEventSchedule.setTitle("DELETE"); + + // mapping + List esmList = eventSchedule + .getEventScheduleMappingList(); + if (esmList != null) { + List newEsmList = new ArrayList(); + for (EventScheduleMapping esm : esmList) { + EventScheduleMapping newEsm = new EventScheduleMapping(); + newEsm.setUserId(esm.getUserId()); + newEsm.setScheduleId(esm.getScheduleId()); + newEsmList.add(newEsm); + } + deletedEventSchedule.setEventScheduleMappingList(newEsmList); + } + + List fsmList = eventSchedule + .getFacilityScheduleMappingList(); + if (fsmList != null) { + List newFsmList = new ArrayList(); + for (FacilityScheduleMapping fsm : fsmList) { + FacilityScheduleMapping newFsm = new FacilityScheduleMapping(); + newFsm.setFacilityId(fsm.getFacilityId()); + newFsm.setScheduleId(fsm.getScheduleId()); + newFsmList.add(newFsm); + } + deletedEventSchedule.setFacilityScheduleMappingList(newFsmList); + } + + return deletedEventSchedule; + } + private void loadListPageParameters() { } @@ -753,4 +889,13 @@ this.facilityGroupService = facilityGroupService; } + public RepeatScheduleService getRepeatScheduleService() { + return repeatScheduleService; + } + + public void setRepeatScheduleService( + RepeatScheduleService repeatScheduleService) { + this.repeatScheduleService = repeatScheduleService; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -2,6 +2,7 @@ import java.io.Serializable; import java.util.ArrayList; +import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -13,10 +14,13 @@ import jp.sf.pal.scheduler.common.dxo.PagerDxo; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.DateUtil; import jp.sf.pal.scheduler.common.util.SAStrutsUtil; import jp.sf.pal.scheduler.db.exentity.EventSchedule; +import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; import jp.sf.pal.scheduler.db.exentity.Facility; import jp.sf.pal.scheduler.db.exentity.FacilityGroup; +import jp.sf.pal.scheduler.db.exentity.FacilityScheduleMapping; import jp.sf.pal.scheduler.db.exentity.UserInfo; import jp.sf.pal.scheduler.dxo.RepeatScheduleDxo; import jp.sf.pal.scheduler.form.user.facility.RepeatScheduleForm; @@ -117,16 +121,26 @@ + repeatScheduleForm.facilityId + "/" + repeatScheduleForm.year + "/" + repeatScheduleForm.month + "/" + repeatScheduleForm.date + "?redirect=true"; - // return displayList(); } @Execute(validator = false, input = "error.jsp") + public String editpageforonetime() { + return "/user/facility/onetimeSchedule/editpageforonetime/" + + repeatScheduleForm.returnType + "/" + + repeatScheduleForm.facilityId + "/" + repeatScheduleForm.year + + "/" + repeatScheduleForm.month + "/" + + repeatScheduleForm.date + "/" + repeatScheduleForm.id + "/" + + repeatScheduleForm.tYear + "/" + repeatScheduleForm.tMonth + + "/" + repeatScheduleForm.tDate + "?redirect=true"; + } + + @Execute(validator = false, input = "error.jsp") public String editagain() { editable = true; return "edit.jsp"; } - @Execute(validator = false, input = "error.jsp", urlPattern = "confirmpage/{mode}/{id}/{returnType}/{facilityId}/{year}/{month}/{date}") + @Execute(validator = false, input = "error.jsp", urlPattern = "confirmpage/{mode}/{id}/{returnType}/{facilityId}/{year}/{month}/{date}/{tYear}/{tMonth}/{tDate}") public String confirmpage() { if (repeatScheduleForm.mode != CommonConstants.CONFIRM_MODE) { throw new ActionMessagesException("errors.invalid.mode", @@ -348,6 +362,43 @@ } @Execute(validator = false, input = "error.jsp") + public String deleteitonly() { + try { + EventSchedule eventSchedule = repeatScheduleService + .getEventSchedule(Long.parseLong(repeatScheduleForm.id), + null); + if (eventSchedule == null) { + // throw an exception + throw new ActionMessagesException( + "errors.could_not_find_eventSchedule", + new Object[] { repeatScheduleForm.id }); + } + + EventSchedule deletedEventSchedule = createDeletedEventSchedule(eventSchedule); + repeatScheduleService.store(deletedEventSchedule); + + SAStrutsUtil.addMessage(request, + "success.delete_this_eventSchedule_only"); + + // reset edit page + loadListPageParameters(); + + return "/user/schedule/calendar/" + repeatScheduleForm.returnType + + "/" + repeatScheduleForm.year + "/" + + repeatScheduleForm.month + "/" + repeatScheduleForm.date + + "?redirect=true"; + // return displayList(); + } catch (ActionMessagesException e) { + log.error(e.getMessage(), e); + throw e; + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException( + "errors.failed_to_delete_this_eventSchedule_only"); + } + } + + @Execute(validator = false, input = "error.jsp") public String selectusers() { if (repeatScheduleForm.userGroup == null) { String userId = request.getRemoteUser(); @@ -532,6 +583,10 @@ eventSchedule = repeatScheduleService.getEventSchedule(Long .parseLong(repeatScheduleForm.id), null); eventSchedule.setUpdatedBy(userId); + // TODO type format + if (!eventSchedule.getType().equals(repeatScheduleForm.type)) { + eventSchedule.setUpdatedType(true); + } } else { eventSchedule = new EventSchedule(); eventSchedule.setUpdatedBy(userId); @@ -543,6 +598,51 @@ return eventSchedule; } + private EventSchedule createDeletedEventSchedule(EventSchedule eventSchedule) { + String userId = request.getRemoteUser(); + EventSchedule deletedEventSchedule = new EventSchedule(); + deletedEventSchedule.setParentId(Long.parseLong(repeatScheduleForm.id)); + deletedEventSchedule.setType(SchedulerConstants.REPEAT_TYPE_DELETE); + Date d = DateUtil.get( + Integer.parseInt(repeatScheduleForm.tYear) - 1900, Integer + .parseInt(repeatScheduleForm.tMonth) - 1, Integer + .parseInt(repeatScheduleForm.tDate)); + deletedEventSchedule.setStartDate(d); + deletedEventSchedule.setEndDate(d); + deletedEventSchedule.setUpdatedBy(userId); + deletedEventSchedule.setCreatedBy(userId); + deletedEventSchedule.setTitle("DELETE"); + + // mapping + List esmList = eventSchedule + .getEventScheduleMappingList(); + if (esmList != null) { + List newEsmList = new ArrayList(); + for (EventScheduleMapping esm : esmList) { + EventScheduleMapping newEsm = new EventScheduleMapping(); + newEsm.setUserId(esm.getUserId()); + newEsm.setScheduleId(esm.getScheduleId()); + newEsmList.add(newEsm); + } + deletedEventSchedule.setEventScheduleMappingList(newEsmList); + } + + List fsmList = eventSchedule + .getFacilityScheduleMappingList(); + if (fsmList != null) { + List newFsmList = new ArrayList(); + for (FacilityScheduleMapping fsm : fsmList) { + FacilityScheduleMapping newFsm = new FacilityScheduleMapping(); + newFsm.setFacilityId(fsm.getFacilityId()); + newFsm.setScheduleId(fsm.getScheduleId()); + newFsmList.add(newFsm); + } + deletedEventSchedule.setFacilityScheduleMappingList(newFsmList); + } + + return deletedEventSchedule; + } + private void loadListPageParameters() { } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -161,7 +161,7 @@ Calendar cal = calendarForm.getTargetCalendar(); // calendarList.add(cal); weekDayItems = new ArrayList>(7); - Map indexMap = new HashMap(7); + Map indexMap = new HashMap(14); SimpleDateFormat sdf = new SimpleDateFormat("MM/dd(E)");// TODO i18n for (int i = 0; i < 7; i++) { calendarList.add(cal); @@ -206,6 +206,7 @@ cal = CalendarUtil.getNext(cal); indexMap.put(year + "-" + month + "-" + date, i); + indexMap.put(i, year + "-" + month + "-" + date); List>> eventInDayItems = new ArrayList>>( 24); @@ -301,8 +302,9 @@ Calendar startCal = cal; weekDayItems = new ArrayList>(7); - Map indexMap = new HashMap(7); + Map indexMap = new HashMap(14); SimpleDateFormat sdf = new SimpleDateFormat("MM/dd(E)");// TODO i18n + Calendar endCal = null; for (int i = 0; i < 7; i++) { int year = CalendarUtil.getYear(cal); int month = CalendarUtil.getMonth(cal) + 1; @@ -340,11 +342,16 @@ map.put("color", SchedulerConstants.SATURDAY_COLOR); } weekDayItems.add(map); - cal = CalendarUtil.getNext(cal); indexMap.put(year + "-" + month + "-" + date, i); + indexMap.put(i, year + "-" + month + "-" + date); + + if (i == 6) { // last + endCal = cal; + } else { + cal = CalendarUtil.getNext(cal); + } } - Calendar endCal = cal; List groupMemberList = new ArrayList(); groupMemberList.add(userInfo); @@ -384,7 +391,7 @@ } private Map createWeekScheduleMap(UserInfo userInfo, - Map indexMap, Calendar startCal, Calendar endCal) { + Map indexMap, Calendar startCal, Calendar endCal) { Map memberMap = new HashMap(2); memberMap.put("userInfo", userInfo); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -2,6 +2,7 @@ import java.io.Serializable; import java.util.ArrayList; +import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -13,10 +14,13 @@ import jp.sf.pal.scheduler.common.dxo.PagerDxo; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.DateUtil; import jp.sf.pal.scheduler.common.util.SAStrutsUtil; import jp.sf.pal.scheduler.db.exentity.EventSchedule; +import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; import jp.sf.pal.scheduler.db.exentity.Facility; import jp.sf.pal.scheduler.db.exentity.FacilityGroup; +import jp.sf.pal.scheduler.db.exentity.FacilityScheduleMapping; import jp.sf.pal.scheduler.db.exentity.UserInfo; import jp.sf.pal.scheduler.dxo.OnetimeScheduleDxo; import jp.sf.pal.scheduler.form.user.schedule.OnetimeScheduleForm; @@ -24,6 +28,7 @@ import jp.sf.pal.scheduler.service.FacilityGroupService; import jp.sf.pal.scheduler.service.FacilityService; import jp.sf.pal.scheduler.service.OnetimeScheduleService; +import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.service.UserInfoService; import jp.sf.pal.scheduler.util.SchedulerUtil; @@ -54,6 +59,8 @@ private OnetimeScheduleService onetimeScheduleService; + private RepeatScheduleService repeatScheduleService; + private UserInfoService userInfoService; private FacilityService facilityService; @@ -191,6 +198,18 @@ return "edit.jsp"; } + @Execute(validator = false, input = "error.jsp", urlPattern = "editpageforonetime/{returnType}/{year}/{month}/{date}/{parentId}/{tYear}/{tMonth}/{tDate}") + public String editpageforonetime() { + onetimeScheduleForm.mode = SchedulerConstants.EDIT_ONE_DAY_MODE; + + // update edit page + loadDetailsPageParameters(); + + loadRepeatEventSchedule(); + + return "edit.jsp"; + } + @Execute(validator = false, input = "error.jsp") public String editpagefromconfirm() { onetimeScheduleForm.mode = CommonConstants.EDIT_MODE; @@ -287,6 +306,43 @@ } @Execute(validator = true, input = "edit.jsp") + public String createfromrepeatevent() { + if (!SchedulerUtil.compare(onetimeScheduleForm.getStartDate(), + onetimeScheduleForm.getStartTime(), onetimeScheduleForm + .getEndDate(), onetimeScheduleForm.getEndTime())) { + throw new ActionMessagesException("errors.invalid_end_date"); + } + try { + EventSchedule eventSchedule = createEventSchedule(); + onetimeScheduleService.store(eventSchedule); + + // set a delete event + EventSchedule deletedEventSchedule = createDeletedEventSchedule(eventSchedule); + repeatScheduleService.store(deletedEventSchedule); + + SAStrutsUtil.addMessage(request, + "success.create_eventSchedule_for_repeat"); + + onetimeScheduleForm.id = String.valueOf(eventSchedule.getId()); + onetimeScheduleForm.mode = CommonConstants.CONFIRM_MODE; + + // update edit page + loadDetailsPageParameters(); + + loadEventSchedule(); + + return "confirm.jsp"; + } catch (ActionMessagesException e) { + log.error(e.getMessage(), e); + throw e; + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException( + "errors.failed_to_create_eventSchedule_for_repeat"); + } + } + + @Execute(validator = true, input = "edit.jsp") public String update() { if (!SchedulerUtil.compare(onetimeScheduleForm.getStartDate(), onetimeScheduleForm.getStartTime(), onetimeScheduleForm @@ -522,6 +578,40 @@ } } + private void loadRepeatEventSchedule() { + + EventSchedule eventSchedule = repeatScheduleService.getEventSchedule( + Long.parseLong(onetimeScheduleForm.parentId), null); + if (eventSchedule == null) { + // throw an exception + throw new ActionMessagesException( + "errors.could_not_find_eventSchedule", + new Object[] { onetimeScheduleForm.parentId }); + } + onetimeScheduleDxo.convertFromEventScheduleToForm(eventSchedule, + onetimeScheduleForm); + + // update for one-time event + onetimeScheduleForm.startDateY = onetimeScheduleForm.tYear; + onetimeScheduleForm.startDateM = onetimeScheduleForm.tMonth; + onetimeScheduleForm.startDateD = onetimeScheduleForm.tDate; + onetimeScheduleForm.endDateY = onetimeScheduleForm.tYear; + onetimeScheduleForm.endDateM = onetimeScheduleForm.tMonth; + onetimeScheduleForm.endDateD = onetimeScheduleForm.tDate; + onetimeScheduleForm.parentId = onetimeScheduleForm.id; + onetimeScheduleForm.id = null; + + String userId = request.getRemoteUser(); + editable = false; + if (userId != null) { + for (String uid : onetimeScheduleForm.selectedUsers) { + if (userId.equals(uid)) { + editable = true; + } + } + } + } + private EventSchedule createEventSchedule() { String userId = request.getRemoteUser(); EventSchedule eventSchedule; @@ -540,6 +630,52 @@ return eventSchedule; } + private EventSchedule createDeletedEventSchedule(EventSchedule eventSchedule) { + String userId = request.getRemoteUser(); + EventSchedule deletedEventSchedule = new EventSchedule(); + deletedEventSchedule.setParentId(Long + .parseLong(onetimeScheduleForm.parentId)); + deletedEventSchedule.setType(SchedulerConstants.REPEAT_TYPE_DELETE); + Date d = DateUtil.get( + Integer.parseInt(onetimeScheduleForm.tYear) - 1900, Integer + .parseInt(onetimeScheduleForm.tMonth) - 1, Integer + .parseInt(onetimeScheduleForm.tDate)); + deletedEventSchedule.setStartDate(d); + deletedEventSchedule.setEndDate(d); + deletedEventSchedule.setUpdatedBy(userId); + deletedEventSchedule.setCreatedBy(userId); + deletedEventSchedule.setTitle("DELETE"); + + // mapping + List esmList = eventSchedule + .getEventScheduleMappingList(); + if (esmList != null) { + List newEsmList = new ArrayList(); + for (EventScheduleMapping esm : esmList) { + EventScheduleMapping newEsm = new EventScheduleMapping(); + newEsm.setUserId(esm.getUserId()); + newEsm.setScheduleId(esm.getScheduleId()); + newEsmList.add(newEsm); + } + deletedEventSchedule.setEventScheduleMappingList(newEsmList); + } + + List fsmList = eventSchedule + .getFacilityScheduleMappingList(); + if (fsmList != null) { + List newFsmList = new ArrayList(); + for (FacilityScheduleMapping fsm : fsmList) { + FacilityScheduleMapping newFsm = new FacilityScheduleMapping(); + newFsm.setFacilityId(fsm.getFacilityId()); + newFsm.setScheduleId(fsm.getScheduleId()); + newFsmList.add(newFsm); + } + deletedEventSchedule.setFacilityScheduleMappingList(newFsmList); + } + + return deletedEventSchedule; + } + private void loadListPageParameters() { } @@ -745,4 +881,13 @@ this.facilityGroupService = facilityGroupService; } + public RepeatScheduleService getRepeatScheduleService() { + return repeatScheduleService; + } + + public void setRepeatScheduleService( + RepeatScheduleService repeatScheduleService) { + this.repeatScheduleService = repeatScheduleService; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -2,6 +2,7 @@ import java.io.Serializable; import java.util.ArrayList; +import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -13,10 +14,13 @@ import jp.sf.pal.scheduler.common.dxo.PagerDxo; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.DateUtil; import jp.sf.pal.scheduler.common.util.SAStrutsUtil; import jp.sf.pal.scheduler.db.exentity.EventSchedule; +import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; import jp.sf.pal.scheduler.db.exentity.Facility; import jp.sf.pal.scheduler.db.exentity.FacilityGroup; +import jp.sf.pal.scheduler.db.exentity.FacilityScheduleMapping; import jp.sf.pal.scheduler.db.exentity.UserInfo; import jp.sf.pal.scheduler.dxo.RepeatScheduleDxo; import jp.sf.pal.scheduler.form.user.schedule.RepeatScheduleForm; @@ -116,16 +120,25 @@ return "/user/schedule/calendar/" + repeatScheduleForm.returnType + "/" + repeatScheduleForm.year + "/" + repeatScheduleForm.month + "/" + repeatScheduleForm.date + "?redirect=true"; - // return displayList(); } @Execute(validator = false, input = "error.jsp") + public String editpageforonetime() { + return "/user/schedule/onetimeSchedule/editpageforonetime/" + + repeatScheduleForm.returnType + "/" + repeatScheduleForm.year + + "/" + repeatScheduleForm.month + "/" + + repeatScheduleForm.date + "/" + repeatScheduleForm.id + "/" + + repeatScheduleForm.tYear + "/" + repeatScheduleForm.tMonth + + "/" + repeatScheduleForm.tDate + "?redirect=true"; + } + + @Execute(validator = false, input = "error.jsp") public String editagain() { editable = true; return "edit.jsp"; } - @Execute(validator = false, input = "error.jsp", urlPattern = "confirmpage/{mode}/{id}/{returnType}/{year}/{month}/{date}") + @Execute(validator = false, input = "error.jsp", urlPattern = "confirmpage/{mode}/{id}/{returnType}/{year}/{month}/{date}/{tYear}/{tMonth}/{tDate}") public String confirmpage() { if (repeatScheduleForm.mode != CommonConstants.CONFIRM_MODE) { throw new ActionMessagesException("errors.invalid.mode", @@ -341,6 +354,43 @@ } @Execute(validator = false, input = "error.jsp") + public String deleteitonly() { + try { + EventSchedule eventSchedule = repeatScheduleService + .getEventSchedule(Long.parseLong(repeatScheduleForm.id), + null); + if (eventSchedule == null) { + // throw an exception + throw new ActionMessagesException( + "errors.could_not_find_eventSchedule", + new Object[] { repeatScheduleForm.id }); + } + + EventSchedule deletedEventSchedule = createDeletedEventSchedule(eventSchedule); + repeatScheduleService.store(deletedEventSchedule); + + SAStrutsUtil.addMessage(request, + "success.delete_this_eventSchedule_only"); + + // reset edit page + loadListPageParameters(); + + return "/user/schedule/calendar/" + repeatScheduleForm.returnType + + "/" + repeatScheduleForm.year + "/" + + repeatScheduleForm.month + "/" + repeatScheduleForm.date + + "?redirect=true"; + // return displayList(); + } catch (ActionMessagesException e) { + log.error(e.getMessage(), e); + throw e; + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException( + "errors.failed_to_delete_this_eventSchedule_only"); + } + } + + @Execute(validator = false, input = "error.jsp") public String selectusers() { if (repeatScheduleForm.userGroup == null) { String userId = request.getRemoteUser(); @@ -525,6 +575,10 @@ eventSchedule = repeatScheduleService.getEventSchedule(Long .parseLong(repeatScheduleForm.id), null); eventSchedule.setUpdatedBy(userId); + // TODO type format + if (!eventSchedule.getType().equals(repeatScheduleForm.type)) { + eventSchedule.setUpdatedType(true); + } } else { eventSchedule = new EventSchedule(); eventSchedule.setUpdatedBy(userId); @@ -536,6 +590,51 @@ return eventSchedule; } + private EventSchedule createDeletedEventSchedule(EventSchedule eventSchedule) { + String userId = request.getRemoteUser(); + EventSchedule deletedEventSchedule = new EventSchedule(); + deletedEventSchedule.setParentId(Long.parseLong(repeatScheduleForm.id)); + deletedEventSchedule.setType(SchedulerConstants.REPEAT_TYPE_DELETE); + Date d = DateUtil.get( + Integer.parseInt(repeatScheduleForm.tYear) - 1900, Integer + .parseInt(repeatScheduleForm.tMonth) - 1, Integer + .parseInt(repeatScheduleForm.tDate)); + deletedEventSchedule.setStartDate(d); + deletedEventSchedule.setEndDate(d); + deletedEventSchedule.setUpdatedBy(userId); + deletedEventSchedule.setCreatedBy(userId); + deletedEventSchedule.setTitle("DELETE"); + + // mapping + List esmList = eventSchedule + .getEventScheduleMappingList(); + if (esmList != null) { + List newEsmList = new ArrayList(); + for (EventScheduleMapping esm : esmList) { + EventScheduleMapping newEsm = new EventScheduleMapping(); + newEsm.setUserId(esm.getUserId()); + newEsm.setScheduleId(esm.getScheduleId()); + newEsmList.add(newEsm); + } + deletedEventSchedule.setEventScheduleMappingList(newEsmList); + } + + List fsmList = eventSchedule + .getFacilityScheduleMappingList(); + if (fsmList != null) { + List newFsmList = new ArrayList(); + for (FacilityScheduleMapping fsm : fsmList) { + FacilityScheduleMapping newFsm = new FacilityScheduleMapping(); + newFsm.setFacilityId(fsm.getFacilityId()); + newFsm.setScheduleId(fsm.getScheduleId()); + newFsmList.add(newFsm); + } + deletedEventSchedule.setFacilityScheduleMappingList(newFsmList); + } + + return deletedEventSchedule; + } + private void loadListPageParameters() { } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsbhv/BsEventScheduleBhv.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsbhv/BsEventScheduleBhv.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsbhv/BsEventScheduleBhv.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -34,7 +34,7 @@ * ID * * [column] - * ID, TITLE, LOCATION, START_DATE, START_TIME, END_DATE, END_TIME, SECRET, TYPE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO + * ID, TITLE, LOCATION, START_DATE, START_TIME, END_DATE, END_TIME, SECRET, TYPE, PARENT_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO * * [sequence] * Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/BsEventSchedule.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/BsEventSchedule.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/BsEventSchedule.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -19,7 +19,7 @@ * ID * * [column] - * ID, TITLE, LOCATION, START_DATE, START_TIME, END_DATE, END_TIME, SECRET, TYPE, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO + * ID, TITLE, LOCATION, START_DATE, START_TIME, END_DATE, END_TIME, SECRET, TYPE, PARENT_ID, CREATED_TIME, CREATED_BY, UPDATED_TIME, UPDATED_BY, DELETED_TIME, DELETED_BY, VERSIONNO * * [sequence] * @@ -97,6 +97,9 @@ /** TYPE: {NotNull : VARCHAR(10)} */ protected String _type; + /** PARENT_ID: {BIGINT} */ + protected Long _parentId; + /** CREATED_TIME: {NotNull : TIMESTAMP} */ protected java.sql.Timestamp _createdTime; @@ -357,6 +360,7 @@ sb.append(delimiter).append(getEndTime()); sb.append(delimiter).append(getSecret()); sb.append(delimiter).append(getType()); + sb.append(delimiter).append(getParentId()); sb.append(delimiter).append(getCreatedTime()); sb.append(delimiter).append(getCreatedBy()); sb.append(delimiter).append(getUpdatedTime()); @@ -574,6 +578,28 @@ this._type = type; } + /** The column annotation for S2Dao. {BIGINT} */ + public static final String parentId_COLUMN = "PARENT_ID"; + + /** + * PARENT_ID: {BIGINT}
+ * + * @return The value of the column 'PARENT_ID'. (Nullable) + */ + public Long getParentId() { + return _parentId; + } + + /** + * PARENT_ID: {BIGINT}
+ * + * @param parentId The value of the column 'PARENT_ID'. (Nullable) + */ + public void setParentId(Long parentId) { + _modifiedProperties.addPropertyName("parentId"); + this._parentId = parentId; + } + /** The column annotation for S2Dao. {NotNull : TIMESTAMP} */ public static final String createdTime_COLUMN = "CREATED_TIME"; Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/dbmeta/EventScheduleDbm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/dbmeta/EventScheduleDbm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/bsentity/dbmeta/EventScheduleDbm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -75,6 +75,9 @@ protected ColumnInfo _columnType = cci("TYPE", "type", String.class, false, 10, 0); + protected ColumnInfo _columnParentId = cci("PARENT_ID", "parentId", + Long.class, false, null, null); + protected ColumnInfo _columnCreatedTime = cci("CREATED_TIME", "createdTime", java.sql.Timestamp.class, false, null, null); @@ -132,6 +135,10 @@ return _columnType; } + public ColumnInfo columnParentId() { + return _columnParentId; + } + public ColumnInfo columnCreatedTime() { return _columnCreatedTime; } @@ -356,6 +363,7 @@ setupEps(_epsMap, new EpsEndTime(), columnEndTime()); setupEps(_epsMap, new EpsSecret(), columnSecret()); setupEps(_epsMap, new EpsType(), columnType()); + setupEps(_epsMap, new EpsParentId(), columnParentId()); setupEps(_epsMap, new EpsCreatedTime(), columnCreatedTime()); setupEps(_epsMap, new EpsCreatedBy(), columnCreatedBy()); setupEps(_epsMap, new EpsUpdatedTime(), columnUpdatedTime()); @@ -428,6 +436,12 @@ } } + public static class EpsParentId implements Eps { + public void setup(EventSchedule e, Object v) { + e.setParentId((Long) v); + } + } + public static class EpsCreatedTime implements Eps { public void setup(EventSchedule e, Object v) { e.setCreatedTime((java.sql.Timestamp) v); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/bs/BsEventScheduleCB.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/bs/BsEventScheduleCB.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/bs/BsEventScheduleCB.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -248,6 +248,10 @@ doColumn("TYPE"); } + public void columnParentId() { + doColumn("PARENT_ID"); + } + public void columnCreatedTime() { doColumn("CREATED_TIME"); } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/AbstractBsEventScheduleCQ.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/AbstractBsEventScheduleCQ.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/AbstractBsEventScheduleCQ.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -1278,6 +1278,106 @@ abstract protected ConditionValue getCValueType(); /** + * Equal(=). And NullIgnored, OnlyOnceRegistered. {BIGINT} + * + * @param parentId The value of parentId as equal. + */ + public void setParentId_Equal(Long parentId) { + regParentId(CK_EQ, parentId); + } + + /** + * NotEqual(!=). And NullIgnored, OnlyOnceRegistered. + * + * @param parentId The value of parentId as notEqual. + */ + public void setParentId_NotEqual(Long parentId) { + regParentId(CK_NE, parentId); + } + + /** + * GreaterThan(>). And NullIgnored, OnlyOnceRegistered. + * + * @param parentId The value of parentId as greaterThan. + */ + public void setParentId_GreaterThan(Long parentId) { + regParentId(CK_GT, parentId); + } + + /** + * LessThan(<). And NullIgnored, OnlyOnceRegistered. + * + * @param parentId The value of parentId as lessThan. + */ + public void setParentId_LessThan(Long parentId) { + regParentId(CK_LT, parentId); + } + + /** + * GreaterEqual(>=). And NullIgnored, OnlyOnceRegistered. + * + * @param parentId The value of parentId as greaterEqual. + */ + public void setParentId_GreaterEqual(Long parentId) { + regParentId(CK_GE, parentId); + } + + /** + * LessEqual(<=). And NullIgnored, OnlyOnceRegistered. + * + * @param parentId The value of parentId as lessEqual. + */ + public void setParentId_LessEqual(Long parentId) { + regParentId(CK_LE, parentId); + } + + /** + * InScope(in (1, 2)). And NullIgnored, NullElementIgnored, + * SeveralRegistered. + * + * @param parentIdList The collection of parentId as inScope. + */ + public void setParentId_InScope(Collection parentIdList) { + regParentId(CK_INS, cTL(parentIdList)); + } + + /** + * NotInScope(not in (1, 2)). And NullIgnored, NullElementIgnored, + * SeveralRegistered. + * + * @param parentIdList The collection of parentId as notInScope. + */ + public void setParentId_NotInScope(Collection parentIdList) { + regParentId(CK_NINS, cTL(parentIdList)); + } + + /** + * IsNull(is null). And OnlyOnceRegistered. + */ + public void setParentId_IsNull() { + regParentId(CK_ISN, DUMMY_OBJECT); + } + + /** + * IsNotNull(is not null). And OnlyOnceRegistered. + */ + public void setParentId_IsNotNull() { + regParentId(CK_ISNN, DUMMY_OBJECT); + } + + protected void regParentId(ConditionKey key, Object value) { + registerQuery(key, value, getCValueParentId(), "PARENT_ID", "ParentId", + "parentId"); + } + + protected void registerInlineParentId(ConditionKey key, Object value) { + registerInlineQuery(key, value, getCValueParentId(), "PARENT_ID", + "ParentId", "parentId"); + } + + abstract protected ConditionValue getCValueParentId(); + + /** * Equal(=). And NullIgnored, OnlyOnceRegistered. {NotNull : TIMESTAMP} * * @param createdTime The value of createdTime as equal. Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/BsEventScheduleCQ.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/BsEventScheduleCQ.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/bs/BsEventScheduleCQ.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -520,6 +520,29 @@ return this; } + protected ConditionValue _parentId; + + public ConditionValue getParentId() { + if (_parentId == null) { + _parentId = new ConditionValue(); + } + return _parentId; + } + + protected ConditionValue getCValueParentId() { + return getParentId(); + } + + public BsEventScheduleCQ addOrderBy_ParentId_Asc() { + regOBA("PARENT_ID"); + return this; + } + + public BsEventScheduleCQ addOrderBy_ParentId_Desc() { + regOBD("PARENT_ID"); + return this; + } + protected ConditionValue _createdTime; public ConditionValue getCreatedTime() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/ciq/EventScheduleCIQ.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/ciq/EventScheduleCIQ.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/cbean/cq/ciq/EventScheduleCIQ.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -211,6 +211,10 @@ return _myCQ.getType(); } + protected ConditionValue getCValueParentId() { + return _myCQ.getParentId(); + } + protected ConditionValue getCValueCreatedTime() { return _myCQ.getCreatedTime(); } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -20,6 +20,8 @@ /** Serial version UID. (Default) */ private static final long serialVersionUID = 1L; + private boolean updatedType = false; + public String getContent() { if (getEventScheduleContentAsOne() != null) { return getEventScheduleContentAsOne().getContent(); @@ -112,4 +114,13 @@ } } } + + public boolean isUpdatedType() { + return updatedType; + } + + public void setUpdatedType(boolean updatedType) { + this.updatedType = updatedType; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/OnetimeScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/OnetimeScheduleForm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/OnetimeScheduleForm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -80,6 +80,9 @@ @IntegerType public String pageNumber; + @LongType + public String parentId; + public void initialize() { id = null; title = null; @@ -102,5 +105,6 @@ addedFacilities = null; removedFacilities = null; selectedFacilities = null; + parentId = null; } } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/RepeatScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/RepeatScheduleForm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/admin/schedule/RepeatScheduleForm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -83,6 +83,9 @@ @IntegerType public String pageNumber; + @LongType + public String parentId; + public void initialize() { id = null; title = null; @@ -106,5 +109,6 @@ addedFacilities = null; removedFacilities = null; selectedFacilities = null; + parentId = null; } } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -134,6 +134,21 @@ @IntegerType public String pageNumber; + @LongType + public String parentId; + + @Required(target = "editpageforonetime") + @IntegerType + public String tYear; + + @Required(target = "editpageforonetime") + @IntegerType + public String tMonth; + + @Required(target = "editpageforonetime") + @IntegerType + public String tDate; + public void initialize() { id = null; title = null; @@ -189,6 +204,7 @@ removedFacilities = null; selectedFacilities = null; facilityGroupId = null; + parentId = null; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -134,6 +134,21 @@ @IntegerType public String pageNumber; + @LongType + public String parentId; + + @Required(target = "editpageforonetime") + @IntegerType + public String tYear; + + @Required(target = "editpageforonetime") + @IntegerType + public String tMonth; + + @Required(target = "editpageforonetime") + @IntegerType + public String tDate; + public void initialize() { id = null; title = null; @@ -190,6 +205,7 @@ removedFacilities = null; selectedFacilities = null; facilityGroupId = null; + parentId = null; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -131,6 +131,21 @@ @IntegerType public String pageNumber; + @LongType + public String parentId; + + @Required(target = "editpageforonetime") + @IntegerType + public String tYear; + + @Required(target = "editpageforonetime") + @IntegerType + public String tMonth; + + @Required(target = "editpageforonetime") + @IntegerType + public String tDate; + public void initialize() { id = null; title = null; @@ -186,6 +201,7 @@ removedFacilities = null; selectedFacilities = null; facilityGroupId = null; + parentId = null; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -131,6 +131,18 @@ @IntegerType public String pageNumber; + @LongType + public String parentId; + + @IntegerType + public String tYear; + + @IntegerType + public String tMonth; + + @IntegerType + public String tDate; + public void initialize() { id = null; title = null; @@ -184,6 +196,7 @@ removedFacilities = null; selectedFacilities = null; facilityGroupId = null; + parentId = null; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -213,6 +213,28 @@ } } } + + // delete type + if (eventSchedule.isUpdatedType()) { + EventScheduleMappingCB cb1 = new EventScheduleMappingCB(); + cb1.query().queryEventSchedule().setParentId_Equal( + eventSchedule.getId()); + cb1.query().queryEventSchedule().setType_Equal( + SchedulerConstants.REPEAT_TYPE_DELETE); + eventScheduleMappingBhv.queryDelete(cb1); + + FacilityScheduleMappingCB cb2 = new FacilityScheduleMappingCB(); + cb2.query().queryEventSchedule().setParentId_Equal( + eventSchedule.getId()); + cb2.query().queryEventSchedule().setType_Equal( + SchedulerConstants.REPEAT_TYPE_DELETE); + facilityScheduleMappingBhv.queryDelete(cb2); + + EventScheduleCB cb3 = new EventScheduleCB(); + cb3.query().setParentId_Equal(eventSchedule.getId()); + cb3.query().setType_Equal(SchedulerConstants.REPEAT_TYPE_DELETE); + eventScheduleBhv.queryDelete(cb3); + } } public void disable(Long id, String name) { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java 2009-01-20 01:13:58 UTC (rev 1681) @@ -2,6 +2,7 @@ import java.sql.Time; import java.text.SimpleDateFormat; +import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; @@ -308,6 +309,42 @@ return map; } + public static Map createEventWithCurrentDate( + EventSchedule eventSchedule, boolean start, boolean end, + String currentDate) { + Map map = new HashMap(9); + map.put("id", eventSchedule.getId().toString()); + map.put("title", eventSchedule.getTitle()); + map.put("secret", eventSchedule.getSecret()); + if (start || end) { + StringBuilder buf = new StringBuilder(); + SimpleDateFormat sdf = new SimpleDateFormat("HH:mm"); // TODO i18n + if (start && eventSchedule.getStartTime() != null) { + buf.append(sdf.format(eventSchedule.getStartTime())); + } + buf.append("-"); + if (end && eventSchedule.getEndTime() != null) { + buf.append(sdf.format(eventSchedule.getEndTime())); + } + map.put("time", buf.toString()); + } + if (SchedulerConstants.ONETIME_SCHEDULE.equals(eventSchedule.getType())) { + map.put("repeat", "false"); + } else { + map.put("repeat", "true"); + map.put("type", ((EventSchedule) eventSchedule).getType()); + } + + // set target date + // TODO needs null check? + String[] targets = currentDate.split("-"); + map.put("cYear", targets[0]); + map.put("cMonth", targets[1]); + map.put("cDate", targets[2]); + + return map; + } + public static void createPersonalDayForOnetime(int tYear, int tMonth, int tDate, List ssmList, List>> eventInDayItems, @@ -368,22 +405,52 @@ int tDate, int tDay, List rsmList, List>> eventInDayItems, List> allDayEventInDayItems) { + List esList = new ArrayList(); + List deleteIdList = new ArrayList(); for (EventScheduleMapping rsm : rsmList) { EventSchedule eventSchedule = rsm.getEventSchedule(); - createPersonalDayDataForRepeat(tYear, tMonth, tDate, tDay, - eventSchedule, eventInDayItems, allDayEventInDayItems); + if (SchedulerConstants.REPEAT_TYPE_DELETE.equals(eventSchedule + .getType())) { + Long parentId = eventSchedule.getParentId(); + if (parentId != null) { + deleteIdList.add(parentId); + } + } else { + esList.add(eventSchedule); + } } + for (EventSchedule eventSchedule : esList) { + if (!deleteIdList.contains(eventSchedule.getId())) { + createPersonalDayDataForRepeat(tYear, tMonth, tDate, tDay, + eventSchedule, eventInDayItems, allDayEventInDayItems); + } + } } public static void createFacilityDayForRepeat(int tYear, int tMonth, int tDate, int tDay, List rsmList, List>> eventInDayItems, List> allDayEventInDayItems) { + List esList = new ArrayList(); + List deleteIdList = new ArrayList(); for (FacilityScheduleMapping rsm : rsmList) { EventSchedule eventSchedule = rsm.getEventSchedule(); - createPersonalDayDataForRepeat(tYear, tMonth, tDate, tDay, - eventSchedule, eventInDayItems, allDayEventInDayItems); + if (SchedulerConstants.REPEAT_TYPE_DELETE.equals(eventSchedule + .getType())) { + Long parentId = eventSchedule.getParentId(); + if (parentId != null) { + deleteIdList.add(parentId); + } + } else { + esList.add(eventSchedule); + } } + for (EventSchedule eventSchedule : esList) { + if (!deleteIdList.contains(eventSchedule.getId())) { + createPersonalDayDataForRepeat(tYear, tMonth, tDate, tDay, + eventSchedule, eventInDayItems, allDayEventInDayItems); + } + } } private static void createPersonalDayDataForRepeat(int tYear, int tMonth, @@ -398,56 +465,55 @@ Time startTime = eventSchedule.getStartTime(); Time endTime = eventSchedule.getEndTime(); String type = eventSchedule.getType(); - if ("MTWTFSS".equals(type)) { - putEventSchedule(eventSchedule, startTime, endTime, - eventInDayItems, allDayEventInDayItems); - } else if ("MTWTF".equals(type)) { - if (tDay > 1 && tDay < 7) { + if (SchedulerConstants.REPEAT_TYPE_WEEKLY.equals(type)) { + if (tDay == DateUtil.getDay(startDate) + 1) { putEventSchedule(eventSchedule, startTime, endTime, eventInDayItems, allDayEventInDayItems); } - } else if ("MWF".equals(type)) { - if (tDay == 2 || tDay == 4 || tDay == 6) { + } else if (SchedulerConstants.REPEAT_TYPE_MONTHLY.equals(type)) { + if (tDate == sDate) { putEventSchedule(eventSchedule, startTime, endTime, eventInDayItems, allDayEventInDayItems); } - } else if ("TT".equals(type)) { - if (tDay == 3 || tDay == 5) { + } else if (SchedulerConstants.REPEAT_TYPE_YEARLY.equals(type)) { + if (tDate == sDate && tMonth == sMonth) { putEventSchedule(eventSchedule, startTime, endTime, eventInDayItems, allDayEventInDayItems); } - } else if ("WEEKLY".equals(type)) { - if (tDay == DateUtil.getDay(startDate) + 1) { + } else if ("MTWTFSSA".equals(type)) { + putEventSchedule(eventSchedule, startTime, endTime, + eventInDayItems, allDayEventInDayItems); + } else if ("MTWTF---".equals(type)) { + if (tDay > 1 && tDay < 7) { putEventSchedule(eventSchedule, startTime, endTime, eventInDayItems, allDayEventInDayItems); } - } else if ("MONTHLY".equals(type)) { - if (tDate == sDate) { + } else if ("M-W-F---".equals(type)) { + if (tDay == 2 || tDay == 4 || tDay == 6) { putEventSchedule(eventSchedule, startTime, endTime, eventInDayItems, allDayEventInDayItems); } - } else if ("YEARLY".equals(type)) { - if (tDate == sDate && tMonth == sMonth) { + } else if ("-T-T----".equals(type)) { + if (tDay == 3 || tDay == 5) { putEventSchedule(eventSchedule, startTime, endTime, eventInDayItems, allDayEventInDayItems); } } - } public static void createPersonalWeekForOnetime( - Map indexMap, List ssmList, + Map indexMap, List esmList, List>>> eventInWeekItems, List>> allDayEventInWeekItems) { - for (EventScheduleMapping ssm : ssmList) { - EventSchedule eventSchedule = ssm.getEventSchedule(); + for (EventScheduleMapping esm : esmList) { + EventSchedule eventSchedule = esm.getEventSchedule(); createPersonalWeekDataForOnetime(indexMap, eventSchedule, eventInWeekItems, allDayEventInWeekItems); } } public static void createFacilityWeekForOnetime( - Map indexMap, + Map indexMap, List ssmList, List>>> eventInWeekItems, List>> allDayEventInWeekItems) { @@ -459,7 +525,7 @@ } private static void createPersonalWeekDataForOnetime( - Map indexMap, EventSchedule eventSchedule, + Map indexMap, EventSchedule eventSchedule, List>>> eventInWeekItems, List>> allDayEventInWeekItems) { @@ -467,7 +533,8 @@ int sYear = DateUtil.getYear(startDate) + 1900; int sMonth = DateUtil.getMonth(startDate) + 1; int sDate = DateUtil.getDate(startDate); - Integer sIndex = indexMap.get(sYear + "-" + sMonth + "-" + sDate); + Integer sIndex = (Integer) indexMap.get(sYear + "-" + sMonth + "-" + + sDate); if (sIndex == null) { sIndex = Integer.valueOf(-1); } @@ -476,7 +543,8 @@ int eYear = DateUtil.getYear(endDate) + 1900; int eMonth = DateUtil.getMonth(endDate) + 1; int eDate = DateUtil.getDate(endDate); - Integer eIndex = indexMap.get(eYear + "-" + eMonth + "-" + eDate); + Integer eIndex = (Integer) indexMap.get(eYear + "-" + eMonth + "-" + + eDate); if (eIndex == null) { eIndex = Integer.valueOf(7); } @@ -533,32 +601,91 @@ } public static void createPersonalWeekForRepeat( - Map indexMap, List rsmList, + Map indexMap, List rsmList, List>>> eventInWeekItems, List>> allDayEventInWeekItems, List> weekDayItems) { + List esList = new ArrayList(); + Map> deleteIdMap = new HashMap>(); for (EventScheduleMapping rsm : rsmList) { EventSchedule eventSchedule = rsm.getEventSchedule(); - createPersonalWeekDataForRepeat(indexMap, eventSchedule, - eventInWeekItems, allDayEventInWeekItems, weekDayItems); + if (SchedulerConstants.REPEAT_TYPE_DELETE.equals(eventSchedule + .getType())) { + Long parentId = eventSchedule.getParentId(); + if (parentId != null) { + Date startDate = eventSchedule.getStartDate(); + int sYear = DateUtil.getYear(startDate) + 1900; + int sMonth = DateUtil.getMonth(startDate) + 1; + int sDate = DateUtil.getDate(startDate); + Integer sIndex = (Integer) indexMap.get(sYear + "-" + + sMonth + "-" + sDate); + if (sIndex == null) { + sIndex = Integer.valueOf(0); + } + + List deleteIdList = deleteIdMap.get(sIndex); + if (deleteIdList == null) { + deleteIdList = new ArrayList(); + deleteIdMap.put(sIndex, deleteIdList); + } + deleteIdList.add(parentId); + } + } else { + esList.add(eventSchedule); + } } + for (EventSchedule eventSchedule : esList) { + createPersonalWeekDataForRepeat(indexMap, deleteIdMap, + eventSchedule, eventInWeekItems, allDayEventInWeekItems, + weekDayItems); + } } public static void createFacilityWeekForRepeat( - Map indexMap, + Map indexMap, List rsmList, List>>> eventInWeekItems, List>> allDayEventInWeekItems, List> weekDayItems) { + List esList = new ArrayList(); + Map> deleteIdMap = new HashMap>(); for (FacilityScheduleMapping rsm : rsmList) { EventSchedule eventSchedule = rsm.getEventSchedule(); - createPersonalWeekDataForRepeat(indexMap, eventSchedule, - eventInWeekItems, allDayEventInWeekItems, weekDayItems); + if (SchedulerConstants.REPEAT_TYPE_DELETE.equals(eventSchedule + .getType())) { + Long parentId = eventSchedule.getParentId(); + if (parentId != null) { + Date startDate = eventSchedule.getStartDate(); + int sYear = DateUtil.getYear(startDate) + 1900; + int sMonth = DateUtil.getMonth(startDate) + 1; + int sDate = DateUtil.getDate(startDate); + Integer sIndex = (Integer) indexMap.get(sYear + "-" + + sMonth + "-" + sDate); + if (sIndex == null) { + sIndex = Integer.valueOf(0); + } + + List deleteIdList = deleteIdMap.get(sIndex); + if (deleteIdList == null) { + deleteIdList = new ArrayList(); + deleteIdMap.put(sIndex, deleteIdList); + } + deleteIdList.add(parentId); + } + } else { + esList.add(eventSchedule); + } } + for (EventSchedule eventSchedule : esList) { + createPersonalWeekDataForRepeat(indexMap, deleteIdMap, + eventSchedule, eventInWeekItems, allDayEventInWeekItems, + weekDayItems); + } } private static void createPersonalWeekDataForRepeat( - Map indexMap, EventSchedule eventSchedule, + Map indexMap, Map> deleteIdMap, + EventSchedule eventSchedule, List>>> eventInWeekItems, List>> allDayEventInWeekItems, List> weekDayItems) { @@ -566,7 +693,8 @@ int sYear = DateUtil.getYear(startDate) + 1900; int sMonth = DateUtil.getMonth(startDate) + 1; int sDate = DateUtil.getDate(startDate); - Integer sIndex = indexMap.get(sYear + "-" + sMonth + "-" + sDate); + Integer sIndex = (Integer) indexMap.get(sYear + "-" + sMonth + "-" + + sDate); if (sIndex == null) { sIndex = Integer.valueOf(0); } @@ -577,7 +705,7 @@ int eYear = DateUtil.getYear(endDate) + 1900; int eMonth = DateUtil.getMonth(endDate) + 1; int eDate = DateUtil.getDate(endDate); - eIndex = indexMap.get(eYear + "-" + eMonth + "-" + eDate); + eIndex = (Integer) indexMap.get(eYear + "-" + eMonth + "-" + eDate); if (eIndex == null) { eIndex = Integer.valueOf(6); } @@ -585,115 +713,146 @@ eIndex = Integer.valueOf(6); } + Long id = eventSchedule.getId(); Time time = eventSchedule.getStartTime(); for (int i = sIndex.intValue(); i < eIndex.intValue() + 1; i++) { + List deleteIdList = deleteIdMap.get(i); + if (deleteIdList != null && deleteIdList.contains(id)) { + continue; + } + String type = eventSchedule.getType(); - if ("MTWTFSS".equals(type)) { - if (time != null) { - int timeIndex = DateUtil.getHours(time); - eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); - } else { - - // all day - allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); - } - } else if ("MTWTF".equals(type)) { + if (SchedulerConstants.REPEAT_TYPE_WEEKLY.equals(type)) { String d = (String) weekDayItems.get(i).get("dayOfWeek"); if (d != null) { int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek > 1 && dayOfWeek < 7) { + if (dayOfWeek == DateUtil.getDay(startDate) + 1) { if (time != null) { int timeIndex = DateUtil.getHours(time); eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); + createEventWithCurrentDate(eventSchedule, + true, true, (String) indexMap + .get(i))); } else { // all day allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); + createEventWithCurrentDate(eventSchedule, + false, false, (String) indexMap + .get(i))); } } } - } else if ("MWF".equals(type)) { - String d = (String) weekDayItems.get(i).get("dayOfWeek"); + } else if (SchedulerConstants.REPEAT_TYPE_MONTHLY.equals(type)) { + String d = (String) weekDayItems.get(i).get("date"); if (d != null) { - int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek == 2 || dayOfWeek == 4 || dayOfWeek == 6) { + int date = Integer.parseInt(d); + if (date == sDate) { if (time != null) { int timeIndex = DateUtil.getHours(time); eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); + createEventWithCurrentDate(eventSchedule, + true, true, (String) indexMap + .get(i))); } else { // all day allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); + createEventWithCurrentDate(eventSchedule, + false, false, (String) indexMap + .get(i))); } } } - } else if ("TT".equals(type)) { - String d = (String) weekDayItems.get(i).get("dayOfWeek"); - if (d != null) { - int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek == 3 || dayOfWeek == 5) { + } else if (SchedulerConstants.REPEAT_TYPE_YEARLY.equals(type)) { + String d = (String) weekDayItems.get(i).get("date"); + String m = (String) weekDayItems.get(i).get("month"); + if (d != null && m != null) { + int date = Integer.parseInt(d); + int month = Integer.parseInt(m); + if (date == sDate && month == sMonth) { if (time != null) { int timeIndex = DateUtil.getHours(time); eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); + createEventWithCurrentDate(eventSchedule, + true, true, (String) indexMap + .get(i))); } else { // all day allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); + createEventWithCurrentDate(eventSchedule, + false, false, (String) indexMap + .get(i))); } } } - } else if ("WEEKLY".equals(type)) { + } else if ("MTWTFSSA".equals(type)) { + if (time != null) { + int timeIndex = DateUtil.getHours(time); + eventInWeekItems.get(i).get(timeIndex).add( + createEventWithCurrentDate(eventSchedule, true, + true, (String) indexMap.get(i))); + } else { + // all day + allDayEventInWeekItems.get(i).add( + createEventWithCurrentDate(eventSchedule, false, + false, (String) indexMap.get(i))); + } + } else if ("MTWTF---".equals(type)) { String d = (String) weekDayItems.get(i).get("dayOfWeek"); if (d != null) { int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek == DateUtil.getDay(startDate) + 1) { + if (dayOfWeek > 1 && dayOfWeek < 7) { if (time != null) { int timeIndex = DateUtil.getHours(time); eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); + createEventWithCurrentDate(eventSchedule, + true, true, (String) indexMap + .get(i))); } else { // all day allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); + createEventWithCurrentDate(eventSchedule, + false, false, (String) indexMap + .get(i))); } } } - } else if ("MONTHLY".equals(type)) { - String d = (String) weekDayItems.get(i).get("date"); + } else if ("M-W-F---".equals(type)) { + String d = (String) weekDayItems.get(i).get("dayOfWeek"); if (d != null) { - int date = Integer.parseInt(d); - if (date == sDate) { + int dayOfWeek = Integer.parseInt(d); + if (dayOfWeek == 2 || dayOfWeek == 4 || dayOfWeek == 6) { if (time != null) { int timeIndex = DateUtil.getHours(time); eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); + createEventWithCurrentDate(eventSchedule, + true, true, (String) indexMap + .get(i))); } else { // all day allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); + createEventWithCurrentDate(eventSchedule, + false, false, (String) indexMap + .get(i))); } } } - } else if ("YEARLY".equals(type)) { - String d = (String) weekDayItems.get(i).get("date"); - String m = (String) weekDayItems.get(i).get("month"); - if (d != null && m != null) { - int date = Integer.parseInt(d); - int month = Integer.parseInt(m); - if (date == sDate && month == sMonth) { + } else if ("-T-T----".equals(type)) { + String d = (String) weekDayItems.get(i).get("dayOfWeek"); + if (d != null) { + int dayOfWeek = Integer.parseInt(d); + if (dayOfWeek == 3 || dayOfWeek == 5) { if (time != null) { int timeIndex = DateUtil.getHours(time); eventInWeekItems.get(i).get(timeIndex).add( - createEvent(eventSchedule, true, true)); + createEventWithCurrentDate(eventSchedule, + true, true, (String) indexMap + .get(i))); } else { // all day allDayEventInWeekItems.get(i).add( - createEvent(eventSchedule, false, false)); + createEventWithCurrentDate(eventSchedule, + false, false, (String) indexMap + .get(i))); } } } @@ -815,10 +974,38 @@ int endDateIndex, Map indexMap, List rsmList, List> calendarDayItems) { + List esList = new ArrayList(); + Map> deleteIdMap = new HashMap>(); for (EventScheduleMapping rsm : rsmList) { EventSchedule eventSchedule = rsm.getEventSchedule(); + if (SchedulerConstants.REPEAT_TYPE_DELETE.equals(eventSchedule + .getType())) { + Long parentId = eventSchedule.getParentId(); + if (parentId != null) { + Date startDate = eventSchedule.getStartDate(); + int sYear = DateUtil.getYear(startDate) + 1900; + int sMonth = DateUtil.getMonth(startDate) + 1; + int sDate = DateUtil.getDate(startDate); + Integer sIndex = indexMap.get(sYear + "-" + sMonth + "-" + + sDate); + if (sIndex == null) { + sIndex = Integer.valueOf(0); + } + + List deleteIdList = deleteIdMap.get(sIndex); + if (deleteIdList == null) { + deleteIdList = new ArrayList(); + deleteIdMap.put(sIndex, deleteIdList); + } + deleteIdList.add(parentId); + } + } else { + esList.add(eventSchedule); + } + } + for (EventSchedule eventSchedule : esList) { createPersonalMonthDataForRepeat(firstDateIndex, endDateIndex, - indexMap, eventSchedule, calendarDayItems); + indexMap, deleteIdMap, eventSchedule, calendarDayItems); } } @@ -826,16 +1013,44 @@ int endDateIndex, Map indexMap, List rsmList, List> calendarDayItems) { + List esList = new ArrayList(); + Map> deleteIdMap = new HashMap>(); for (FacilityScheduleMapping rsm : rsmList) { EventSchedule eventSchedule = rsm.getEventSchedule(); + if (SchedulerConstants.REPEAT_TYPE_DELETE.equals(eventSchedule + .getType())) { + Long parentId = eventSchedule.getParentId(); + if (parentId != null) { + Date startDate = eventSchedule.getStartDate(); + int sYear = DateUtil.getYear(startDate) + 1900; + int sMonth = DateUtil.getMonth(startDate) + 1; + int sDate = DateUtil.getDate(startDate); + Integer sIndex = indexMap.get(sYear + "-" + sMonth + "-" + + sDate); + if (sIndex == null) { + sIndex = Integer.valueOf(0); + } + + List deleteIdList = deleteIdMap.get(sIndex); + if (deleteIdList == null) { + deleteIdList = new ArrayList(); + deleteIdMap.put(sIndex, deleteIdList); + } + deleteIdList.add(parentId); + } + } else { + esList.add(eventSchedule); + } + } + for (EventSchedule eventSchedule : esList) { createPersonalMonthDataForRepeat(firstDateIndex, endDateIndex, - indexMap, eventSchedule, calendarDayItems); + indexMap, deleteIdMap, eventSchedule, calendarDayItems); } } private static void createPersonalMonthDataForRepeat(int firstDateIndex, int endDateIndex, Map indexMap, - EventSchedule eventSchedule, + Map> deleteIdMap, EventSchedule eventSchedule, List> calendarDayItems) { Date startDate = eventSchedule.getStartDate(); int sYear = DateUtil.getYear(startDate) + 1900; @@ -860,28 +1075,19 @@ eIndex = Integer.valueOf(endDateIndex); } + Long id = eventSchedule.getId(); Time time = eventSchedule.getStartTime(); for (int i = sIndex.intValue(); i < eIndex.intValue() + 1; i++) { + List deleteIdList = deleteIdMap.get(i); + if (deleteIdList != null && deleteIdList.contains(id)) { + continue; + } String type = eventSchedule.getType(); - if ("MTWTFSS".equals(type)) { - if (time != null) { - int timeIndex = DateUtil.getHours(time); - List>> eventInMonthItems = (List>>) calendarDayItems - .get(i).get("eventItems"); - eventInMonthItems.get(timeIndex).add( - createEvent(eventSchedule, true, true)); - } else { - // all day - List> allDayEventInMonthItems = (List>) calendarDayItems - .get(i).get("allDayEventItems"); - allDayEventInMonthItems.add(createEvent(eventSchedule, - false, false)); - } - } else if ("MTWTF".equals(type)) { + if (SchedulerConstants.REPEAT_TYPE_WEEKLY.equals(type)) { String d = (String) calendarDayItems.get(i).get("dayOfWeek"); if (d != null) { int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek > 1 && dayOfWeek < 7) { + if (dayOfWeek == DateUtil.getDay(startDate) + 1) { if (time != null) { int timeIndex = DateUtil.getHours(time); List>> eventInMonthItems = (List>>) calendarDayItems @@ -897,11 +1103,11 @@ } } } - } else if ("MWF".equals(type)) { - String d = (String) calendarDayItems.get(i).get("dayOfWeek"); + } else if (SchedulerConstants.REPEAT_TYPE_MONTHLY.equals(type)) { + String d = (String) calendarDayItems.get(i).get("dayOfMonth"); if (d != null) { - int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek == 2 || dayOfWeek == 4 || dayOfWeek == 6) { + int date = Integer.parseInt(d); + if (date == sDate) { if (time != null) { int timeIndex = DateUtil.getHours(time); List>> eventInMonthItems = (List>>) calendarDayItems @@ -917,11 +1123,13 @@ } } } - } else if ("TT".equals(type)) { - String d = (String) calendarDayItems.get(i).get("dayOfWeek"); - if (d != null) { - int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek == 3 || dayOfWeek == 5) { + } else if (SchedulerConstants.REPEAT_TYPE_YEARLY.equals(type)) { + String d = (String) calendarDayItems.get(i).get("dayOfMonth"); + String m = (String) calendarDayItems.get(i).get("month"); + if (d != null && m != null) { + int date = Integer.parseInt(d); + int month = Integer.parseInt(m); + if (date == sDate && month == sMonth) { if (time != null) { int timeIndex = DateUtil.getHours(time); List>> eventInMonthItems = (List>>) calendarDayItems @@ -937,11 +1145,25 @@ } } } - } else if ("WEEKLY".equals(type)) { + } else if ("MTWTFSSA".equals(type)) { + if (time != null) { + int timeIndex = DateUtil.getHours(time); + List>> eventInMonthItems = (List>>) calendarDayItems + .get(i).get("eventItems"); + eventInMonthItems.get(timeIndex).add( + createEvent(eventSchedule, true, true)); + } else { + // all day + List> allDayEventInMonthItems = (List>) calendarDayItems + .get(i).get("allDayEventItems"); + allDayEventInMonthItems.add(createEvent(eventSchedule, + false, false)); + } + } else if ("MTWTF---".equals(type)) { String d = (String) calendarDayItems.get(i).get("dayOfWeek"); if (d != null) { int dayOfWeek = Integer.parseInt(d); - if (dayOfWeek == DateUtil.getDay(startDate) + 1) { + if (dayOfWeek > 1 && dayOfWeek < 7) { if (time != null) { int timeIndex = DateUtil.getHours(time); List>> eventInMonthItems = (List>>) calendarDayItems @@ -957,11 +1179,11 @@ } } } - } else if ("MONTHLY".equals(type)) { - String d = (String) calendarDayItems.get(i).get("dayOfMonth"); + } else if ("M-W-F---".equals(type)) { + String d = (String) calendarDayItems.get(i).get("dayOfWeek"); if (d != null) { - int date = Integer.parseInt(d); - if (date == sDate) { + int dayOfWeek = Integer.parseInt(d); + if (dayOfWeek == 2 || dayOfWeek == 4 || dayOfWeek == 6) { if (time != null) { int timeIndex = DateUtil.getHours(time); List>> eventInMonthItems = (List>>) calendarDayItems @@ -977,13 +1199,11 @@ } } } - } else if ("YEARLY".equals(type)) { - String d = (String) calendarDayItems.get(i).get("dayOfMonth"); - String m = (String) calendarDayItems.get(i).get("month"); - if (d != null && m != null) { - int date = Integer.parseInt(d); - int month = Integer.parseInt(m); - if (date == sDate && month == sMonth) { + } else if ("-T-T----".equals(type)) { + String d = (String) calendarDayItems.get(i).get("dayOfWeek"); + if (d != null) { + int dayOfWeek = Integer.parseInt(d); + if (dayOfWeek == 3 || dayOfWeek == 5) { if (time != null) { int timeIndex = DateUtil.getHours(time); List>> eventInMonthItems = (List>>) calendarDayItems Modified: scheduler/trunk/src/main/resources/application.properties =================================================================== --- scheduler/trunk/src/main/resources/application.properties 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/resources/application.properties 2009-01-20 01:13:58 UTC (rev 1681) @@ -43,6 +43,8 @@ success.delete_facility=Deleted the facility. success.moveup_facility=Moved the facility up. success.movedown_facility=Moved the facility down. +success.create_eventSchedule_for_repeat=Updated this event only. +success.delete_this_eventSchedule_only=Deleted this event only. errors.could_not_find_facilityGroup=Could not find the facility group({0}). errors.failed_to_update_config=Failed to update the configuration. @@ -63,6 +65,8 @@ errors.could_not_find_facility=Could not find the facility({0}). errors.failed_to_moveup_facility=Failed to move the facility up. errors.failed_to_movedown_facility=Failed to move the facility down. +errors.failed_to_create_eventSchedule_for_repeat=Failed to update this event. +errors.failed_to_delete_this_eventSchedule_only=Failed to delete this event. labels.detail=Detail labels.create=Create @@ -219,3 +223,7 @@ labels.holiday_list=Holiday List labels.holiday_format=ex. YYYY-MM-DD + +labels.parent_id=Parent ID +labels.edit_for_onetime=Edit Only This Day +labels.delete_it_only=Delete Only This Day \ No newline at end of file Modified: scheduler/trunk/src/main/resources/application_ja.properties =================================================================== --- scheduler/trunk/src/main/resources/application_ja.properties 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/resources/application_ja.properties 2009-01-20 01:13:58 UTC (rev 1681) @@ -36,6 +36,8 @@ success.delete_facility=\u65bd\u8a2d\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002 success.moveup_facility=\u65bd\u8a2d\u3092\u4e0a\u306b\u79fb\u52d5\u3057\u307e\u3057\u305f\u3002 success.movedown_facility=\u65bd\u8a2d\u3092\u4e0b\u3078\u79fb\u52d5\u3057\u307e\u3057\u305f\u3002 +success.create_eventSchedule_for_repeat=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u3060\u3051\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 +success.delete_this_eventSchedule_only=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u3060\u3051\u524a\u9664\u3057\u307e\u3057\u305f\u3002 errors.failed_to_update_config=\u8a2d\u5b9a\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.invalid.mode=\u30e2\u30fc\u30c9\u304c\u9055\u3044\u307e\u3059\u3002(\u6b63\u3057\u3044\u5024\u306f {0} \u3067\u3059\u304c\u3001\u5165\u529b\u3055\u308c\u305f\u5024\u306f {1} \u306b\u306a\u3063\u3066\u3044\u307e\u3059) @@ -55,6 +57,8 @@ errors.could_not_find_facility=\u65bd\u8a2d({0})\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002 errors.failed_to_moveup_facility=\u65bd\u8a2d\u3092\u4e0a\u3078\u79fb\u52d5\u3059\u308b\u3053\u3068\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_movedown_facility=\u65bd\u8a2d\u3092\u4e0b\u3078\u79fb\u52d5\u3059\u308b\u3053\u3068\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_create_eventSchedule_for_repeat=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_delete_this_eventSchedule_only=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 labels.detail=\u8a73\u7d30 labels.create=\u4f5c\u6210 @@ -211,3 +215,7 @@ labels.holiday_list=\u4f11\u65e5\u4e00\u89a7 labels.holiday_format=\u4f8b: YYYY-MM-DD + +labels.parent_id=\u89aa ID +labels.edit_for_onetime=\u3053\u306e\u65e5\u306e\u307f\u7de8\u96c6 +labels.delete_it_only=\u3053\u306e\u65e5\u306e\u307f\u524a\u9664 \ No newline at end of file Modified: scheduler/trunk/src/main/webapp/WEB-INF/db/scheduler.1.log.db =================================================================== (Binary files differ) Modified: scheduler/trunk/src/main/webapp/WEB-INF/db/scheduler.data.db =================================================================== (Binary files differ) Modified: scheduler/trunk/src/main/webapp/WEB-INF/jetspeed-portlet.xml =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/jetspeed-portlet.xml 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/jetspeed-portlet.xml 2009-01-20 01:13:58 UTC (rev 1681) @@ -19,6 +19,10 @@ Scheduler PAL Project + SchedulerConfig + admin + + FacilityManager admin Modified: scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/portlet.xml 2009-01-20 01:13:58 UTC (rev 1681) @@ -30,7 +30,7 @@ 施設情報を管理します。 FacilityManager Scheduler: Facility Manager - スケジュール: 施設管理 + スケジュール: 管理者用施設管理 org.seasar.struts.portlet.SAStrutsPortlet viewPage @@ -55,7 +55,7 @@ 予定を管理します。 SchedulerManager Scheduler: Scheduler Manager - スケジュール: スケジュール管理 + スケジュール: 管理者用スケジュール管理 org.seasar.struts.portlet.SAStrutsPortlet viewPage @@ -80,7 +80,7 @@ 予定を閲覧・編集します。 Scheduler Scheduler: Scheduler - スケジュール: スケジュール編集 + スケジュール: スケジュール管理 org.seasar.struts.portlet.SAStrutsPortlet viewPage @@ -109,7 +109,7 @@ 施設の予定を閲覧・編集します。 Facilities Scheduler: Facilities - スケジュール: 施設情報 + スケジュール: 施設管理 org.seasar.struts.portlet.SAStrutsPortlet viewPage Modified: scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml 2009-01-20 01:13:58 UTC (rev 1681) @@ -1,3 +1,7 @@ - + + +2009-01-01 + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/confirm.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/confirm.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -52,6 +52,10 @@
${f:h(location)}
${f:h(parentId)}
Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/edit.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/edit.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -52,6 +52,10 @@
Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/facilitylist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/facilitylist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -48,6 +48,7 @@ + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/userlist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/onetimeSchedule/userlist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -48,6 +48,7 @@ + ${f:u(f.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/confirm.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/confirm.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -54,10 +54,10 @@
- - - - + + + + @@ -65,6 +65,10 @@
${f:h(parentId)}
Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/edit.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/edit.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -55,10 +55,10 @@ - - - - + + + + @@ -66,6 +66,10 @@
Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/facilitylist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/facilitylist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -48,6 +48,7 @@ + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/userlist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/admin/schedule/repeatSchedule/userlist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -49,6 +49,7 @@ + ${f:u(f.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -93,8 +93,8 @@
  • -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
  • @@ -112,11 +112,11 @@
      -
    • ${event.time}
      +
    • ${f:h(event.time)}
      -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
    Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -97,18 +97,18 @@
  • -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
  • -
  • ${event.time}
    +
  • ${f:h(event.time)}
    -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
  • Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -96,8 +96,8 @@
  • -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
  • @@ -112,11 +112,11 @@
      -
    • ${event.time}
      +
    • ${f:h(event.time)}
      -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
    • Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/groupweek.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -110,11 +110,11 @@
      -
    • ${event.time}
      +
    • ${f:h(event.time)}
      -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
    • Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -47,7 +47,11 @@ + + + +
      @@ -149,10 +153,14 @@ "/> - + "/> "/> "/> + + "/> + "/> + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -47,7 +47,11 @@ + + + +
      Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -57,6 +57,10 @@ + + + + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -57,6 +57,10 @@ + + + + ${f:u(u.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -47,7 +47,11 @@ + + + +
      @@ -63,10 +67,10 @@
      - - - - + + + + @@ -159,10 +163,12 @@ "/> + "/> "/> - + "/> + "/> "/> "/> Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -47,7 +47,11 @@ + + + +
      @@ -64,10 +68,10 @@
      - - - - + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -57,6 +57,10 @@ + + + + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -58,6 +58,10 @@ + + + + ${f:u(u.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/groupweek.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -114,11 +114,11 @@
        -
      • ${event.time}
        +
      • ${f:h(event.time)}
        -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
      • Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalday.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -90,8 +90,8 @@
        • -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
        @@ -108,9 +108,9 @@
        -
      • ${event.time}
        -${event.title} -${event.title} +
      • ${f:h(event.time)}
        +${f:h(event.title)} +${f:h(event.title)}
      Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalmonth.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -94,15 +94,15 @@
      • -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
      • -
      • ${event.time}
        -${event.title} -${event.title} +
      • ${f:h(event.time)}
        +${f:h(event.title)} +${f:h(event.title)}
      • Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/calendar/personalweek.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -93,8 +93,8 @@
        • -${event.title} -${event.title} +${f:h(event.title)} +${f:h(event.title)}
        @@ -108,9 +108,9 @@
          -
        • ${event.time}
          -${event.title} -${event.title} +
        • ${f:h(event.time)}
          +${f:h(event.title)} +${f:h(event.title)}
        • Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -30,7 +30,7 @@
        • -
        • +
        • @@ -46,7 +46,11 @@ + + + +
          @@ -148,10 +152,14 @@ "/> - + "/> "/> "/> + + "/> + "/> + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -30,7 +30,7 @@
        • -
        • +
        • @@ -46,7 +46,11 @@ + + + +
          Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -25,12 +25,12 @@
          • -
          • +
          • -
          • +
          • @@ -56,6 +56,10 @@ + + + + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -30,7 +30,7 @@
          • -
          • +
          • @@ -56,6 +56,10 @@ + + + + ${f:u(u.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -46,7 +46,11 @@ + + + +
          @@ -62,10 +66,10 @@
          - - - - + + + + @@ -158,10 +162,12 @@ "/> + "/> "/> - + "/> + "/> "/> "/> Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -46,7 +46,11 @@ + + + +
          @@ -63,10 +67,10 @@ - - + + + + + + + + + + + + + + + + + + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -52,6 +52,7 @@ +
          - - - - + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -56,6 +56,10 @@ + + + + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp 2009-01-16 23:47:45 UTC (rev 1680) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp 2009-01-20 01:13:58 UTC (rev 1681) @@ -57,6 +57,10 @@ + + + + ${f:u(u.id)} From svnnotify @ sourceforge.jp Tue Jan 20 14:47:24 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 14:47:24 +0900 Subject: [pal-cvs 3947] [1682] display own evnet for facilities. Message-ID: <1232430444.936958.25658.nullmailer@users.sourceforge.jp> Revision: 1682 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1682 Author: shinsuke Date: 2009-01-20 14:47:24 +0900 (Tue, 20 Jan 2009) Log Message: ----------- display own evnet for facilities. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/OnetimeScheduleService.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-20 05:47:24 UTC (rev 1682) @@ -78,11 +78,12 @@ eventInDayItems.add(new ArrayList>(5)); } + String userId = request.getRemoteUser(); Integer facilityId = Integer.parseInt(calendarForm.facilityId); facility = facilityService.getFacility(facilityId); List ssmList = onetimeScheduleService .getFacilityScheduleMappingList(facilityId, cal.getTime(), - nextCal.getTime()); + nextCal.getTime(), userId); SchedulerUtil.createFacilityDayForOnetime(tYear, tMonth, tDate, ssmList, eventInDayItems, allDayEventInDayItems); @@ -104,7 +105,7 @@ List rsmList = repeatScheduleService .getFacilityScheduleMappingList(facilityId, cal.getTime(), - nextCal.getTime()); + nextCal.getTime(), userId); SchedulerUtil.createFacilityDayForRepeat(tYear, tMonth, tDate, tDay, rsmList, eventInDayItems, allDayEventInDayItems); @@ -220,17 +221,18 @@ allDayEventInWeekItems.add(new ArrayList>(5)); } + String userId = request.getRemoteUser(); Integer facilityId = Integer.parseInt(calendarForm.facilityId); facility = facilityService.getFacility(facilityId); List fsmList1 = onetimeScheduleService .getFacilityScheduleMappingList(facilityId, calendarList.get(0) - .getTime(), calendarList.get(6).getTime()); + .getTime(), calendarList.get(6).getTime(), userId); SchedulerUtil.createFacilityWeekForOnetime(indexMap, fsmList1, eventInWeekItems, allDayEventInWeekItems); List fsmList2 = repeatScheduleService .getFacilityScheduleMappingList(facilityId, calendarList.get(0) - .getTime(), calendarList.get(6).getTime()); + .getTime(), calendarList.get(6).getTime(), userId); SchedulerUtil.createFacilityWeekForRepeat(indexMap, fsmList2, eventInWeekItems, allDayEventInWeekItems, weekDayItems); @@ -271,17 +273,18 @@ int endDateIndex = indexMap.get(lastYear + "-" + lastMonth + "-" + lastDate); + String userId = request.getRemoteUser(); Integer facilityId = Integer.parseInt(calendarForm.facilityId); facility = facilityService.getFacility(facilityId); List ssmList = onetimeScheduleService .getFacilityScheduleMappingList(facilityId, startCal.getTime(), - endCal.getTime()); + endCal.getTime(), userId); SchedulerUtil.createFacilityMonthForOnetime(firstDateIndex, endDateIndex, indexMap, ssmList, calendarDayItems); List rsmList = repeatScheduleService .getFacilityScheduleMappingList(facilityId, startCal.getTime(), - endCal.getTime()); + endCal.getTime(), userId); SchedulerUtil.createFacilityMonthForRepeat(firstDateIndex, endDateIndex, indexMap, rsmList, calendarDayItems); @@ -387,15 +390,16 @@ allDayEventInWeekItems.add(new ArrayList>(5)); } + String userId = request.getRemoteUser(); List ssmList = onetimeScheduleService .getFacilityScheduleMappingList(facility.getId(), startCal - .getTime(), endCal.getTime()); + .getTime(), endCal.getTime(), userId); SchedulerUtil.createFacilityWeekForOnetime(indexMap, ssmList, eventInWeekItems, allDayEventInWeekItems); List rsmList = repeatScheduleService .getFacilityScheduleMappingList(facility.getId(), startCal - .getTime(), endCal.getTime()); + .getTime(), endCal.getTime(), userId); SchedulerUtil.createFacilityWeekForRepeat(indexMap, rsmList, eventInWeekItems, allDayEventInWeekItems, weekDayItems); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/OnetimeScheduleService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/OnetimeScheduleService.java 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/OnetimeScheduleService.java 2009-01-20 05:47:24 UTC (rev 1682) @@ -2,12 +2,14 @@ import java.io.Serializable; import java.sql.Timestamp; +import java.util.ArrayList; import java.util.Date; import java.util.List; import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.dxo.PagerDxo; import jp.sf.pal.scheduler.common.util.PagingResultBeanWrapper; +import jp.sf.pal.scheduler.db.allcommon.bhv.setup.ConditionBeanSetupper; import jp.sf.pal.scheduler.db.allcommon.cbean.PagingResultBean; import jp.sf.pal.scheduler.db.cbean.EventScheduleCB; import jp.sf.pal.scheduler.db.cbean.EventScheduleMappingCB; @@ -39,7 +41,7 @@ private PagerDxo pagerDxo; public List getFacilityScheduleMappingList( - Integer facilityId, Date fromDate, Date toDate) { + Integer facilityId, Date fromDate, Date toDate, final String userId) { FacilityScheduleMappingCB cb = new FacilityScheduleMappingCB(); // setup @@ -54,7 +56,24 @@ cb.query().queryEventSchedule().addOrderBy_StartDate_Asc(); - return facilityScheduleMappingBhv.selectList(cb); + List fsmList = facilityScheduleMappingBhv + .selectList(cb); + + if (userId != null) { + List esList = new ArrayList(); + for (FacilityScheduleMapping fsm : fsmList) { + esList.add(fsm.getEventSchedule()); + } + final ConditionBeanSetupper setupper = new ConditionBeanSetupper() { + public void setup(EventScheduleMappingCB cb) { + cb.query().setUserId_Equal(userId); + } + }; + eventScheduleBhv.loadEventScheduleMappingList(esList, setupper); + } + + // TODO performance + return fsmList; } public List getPersonalScheduleMappingList( Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/RepeatScheduleService.java 2009-01-20 05:47:24 UTC (rev 1682) @@ -2,12 +2,14 @@ import java.io.Serializable; import java.sql.Timestamp; +import java.util.ArrayList; import java.util.Date; import java.util.List; import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.dxo.PagerDxo; import jp.sf.pal.scheduler.common.util.PagingResultBeanWrapper; +import jp.sf.pal.scheduler.db.allcommon.bhv.setup.ConditionBeanSetupper; import jp.sf.pal.scheduler.db.allcommon.cbean.PagingResultBean; import jp.sf.pal.scheduler.db.allcommon.cbean.UnionQuery; import jp.sf.pal.scheduler.db.cbean.EventScheduleCB; @@ -40,7 +42,8 @@ private PagerDxo pagerDxo; public List getFacilityScheduleMappingList( - final Integer facilityId, final Date fromDate, final Date toDate) { + final Integer facilityId, final Date fromDate, final Date toDate, + final String userId) { FacilityScheduleMappingCB cb = new FacilityScheduleMappingCB(); // setup @@ -66,7 +69,24 @@ }); cb.query().queryEventSchedule().addOrderBy_StartDate_Asc(); - return facilityScheduleMappingBhv.selectList(cb); + List fsmList = facilityScheduleMappingBhv + .selectList(cb); + + if (userId != null) { + List esList = new ArrayList(); + for (FacilityScheduleMapping fsm : fsmList) { + esList.add(fsm.getEventSchedule()); + } + final ConditionBeanSetupper setupper = new ConditionBeanSetupper() { + public void setup(EventScheduleMappingCB cb) { + cb.query().setUserId_Equal(userId); + } + }; + eventScheduleBhv.loadEventScheduleMappingList(esList, setupper); + } + + // TODO performance + return fsmList; } public List getPersonalScheduleMappingList( Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/util/SchedulerUtil.java 2009-01-20 05:47:24 UTC (rev 1682) @@ -13,6 +13,7 @@ import java.util.Set; import jp.sf.pal.scheduler.SchedulerConstants; +import jp.sf.pal.scheduler.common.CommonConstants; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; import jp.sf.pal.scheduler.common.util.DateUtil; @@ -283,7 +284,7 @@ public static Map createEvent(EventSchedule eventSchedule, boolean start, boolean end) { - Map map = new HashMap(6); + Map map = new HashMap(7); map.put("id", eventSchedule.getId().toString()); map.put("title", eventSchedule.getTitle()); map.put("secret", eventSchedule.getSecret()); @@ -305,6 +306,12 @@ map.put("repeat", "true"); map.put("type", ((EventSchedule) eventSchedule).getType()); } + if (eventSchedule.getEventScheduleMappingList() != null + && !eventSchedule.getEventScheduleMappingList().isEmpty()) { + map.put("open", CommonConstants.TRUE); + } else { + map.put("open", CommonConstants.FALSE); + } return map; } @@ -312,7 +319,7 @@ public static Map createEventWithCurrentDate( EventSchedule eventSchedule, boolean start, boolean end, String currentDate) { - Map map = new HashMap(9); + Map map = new HashMap(10); map.put("id", eventSchedule.getId().toString()); map.put("title", eventSchedule.getTitle()); map.put("secret", eventSchedule.getSecret()); @@ -334,6 +341,12 @@ map.put("repeat", "true"); map.put("type", ((EventSchedule) eventSchedule).getType()); } + if (eventSchedule.getEventScheduleMappingList() != null + && !eventSchedule.getEventScheduleMappingList().isEmpty()) { + map.put("open", CommonConstants.TRUE); + } else { + map.put("open", CommonConstants.FALSE); + } // set target date // TODO needs null check? Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityday.jsp 2009-01-20 05:47:24 UTC (rev 1682) @@ -91,8 +91,8 @@
          • - - + + ${f:h(event.title)} ${f:h(event.title)} @@ -113,8 +113,8 @@
            • ${f:h(event.time)}
              - - + + ${f:h(event.title)} ${f:h(event.title)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilitymonth.jsp 2009-01-20 05:47:24 UTC (rev 1682) @@ -95,8 +95,8 @@
              • - - + + ${f:h(event.title)} ${f:h(event.title)} @@ -105,8 +105,8 @@
              • ${f:h(event.time)}
                - - + + ${f:h(event.title)} ${f:h(event.title)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp 2009-01-20 01:13:58 UTC (rev 1681) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/calendar/facilityweek.jsp 2009-01-20 05:47:24 UTC (rev 1682) @@ -94,8 +94,8 @@
                • - - + + ${f:h(event.title)} ${f:h(event.title)} @@ -113,8 +113,8 @@
                • ${f:h(event.time)}
                  - - + + ${f:h(event.title)} ${f:h(event.title)} From svnnotify @ sourceforge.jp Tue Jan 20 15:46:17 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 15:46:17 +0900 Subject: [pal-cvs 3948] [1683] allow you to update a target event and later. Message-ID: <1232433977.204203.23233.nullmailer@users.sourceforge.jp> Revision: 1683 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1683 Author: shinsuke Date: 2009-01-20 15:46:16 +0900 (Tue, 20 Jan 2009) Log Message: ----------- allow you to update a target event and later. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java 2009-01-20 05:47:24 UTC (rev 1682) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java 2009-01-20 06:46:16 UTC (rev 1683) @@ -305,6 +305,52 @@ } @Execute(validator = true, input = "edit.jsp") + public String updateitandlater() { + if (!SchedulerUtil.compare(repeatScheduleForm.getStartDate(), + repeatScheduleForm.getStartTime(), repeatScheduleForm + .getEndDate(), repeatScheduleForm.getEndTime())) { + throw new ActionMessagesException("errors.invalid_end_date"); + } + try { + int ty = Integer.parseInt(repeatScheduleForm.tYear); + int tm = Integer.parseInt(repeatScheduleForm.tMonth); + int td = Integer.parseInt(repeatScheduleForm.tDate); + Date d1 = DateUtil.get(ty - 1900, tm - 1, td - 1); + EventSchedule prevEventSchedule = getEventSchedule(); + prevEventSchedule.setEndDate(d1); + repeatScheduleService.store(prevEventSchedule); + + repeatScheduleForm.mode = CommonConstants.CREATE_MODE; + Date d2 = DateUtil.get(ty - 1900, tm - 1, td); + EventSchedule eventSchedule = createEventSchedule(); + eventSchedule.setStartDate(d2); + eventSchedule.setParentId(prevEventSchedule.getId()); + repeatScheduleService.store(eventSchedule); + + SAStrutsUtil.addMessage(request, + "success.update_eventSchedule_and_later"); + + repeatScheduleForm.id = eventSchedule.getId().toString(); + + repeatScheduleForm.mode = CommonConstants.CONFIRM_MODE; + + // update edit page + loadDetailsPageParameters(); + + loadEventSchedule(); + + return "confirm.jsp"; + } catch (ActionMessagesException e) { + log.error(e.getMessage(), e); + throw e; + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException( + "errors.failed_to_update_eventSchedule"); + } + } + + @Execute(validator = true, input = "edit.jsp") public String update() { if (!SchedulerUtil.compare(repeatScheduleForm.getStartDate(), repeatScheduleForm.getStartTime(), repeatScheduleForm @@ -598,6 +644,15 @@ return eventSchedule; } + private EventSchedule getEventSchedule() { + String userId = request.getRemoteUser(); + EventSchedule eventSchedule = repeatScheduleService.getEventSchedule( + Long.parseLong(repeatScheduleForm.id), null); + eventSchedule.setUpdatedBy(userId); + + return eventSchedule; + } + private EventSchedule createDeletedEventSchedule(EventSchedule eventSchedule) { String userId = request.getRemoteUser(); EventSchedule deletedEventSchedule = new EventSchedule(); Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java 2009-01-20 05:47:24 UTC (rev 1682) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java 2009-01-20 06:46:16 UTC (rev 1683) @@ -298,6 +298,52 @@ } @Execute(validator = true, input = "edit.jsp") + public String updateitandlater() { + if (!SchedulerUtil.compare(repeatScheduleForm.getStartDate(), + repeatScheduleForm.getStartTime(), repeatScheduleForm + .getEndDate(), repeatScheduleForm.getEndTime())) { + throw new ActionMessagesException("errors.invalid_end_date"); + } + try { + int ty = Integer.parseInt(repeatScheduleForm.tYear); + int tm = Integer.parseInt(repeatScheduleForm.tMonth); + int td = Integer.parseInt(repeatScheduleForm.tDate); + Date d1 = DateUtil.get(ty - 1900, tm - 1, td - 1); + EventSchedule prevEventSchedule = getEventSchedule(); + prevEventSchedule.setEndDate(d1); + repeatScheduleService.store(prevEventSchedule); + + repeatScheduleForm.mode = CommonConstants.CREATE_MODE; + Date d2 = DateUtil.get(ty - 1900, tm - 1, td); + EventSchedule eventSchedule = createEventSchedule(); + eventSchedule.setStartDate(d2); + eventSchedule.setParentId(prevEventSchedule.getId()); + repeatScheduleService.store(eventSchedule); + + SAStrutsUtil.addMessage(request, + "success.update_eventSchedule_and_later"); + + repeatScheduleForm.id = eventSchedule.getId().toString(); + + repeatScheduleForm.mode = CommonConstants.CONFIRM_MODE; + + // update edit page + loadDetailsPageParameters(); + + loadEventSchedule(); + + return "confirm.jsp"; + } catch (ActionMessagesException e) { + log.error(e.getMessage(), e); + throw e; + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException( + "errors.failed_to_update_eventSchedule"); + } + } + + @Execute(validator = true, input = "edit.jsp") public String update() { if (!SchedulerUtil.compare(repeatScheduleForm.getStartDate(), repeatScheduleForm.getStartTime(), repeatScheduleForm @@ -590,6 +636,15 @@ return eventSchedule; } + private EventSchedule getEventSchedule() { + String userId = request.getRemoteUser(); + EventSchedule eventSchedule = repeatScheduleService.getEventSchedule( + Long.parseLong(repeatScheduleForm.id), null); + eventSchedule.setUpdatedBy(userId); + + return eventSchedule; + } + private EventSchedule createDeletedEventSchedule(EventSchedule eventSchedule) { String userId = request.getRemoteUser(); EventSchedule deletedEventSchedule = new EventSchedule(); Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp 2009-01-20 05:47:24 UTC (rev 1682) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp 2009-01-20 06:46:16 UTC (rev 1683) @@ -159,6 +159,7 @@ "/> + "/> "/> Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp 2009-01-20 05:47:24 UTC (rev 1682) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp 2009-01-20 06:46:16 UTC (rev 1683) @@ -158,6 +158,7 @@ "/> + "/> "/> From svnnotify @ sourceforge.jp Tue Jan 20 18:01:07 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:01:07 +0900 Subject: [pal-cvs 3949] [1684] updated db. Message-ID: <1232442067.765681.10050.nullmailer@users.sourceforge.jp> Revision: 1684 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1684 Author: shinsuke Date: 2009-01-20 18:01:07 +0900 (Tue, 20 Jan 2009) Log Message: ----------- updated db. Modified Paths: -------------- userinfo/trunk/src/main/config/sql/others/scheduler.ddl userinfo/trunk/src/main/webapp/WEB-INF/db/userinfo.data.db -------------- next part -------------- Modified: userinfo/trunk/src/main/config/sql/others/scheduler.ddl =================================================================== --- userinfo/trunk/src/main/config/sql/others/scheduler.ddl 2009-01-20 06:46:16 UTC (rev 1683) +++ userinfo/trunk/src/main/config/sql/others/scheduler.ddl 2009-01-20 09:01:07 UTC (rev 1684) @@ -1,7 +1,6 @@ - -/********************************** -Table Name: Event Schedule -**********************************/ +/**********************************/ +/* Table Name: Event Schedule */ +/**********************************/ CREATE TABLE event_schedule( id BIGINT(20) NOT NULL IDENTITY PRIMARY KEY, title VARCHAR(100) NOT NULL, @@ -12,6 +11,7 @@ end_time TIME, secret VARCHAR(1) DEFAULT 'F' NOT NULL, type VARCHAR(10) NOT NULL, + parent_id BIGINT(20), created_time TIMESTAMP NOT NULL, created_by VARCHAR(255) NOT NULL, updated_time TIMESTAMP NOT NULL, @@ -21,9 +21,9 @@ versionNo INTEGER NOT NULL ); -/********************************** -Table Name: Event Schedule Mapping -**********************************/ +/**********************************/ +/* Table Name: Event Schedule Mapping */ +/**********************************/ CREATE TABLE event_schedule_mapping( id BIGINT(20) NOT NULL IDENTITY PRIMARY KEY, schedule_id BIGINT(20) NOT NULL, @@ -32,18 +32,18 @@ FOREIGN KEY (schedule_id) REFERENCES event_schedule (id) ); -/********************************** -Table Name: Event Schedule Content -**********************************/ +/**********************************/ +/* Table Name: Event Schedule Content */ +/**********************************/ CREATE TABLE event_schedule_content( id BIGINT(20) NOT NULL PRIMARY KEY, content VARCHAR(1000), FOREIGN KEY (id) REFERENCES event_schedule (id) ); -/********************************** -Table Name: Facility Group -**********************************/ +/**********************************/ +/* Table Name: Facility Group */ +/**********************************/ CREATE TABLE facility_group( id INTEGER NOT NULL IDENTITY PRIMARY KEY, name VARCHAR(100) NOT NULL, @@ -57,9 +57,9 @@ versionNo INTEGER DEFAULT 0 NOT NULL ); -/********************************** -Table Name: Facility -**********************************/ +/**********************************/ +/* Table Name: Facility */ +/**********************************/ CREATE TABLE facility( id INTEGER NOT NULL IDENTITY PRIMARY KEY, name VARCHAR(100) NOT NULL, @@ -75,18 +75,18 @@ FOREIGN KEY (group_id) REFERENCES facility_group (id) ); -/********************************** -Table Name: Facility Content -**********************************/ +/**********************************/ +/* Table Name: Facility Content */ +/**********************************/ CREATE TABLE facility_content( id INTEGER NOT NULL PRIMARY KEY, content VARCHAR(1000), FOREIGN KEY (id) REFERENCES facility (id) ); -/********************************** -Table Name: Facility Schedule Mapping -**********************************/ +/**********************************/ +/* Table Name: Facility Schedule Mapping */ +/**********************************/ CREATE TABLE facility_schedule_mapping( id BIGINT(20) NOT NULL IDENTITY PRIMARY KEY, schedule_id BIGINT(20) NOT NULL, Modified: userinfo/trunk/src/main/webapp/WEB-INF/db/userinfo.data.db =================================================================== (Binary files differ) From svnnotify @ sourceforge.jp Tue Jan 20 18:24:28 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:24:28 +0900 Subject: [pal-cvs 3950] [1685] use s2 2.4.33. Message-ID: <1232443468.929485.5253.nullmailer@users.sourceforge.jp> Revision: 1685 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1685 Author: shinsuke Date: 2009-01-20 18:24:28 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- addresslist/trunk/pom.xml -------------- next part -------------- Modified: addresslist/trunk/pom.xml =================================================================== --- addresslist/trunk/pom.xml 2009-01-20 09:01:07 UTC (rev 1684) +++ addresslist/trunk/pom.xml 2009-01-20 09:24:28 UTC (rev 1685) @@ -150,12 +150,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:29:53 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:29:53 +0900 Subject: [pal-cvs 3951] [1686] use s2 2.4.33. Message-ID: <1232443793.664046.10071.nullmailer@users.sourceforge.jp> Revision: 1686 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1686 Author: shinsuke Date: 2009-01-20 18:29:53 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- board/trunk/pom.xml -------------- next part -------------- Modified: board/trunk/pom.xml =================================================================== --- board/trunk/pom.xml 2009-01-20 09:24:28 UTC (rev 1685) +++ board/trunk/pom.xml 2009-01-20 09:29:53 UTC (rev 1686) @@ -150,12 +150,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:30:22 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:30:22 +0900 Subject: [pal-cvs 3952] [1687] use s2 2.4.33. Message-ID: <1232443822.911698.11218.nullmailer@users.sourceforge.jp> Revision: 1687 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1687 Author: shinsuke Date: 2009-01-20 18:30:22 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- bookmark/trunk/pom.xml -------------- next part -------------- Modified: bookmark/trunk/pom.xml =================================================================== --- bookmark/trunk/pom.xml 2009-01-20 09:29:53 UTC (rev 1686) +++ bookmark/trunk/pom.xml 2009-01-20 09:30:22 UTC (rev 1687) @@ -152,12 +152,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:30:49 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:30:49 +0900 Subject: [pal-cvs 3953] [1688] use s2 2.4.33. Message-ID: <1232443849.812801.11389.nullmailer@users.sourceforge.jp> Revision: 1688 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1688 Author: shinsuke Date: 2009-01-20 18:30:49 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- chat/trunk/pom.xml -------------- next part -------------- Modified: chat/trunk/pom.xml =================================================================== --- chat/trunk/pom.xml 2009-01-20 09:30:22 UTC (rev 1687) +++ chat/trunk/pom.xml 2009-01-20 09:30:49 UTC (rev 1688) @@ -109,12 +109,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:31:35 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:31:35 +0900 Subject: [pal-cvs 3954] [1689] use s2 2.4.33. Message-ID: <1232443895.380168.11903.nullmailer@users.sourceforge.jp> Revision: 1689 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1689 Author: shinsuke Date: 2009-01-20 18:31:34 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- notepad/trunk/pom.xml -------------- next part -------------- Modified: notepad/trunk/pom.xml =================================================================== --- notepad/trunk/pom.xml 2009-01-20 09:30:49 UTC (rev 1688) +++ notepad/trunk/pom.xml 2009-01-20 09:31:34 UTC (rev 1689) @@ -152,12 +152,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:32:40 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:32:40 +0900 Subject: [pal-cvs 3955] [1690] use s2 2.4.33 and mail. Message-ID: <1232443960.436877.13645.nullmailer@users.sourceforge.jp> Revision: 1690 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1690 Author: shinsuke Date: 2009-01-20 18:32:39 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33 and mail. Modified Paths: -------------- scheduler/trunk/pom.xml -------------- next part -------------- Modified: scheduler/trunk/pom.xml =================================================================== --- scheduler/trunk/pom.xml 2009-01-20 09:31:34 UTC (rev 1689) +++ scheduler/trunk/pom.xml 2009-01-20 09:32:39 UTC (rev 1690) @@ -65,6 +65,12 @@ The Seasar Foundation Maven2 Repository http://maven.seasar.org/maven2 + + maven-repository.dev.java.net + java.net Maven2 Repository + https://maven-repository.dev.java.net/nonav/repository/ + legacy + @@ -150,12 +156,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts @@ -193,6 +199,22 @@ s2-dao-tiger 1.0.48 + + + org.apache.velocity + velocity + 1.6 + + + javax.mail + mail + 1.4.1 + + + javax.activation + activation + 1.1.1 + From svnnotify @ sourceforge.jp Tue Jan 20 18:32:58 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:32:58 +0900 Subject: [pal-cvs 3956] [1691] use s2 2.4.33. Message-ID: <1232443978.373683.14008.nullmailer@users.sourceforge.jp> Revision: 1691 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1691 Author: shinsuke Date: 2009-01-20 18:32:58 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- timecard/trunk/pom.xml -------------- next part -------------- Modified: timecard/trunk/pom.xml =================================================================== --- timecard/trunk/pom.xml 2009-01-20 09:32:39 UTC (rev 1690) +++ timecard/trunk/pom.xml 2009-01-20 09:32:58 UTC (rev 1691) @@ -156,12 +156,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:33:24 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:33:24 +0900 Subject: [pal-cvs 3957] [1692] use s2 2.4.33. Message-ID: <1232444004.797132.14207.nullmailer@users.sourceforge.jp> Revision: 1692 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1692 Author: shinsuke Date: 2009-01-20 18:33:24 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- todolist/trunk/pom.xml -------------- next part -------------- Modified: todolist/trunk/pom.xml =================================================================== --- todolist/trunk/pom.xml 2009-01-20 09:32:58 UTC (rev 1691) +++ todolist/trunk/pom.xml 2009-01-20 09:33:24 UTC (rev 1692) @@ -150,12 +150,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:33:47 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:33:47 +0900 Subject: [pal-cvs 3958] [1693] use s2 2.4.33. Message-ID: <1232444027.028432.14502.nullmailer@users.sourceforge.jp> Revision: 1693 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1693 Author: shinsuke Date: 2009-01-20 18:33:46 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- userinfo/trunk/pom.xml -------------- next part -------------- Modified: userinfo/trunk/pom.xml =================================================================== --- userinfo/trunk/pom.xml 2009-01-20 09:33:24 UTC (rev 1692) +++ userinfo/trunk/pom.xml 2009-01-20 09:33:46 UTC (rev 1693) @@ -190,12 +190,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Tue Jan 20 18:34:16 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 20 Jan 2009 18:34:16 +0900 Subject: [pal-cvs 3959] [1694] use s2 2.4.33. Message-ID: <1232444056.837629.15571.nullmailer@users.sourceforge.jp> Revision: 1694 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1694 Author: shinsuke Date: 2009-01-20 18:34:16 +0900 (Tue, 20 Jan 2009) Log Message: ----------- use s2 2.4.33. Modified Paths: -------------- vfs-portlets/trunk/pom.xml -------------- next part -------------- Modified: vfs-portlets/trunk/pom.xml =================================================================== --- vfs-portlets/trunk/pom.xml 2009-01-20 09:33:46 UTC (rev 1693) +++ vfs-portlets/trunk/pom.xml 2009-01-20 09:34:16 UTC (rev 1694) @@ -183,12 +183,12 @@ org.seasar.container s2-extension - 2.4.29 + 2.4.33 org.seasar.container s2-tiger - 2.4.29 + 2.4.33 org.seasar.sastruts From svnnotify @ sourceforge.jp Wed Jan 21 17:49:55 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 21 Jan 2009 17:49:55 +0900 Subject: [pal-cvs 3960] [1695] updated installation-guide Message-ID: <1232527795.105964.9165.nullmailer@users.sourceforge.jp> Revision: 1695 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1695 Author: sone Date: 2009-01-21 17:49:54 +0900 (Wed, 21 Jan 2009) Log Message: ----------- updated installation-guide Modified Paths: -------------- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex -------------- next part -------------- Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-20 09:34:16 UTC (rev 1694) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-cli-install-steps.tex 2009-01-21 08:49:54 UTC (rev 1695) @@ -427,18 +427,37 @@ \section{PALポータルの実行} - コマンドライン上で + + 端末エミュレータ上で + \begin{screen} \$ [インストール場所]/bin/startup.sh \end{screen} を実行して、PALポータルを起動してください。起動後、http://localhost:8080/ にアクセスして、PALポータルのトップページが表示されることを確認してください。 +\if0 + +% N2 Portal 2.0 + +ただし、N2 Portal 2.0 の場合、N2 Collabo が組み込まれているため、 + +コマンドライン上で + +\begin{screen} +\$ sh [インストール場所]/database/bin/run.sh +\end{screen} + +を実行し、N2 Collabo の DB を起動してからポータルを起動してください。 + +\fi + + \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/palportal_top.eps} -\caption{TBD} +\caption{PALポータルのトップページ} \label{fig:palportal_top} \end{center} \end{figure} Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-20 09:34:16 UTC (rev 1694) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-gui-install-steps.tex 2009-01-21 08:49:54 UTC (rev 1695) @@ -242,17 +242,38 @@ \begin{screen} \begin{small} -\begin{verbatim} -(Unix 系 OS の場合) -$ [インストール場所]/bin/startup.sh -(Windows の場合) -> [インストール場所]/bin/startup.bat -\end{verbatim} +% \begin{verbatim} +(Unix 系 OS の場合) \\ +\$ [インストール場所]/bin/startup.sh \\ +(Windows の場合) \\ +$>$ [インストール場所]\yen bin\yen startup.bat +% \end{verbatim} \end{small} \end{screen} を実行して、PALポータルを起動してください。起動後、http://localhost:8080/ にアクセスして、PALポータルのトップページが表示されることを確認してください。 +\if0 + +% N2 Portal 2.0 + +ただし、N2 Portal 2.0 の場合、N2 Collabo が組み込まれているため、 +端末エミュレータ(Windows の場合は DOS 窓)上で + +\begin{screen} +\begin{small} +(Unix 系 OS の場合) \\ +\$ sh [インストール場所]/database/bin/run.sh \\ +(Windows の場合) \\ +$>$ [インストール場所]\yen database\yen bin\yen run.bat +\end{small} +\end{screen} + +を実行し、N2 Collabo の DB を起動してからポータルを起動してください。 + +\fi + + \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/palportal_top.eps} From svnnotify @ sourceforge.jp Wed Jan 21 17:54:55 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 21 Jan 2009 17:54:55 +0900 Subject: [pal-cvs 3961] [1696] fixed installation-guide Message-ID: <1232528095.911875.14788.nullmailer@users.sourceforge.jp> Revision: 1696 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1696 Author: sone Date: 2009-01-21 17:54:55 +0900 (Wed, 21 Jan 2009) Log Message: ----------- fixed installation-guide Modified Paths: -------------- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex -------------- next part -------------- Modified: pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex =================================================================== --- pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex 2009-01-21 08:49:54 UTC (rev 1695) +++ pal-portal/docs/ja/installation-guide/trunk/src/tex/guide-db-mysql.tex 2009-01-21 08:54:55 UTC (rev 1696) @@ -43,7 +43,7 @@ user=mysql basedir=/var/lib -[mysqld\_safe] +[mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid From svnnotify @ sourceforge.jp Sat Jan 24 07:21:45 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 24 Jan 2009 07:21:45 +0900 Subject: [pal-cvs 3962] [1697] send notification mail. Message-ID: <1232749305.959833.21645.nullmailer@users.sourceforge.jp> Revision: 1697 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1697 Author: shinsuke Date: 2009-01-24 07:21:45 +0900 (Sat, 24 Jan 2009) Log Message: ----------- send notification mail. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java scheduler/trunk/src/main/resources/application.properties scheduler/trunk/src/main/resources/application_ja.properties scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp Added Paths: ----------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/LocaleUtil.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/NotificationUtil.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/VelocityUtil.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java scheduler/trunk/src/main/webapp/WEB-INF/template/ scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-schedule.vm scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-facility.vm scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-schedule.vm -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/ConfigAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -8,6 +8,7 @@ import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.NotificationUtil; import jp.sf.pal.scheduler.common.util.SAStrutsUtil; import jp.sf.pal.scheduler.form.ConfigForm; import jp.sf.pal.scheduler.util.SchedulerUtil; @@ -34,6 +35,17 @@ protected String displayIndex() { configForm.holidays = ConfigUtil.getString( SchedulerConstants.SCHEDULER_HOLIDAYS, ""); + configForm.notificationTemplateEncoding = ConfigUtil.getString( + NotificationUtil.TEMPLATE_ENCODING, "UTF-8"); + configForm.notificationSmtpHost = ConfigUtil.getString( + NotificationUtil.SMTP_HOST, "localhost"); + // TODO user, password for smtp + configForm.notificationSubjectEncoding = ConfigUtil.getString( + NotificationUtil.SUBJECT_ENCODING, "UTF-8"); + configForm.notificationBodyEncoding = ConfigUtil.getString( + NotificationUtil.BODY_ENCODING, "UTF-8"); + configForm.notificationDefaultFromEmail = ConfigUtil.getString( + NotificationUtil.DEFAULT_FROM, "scheduler @ pal.sourceforge.jp"); return "index.jsp"; } @@ -48,6 +60,17 @@ ConfigUtil.init(request); ConfigUtil.setProperty(SchedulerConstants.SCHEDULER_HOLIDAYS, configForm.holidays); + ConfigUtil.setProperty(NotificationUtil.TEMPLATE_ENCODING, + configForm.notificationTemplateEncoding); + ConfigUtil.setProperty(NotificationUtil.SMTP_HOST, + configForm.notificationSmtpHost); + // TODO user, password for smtp + ConfigUtil.setProperty(NotificationUtil.SUBJECT_ENCODING, + configForm.notificationSubjectEncoding); + ConfigUtil.setProperty(NotificationUtil.BODY_ENCODING, + configForm.notificationBodyEncoding); + ConfigUtil.setProperty(NotificationUtil.DEFAULT_FROM, + configForm.notificationDefaultFromEmail); if (configForm.holidays == null) { configForm.holidays = ""; Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/CalendarAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -8,11 +8,13 @@ import java.util.List; import java.util.Map; +import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.VelocityUtil; import jp.sf.pal.scheduler.db.exentity.Facility; import jp.sf.pal.scheduler.db.exentity.FacilityGroup; import jp.sf.pal.scheduler.db.exentity.FacilityScheduleMapping; @@ -23,13 +25,18 @@ import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.util.SchedulerUtil; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.seasar.struts.annotation.ActionForm; import org.seasar.struts.annotation.Execute; +import org.seasar.struts.exception.ActionMessagesException; public class CalendarAction implements Serializable { private static final long serialVersionUID = -222687807313390813L; + private static final Log log = LogFactory.getLog(CalendarAction.class); + public List> calendarDayItems; public List> weekDayItems; @@ -63,6 +70,8 @@ private transient HttpServletRequest request; + private transient ServletContext servletContext; + private String displayFacilityDay() { Calendar cal = calendarForm.getTargetCalendar(); calendarDayItems = SchedulerUtil.createSideCalendar(cal); @@ -419,6 +428,13 @@ @Execute(validator = false, input = "error.jsp") public String index() { ConfigUtil.init(request); + try { + VelocityUtil.init(servletContext); + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException("errors.failed_to_init_velocity", + e); + } return displayFacilityWeek(); } @@ -580,4 +596,12 @@ this.request = request; } + public ServletContext getServletContext() { + return servletContext; + } + + public void setServletContext(ServletContext servletContext) { + this.servletContext = servletContext; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/OnetimeScheduleAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -27,6 +27,7 @@ import jp.sf.pal.scheduler.pager.OnetimeSchedulePager; import jp.sf.pal.scheduler.service.FacilityGroupService; import jp.sf.pal.scheduler.service.FacilityService; +import jp.sf.pal.scheduler.service.NotificationService; import jp.sf.pal.scheduler.service.OnetimeScheduleService; import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.service.UserInfoService; @@ -61,6 +62,8 @@ private RepeatScheduleService repeatScheduleService; + private NotificationService notificationService; + private UserInfoService userInfoService; private FacilityService facilityService; @@ -290,6 +293,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); onetimeScheduleService.store(eventSchedule); + + if (onetimeScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getCreatedBy(), + eventSchedule, "create-onetime-facility.vm"); + onetimeScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.create_eventSchedule"); onetimeScheduleForm.id = String.valueOf(eventSchedule.getId()); @@ -358,6 +368,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); onetimeScheduleService.store(eventSchedule); + + if (onetimeScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getUpdatedBy(), + eventSchedule, "update-onetime-facility.vm"); + onetimeScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.update_eventSchedule"); onetimeScheduleForm.mode = CommonConstants.CONFIRM_MODE; @@ -898,4 +915,12 @@ this.repeatScheduleService = repeatScheduleService; } + public NotificationService getNotificationService() { + return notificationService; + } + + public void setNotificationService(NotificationService notificationService) { + this.notificationService = notificationService; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/facility/RepeatScheduleAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -27,6 +27,7 @@ import jp.sf.pal.scheduler.pager.RepeatSchedulePager; import jp.sf.pal.scheduler.service.FacilityGroupService; import jp.sf.pal.scheduler.service.FacilityService; +import jp.sf.pal.scheduler.service.NotificationService; import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.service.UserInfoService; import jp.sf.pal.scheduler.util.SchedulerUtil; @@ -57,6 +58,8 @@ private RepeatScheduleService repeatScheduleService; + private NotificationService notificationService; + private UserInfoService userInfoService; private FacilityService facilityService; @@ -283,6 +286,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); repeatScheduleService.store(eventSchedule); + + if (repeatScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getCreatedBy(), + eventSchedule, "create-repeat-facility.vm"); + repeatScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.create_eventSchedule"); repeatScheduleForm.id = String.valueOf(eventSchedule.getId()); @@ -327,6 +337,12 @@ eventSchedule.setParentId(prevEventSchedule.getId()); repeatScheduleService.store(eventSchedule); + if (repeatScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getUpdatedBy(), + eventSchedule, "update-repeat-facility.vm"); + repeatScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.update_eventSchedule_and_later"); @@ -360,6 +376,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); repeatScheduleService.store(eventSchedule); + + if (repeatScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getUpdatedBy(), + eventSchedule, "update-repeat-facility.vm"); + repeatScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.update_eventSchedule"); repeatScheduleForm.mode = CommonConstants.CONFIRM_MODE; @@ -902,4 +925,12 @@ this.facilityGroupService = facilityGroupService; } + public NotificationService getNotificationService() { + return notificationService; + } + + public void setNotificationService(NotificationService notificationService) { + this.notificationService = notificationService; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/CalendarAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -8,11 +8,13 @@ import java.util.List; import java.util.Map; +import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import jp.sf.pal.scheduler.SchedulerConstants; import jp.sf.pal.scheduler.common.util.CalendarUtil; import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.VelocityUtil; import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; import jp.sf.pal.scheduler.db.exentity.GroupMapping; import jp.sf.pal.scheduler.db.exentity.RoleMapping; @@ -24,13 +26,18 @@ import jp.sf.pal.scheduler.util.SchedulerUtil; import org.apache.commons.lang.StringUtils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.seasar.struts.annotation.ActionForm; import org.seasar.struts.annotation.Execute; +import org.seasar.struts.exception.ActionMessagesException; public class CalendarAction implements Serializable { private static final long serialVersionUID = -222687807313390813L; + private static final Log log = LogFactory.getLog(CalendarAction.class); + public List> calendarDayItems; public List> weekDayItems; @@ -60,6 +67,8 @@ private transient HttpServletRequest request; + private transient ServletContext servletContext; + private String displayPersonalDay() { Calendar cal = calendarForm.getTargetCalendar(); calendarDayItems = SchedulerUtil.createSideCalendar(cal); @@ -439,6 +448,13 @@ @Execute(validator = false, input = "error.jsp") public String index() { ConfigUtil.init(request); + try { + VelocityUtil.init(servletContext); + } catch (Exception e) { + log.error(e.getMessage(), e); + throw new ActionMessagesException("errors.failed_to_init_velocity", + e); + } return displayPersonalWeek(); } @@ -586,4 +602,12 @@ this.userInfoService = userInfoService; } + public ServletContext getServletContext() { + return servletContext; + } + + public void setServletContext(ServletContext servletContext) { + this.servletContext = servletContext; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/OnetimeScheduleAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -27,6 +27,7 @@ import jp.sf.pal.scheduler.pager.OnetimeSchedulePager; import jp.sf.pal.scheduler.service.FacilityGroupService; import jp.sf.pal.scheduler.service.FacilityService; +import jp.sf.pal.scheduler.service.NotificationService; import jp.sf.pal.scheduler.service.OnetimeScheduleService; import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.service.UserInfoService; @@ -61,6 +62,8 @@ private RepeatScheduleService repeatScheduleService; + private NotificationService notificationService; + private UserInfoService userInfoService; private FacilityService facilityService; @@ -284,6 +287,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); onetimeScheduleService.store(eventSchedule); + + if (onetimeScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getCreatedBy(), + eventSchedule, "create-onetime-schedule.vm"); + onetimeScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.create_eventSchedule"); onetimeScheduleForm.id = String.valueOf(eventSchedule.getId()); @@ -352,6 +362,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); onetimeScheduleService.store(eventSchedule); + + if (onetimeScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getUpdatedBy(), + eventSchedule, "update-onetime-schedule.vm"); + onetimeScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.update_eventSchedule"); onetimeScheduleForm.mode = CommonConstants.CONFIRM_MODE; @@ -890,4 +907,12 @@ this.repeatScheduleService = repeatScheduleService; } + public NotificationService getNotificationService() { + return notificationService; + } + + public void setNotificationService(NotificationService notificationService) { + this.notificationService = notificationService; + } + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/action/user/schedule/RepeatScheduleAction.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -27,6 +27,7 @@ import jp.sf.pal.scheduler.pager.RepeatSchedulePager; import jp.sf.pal.scheduler.service.FacilityGroupService; import jp.sf.pal.scheduler.service.FacilityService; +import jp.sf.pal.scheduler.service.NotificationService; import jp.sf.pal.scheduler.service.RepeatScheduleService; import jp.sf.pal.scheduler.service.UserInfoService; import jp.sf.pal.scheduler.util.SchedulerUtil; @@ -57,6 +58,8 @@ private RepeatScheduleService repeatScheduleService; + private NotificationService notificationService; + private UserInfoService userInfoService; private FacilityService facilityService; @@ -276,6 +279,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); repeatScheduleService.store(eventSchedule); + + if (repeatScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getCreatedBy(), + eventSchedule, "create-repeat-schedule.vm"); + repeatScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.create_eventSchedule"); repeatScheduleForm.id = String.valueOf(eventSchedule.getId()); @@ -320,6 +330,12 @@ eventSchedule.setParentId(prevEventSchedule.getId()); repeatScheduleService.store(eventSchedule); + if (repeatScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getUpdatedBy(), + eventSchedule, "update-repeat-schedule.vm"); + repeatScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.update_eventSchedule_and_later"); @@ -353,6 +369,13 @@ try { EventSchedule eventSchedule = createEventSchedule(); repeatScheduleService.store(eventSchedule); + + if (repeatScheduleForm.sendEmail) { + notificationService.send(eventSchedule.getUpdatedBy(), + eventSchedule, "update-repeat-schedule.vm"); + repeatScheduleForm.sendEmail = false; + } + SAStrutsUtil.addMessage(request, "success.update_eventSchedule"); repeatScheduleForm.mode = CommonConstants.CONFIRM_MODE; @@ -894,4 +917,12 @@ this.facilityGroupService = facilityGroupService; } + public NotificationService getNotificationService() { + return notificationService; + } + + public void setNotificationService(NotificationService notificationService) { + this.notificationService = notificationService; + } + } Added: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/LocaleUtil.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/LocaleUtil.java (rev 0) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/LocaleUtil.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,22 @@ +package jp.sf.pal.scheduler.common.util; + +import java.util.Locale; + +import org.apache.commons.lang.StringUtils; + +public class LocaleUtil { + public static Locale parse(String localeName) { + if (StringUtils.isEmpty(localeName)) { + return null; + } + + String[] localeNames = localeName.split("_"); + if (localeNames.length > 2) { + return new Locale(localeNames[0], localeNames[1], localeNames[2]); + } else if (localeNames.length == 2) { + return new Locale(localeNames[0], localeNames[1]); + } else { + return new Locale(localeNames[0]); + } + } +} Property changes on: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/LocaleUtil.java ___________________________________________________________________ Added: svn:eol-style + native Added: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/NotificationUtil.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/NotificationUtil.java (rev 0) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/NotificationUtil.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,127 @@ +package jp.sf.pal.scheduler.common.util; + +import java.io.StringWriter; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Properties; + +import javax.mail.Message; +import javax.mail.Session; +import javax.mail.Transport; +import javax.mail.internet.InternetAddress; +import javax.mail.internet.MimeMessage; + +import org.apache.velocity.Template; +import org.apache.velocity.VelocityContext; +import org.seasar.struts.exception.ActionMessagesException; + +public class NotificationUtil { + + public static final String TEMPLATE_ENCODING = "notification.template.encoding"; + + public static final String SMTP_HOST = "notification.smtp.host"; + + public static final String SUBJECT_ENCODING = "notification.subject.encoding"; + + public static final String BODY_ENCODING = "notification.body.encoding"; + + public static final String DEFAULT_FROM = "notification.email.from"; + + private static String[] getTemplates(String templateName, Locale locale) { + List templateList = new ArrayList(); + if (locale != null) { + if (locale.getCountry() != null) { + templateList.add("/" + locale.getLanguage() + "/" + + locale.getCountry() + "/" + templateName); + } + templateList.add("/" + locale.getLanguage() + "/" + templateName); + } + templateList.add("/" + templateName); + return templateList.toArray(new String[] {}); + } + + public static void send(String templateName, Locale locale, + String fromEmail, String toEmail, Map paramMap) { + + // set velocity context + VelocityContext context = new VelocityContext(); + for (Map.Entry entry : paramMap.entrySet()) { + context.put(entry.getKey(), entry.getValue()); + } + + StringWriter sw = new StringWriter(); + + // TODO i18n: encoding + Template template = null; + for (String templatePath : getTemplates(templateName, locale)) { + try { + template = VelocityUtil.getTemplate(templatePath, ConfigUtil + .getString(TEMPLATE_ENCODING, "UTF-8")); + } catch (Exception e) { + // nothing + } + if (template != null) { + break; + } + } + + if (template == null) { + throw new ActionMessagesException( + "errors.could_not_find_notification_template", + new Object[] { templateName, locale }); + } + try { + template.merge(context, sw); + } catch (Exception e) { + throw new ActionMessagesException( + "errors.could_not_create_notification_content", e); + } + + String content = sw.toString(); + if (content == null) { + throw new ActionMessagesException( + "errors.empty_notification_content"); + } + + int index = content.indexOf("\n"); + String subject = null; + String body = null; + if (index != -1) { + subject = content.substring(0, index); + body = content.substring(index); + } else { + // TODO should throw exception? + subject = content; + body = content; + } + + try { + Properties props = System.getProperties(); + // set smtp server + props.put("mail.smtp.host", ConfigUtil.getString(SMTP_HOST, + "localhost")); + Session session = Session.getDefaultInstance(props, null); + MimeMessage mimeMessage = new MimeMessage(session); + mimeMessage.setFrom(new InternetAddress(fromEmail)); + mimeMessage.setRecipients(Message.RecipientType.TO, toEmail); + // TODO i18n: encoding + mimeMessage.setSubject(subject, ConfigUtil.getString( + SUBJECT_ENCODING, "UTF-8")); + // TODO i18n: encoding + mimeMessage.setText(body, ConfigUtil.getString(BODY_ENCODING, + "UTF-8")); + mimeMessage.setHeader("Content-Type", "text/plain"); + mimeMessage.setSentDate(new Date()); + + Transport.send(mimeMessage); + } catch (Exception e) { + throw new ActionMessagesException( + "errors.failed_to_send_notification", new Object[] { + fromEmail, toEmail }, e); + } + + } +} Property changes on: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/NotificationUtil.java ___________________________________________________________________ Added: svn:eol-style + native Added: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/VelocityUtil.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/VelocityUtil.java (rev 0) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/VelocityUtil.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,246 @@ +package jp.sf.pal.scheduler.common.util; + +import java.io.IOException; +import java.io.Reader; +import java.io.Writer; +import java.util.Properties; + +import javax.servlet.ServletContext; + +import org.apache.commons.collections.ExtendedProperties; +import org.apache.velocity.Template; +import org.apache.velocity.app.VelocityEngine; +import org.apache.velocity.context.Context; +import org.apache.velocity.exception.MethodInvocationException; +import org.apache.velocity.exception.ParseErrorException; +import org.apache.velocity.exception.ResourceNotFoundException; +import org.apache.velocity.runtime.log.Log; + +public class VelocityUtil { + private static final String DEFAULT_TEMPLATE_PATH = "/WEB-INF/template/"; + + private static VelocityEngine velocityEngine; + + public static void init(ServletContext servletContext) throws Exception { + if (velocityEngine == null) { + velocityEngine = new VelocityEngine(); + + Properties props = new Properties(); + props.setProperty("resource.loader", "FILE"); + props + .setProperty("FILE.resource.loader.class", + "org.apache.velocity.runtime.resource.loader.FileResourceLoader"); + props.setProperty("FILE.resource.loader.cache", "true"); + props.setProperty("FILE.resource.loader.modificationCheckInterval", + "60"); + // TODO move to config file? + props.setProperty("FILE.resource.loader.path", servletContext + .getRealPath(DEFAULT_TEMPLATE_PATH)); + velocityEngine.init(props); + } + } + + /** + * @param key + * @param value + * @see org.apache.velocity.app.VelocityEngine#addProperty(java.lang.String, + * java.lang.Object) + */ + public static void addProperty(String key, Object value) { + velocityEngine.addProperty(key, value); + } + + /** + * @param key + * @see org.apache.velocity.app.VelocityEngine#clearProperty(java.lang.String) + */ + public static void clearProperty(String key) { + velocityEngine.clearProperty(key); + } + + /** + * @param arg0 + * @param arg1 + * @param arg2 + * @param arg3 + * @return + * @throws ParseErrorException + * @throws MethodInvocationException + * @throws ResourceNotFoundException + * @throws IOException + * @see org.apache.velocity.app.VelocityEngine#evaluate(org.apache.velocity.context.Context, + * java.io.Writer, java.lang.String, java.io.Reader) + */ + public static boolean evaluate(Context arg0, Writer arg1, String arg2, + Reader arg3) throws ParseErrorException, MethodInvocationException, + ResourceNotFoundException, IOException { + return velocityEngine.evaluate(arg0, arg1, arg2, arg3); + } + + /** + * @param context + * @param out + * @param logTag + * @param instring + * @return + * @throws ParseErrorException + * @throws MethodInvocationException + * @throws ResourceNotFoundException + * @throws IOException + * @see org.apache.velocity.app.VelocityEngine#evaluate(org.apache.velocity.context.Context, + * java.io.Writer, java.lang.String, java.lang.String) + */ + public static boolean evaluate(Context context, Writer out, String logTag, + String instring) throws ParseErrorException, + MethodInvocationException, ResourceNotFoundException, IOException { + return velocityEngine.evaluate(context, out, logTag, instring); + } + + /** + * @param key + * @return + * @see org.apache.velocity.app.VelocityEngine#getApplicationAttribute(java.lang.Object) + */ + public static Object getApplicationAttribute(Object key) { + return velocityEngine.getApplicationAttribute(key); + } + + /** + * @return + * @see org.apache.velocity.app.VelocityEngine#getLog() + */ + public static Log getLog() { + return velocityEngine.getLog(); + } + + /** + * @param key + * @return + * @see org.apache.velocity.app.VelocityEngine#getProperty(java.lang.String) + */ + public static Object getProperty(String key) { + return velocityEngine.getProperty(key); + } + + /** + * @param name + * @param encoding + * @return + * @throws ResourceNotFoundException + * @throws ParseErrorException + * @throws Exception + * @see org.apache.velocity.app.VelocityEngine#getTemplate(java.lang.String, + * java.lang.String) + */ + public static Template getTemplate(String name, String encoding) + throws ResourceNotFoundException, ParseErrorException, Exception { + return velocityEngine.getTemplate(name, encoding); + } + + /** + * @param name + * @return + * @throws ResourceNotFoundException + * @throws ParseErrorException + * @throws Exception + * @see org.apache.velocity.app.VelocityEngine#getTemplate(java.lang.String) + */ + public static Template getTemplate(String name) + throws ResourceNotFoundException, ParseErrorException, Exception { + return velocityEngine.getTemplate(name); + } + + /** + * @param arg0 + * @param arg1 + * @param arg2 + * @param arg3 + * @param arg4 + * @return + * @throws Exception + * @see org.apache.velocity.app.VelocityEngine#invokeVelocimacro(java.lang.String, + * java.lang.String, java.lang.String[], + * org.apache.velocity.context.Context, java.io.Writer) + */ + public static boolean invokeVelocimacro(String arg0, String arg1, + String[] arg2, Context arg3, Writer arg4) throws Exception { + return velocityEngine.invokeVelocimacro(arg0, arg1, arg2, arg3, arg4); + } + + /** + * @param templateName + * @param context + * @param writer + * @return + * @throws ResourceNotFoundException + * @throws ParseErrorException + * @throws MethodInvocationException + * @throws Exception + * @see org.apache.velocity.app.VelocityEngine#mergeTemplate(java.lang.String, + * org.apache.velocity.context.Context, java.io.Writer) + */ + public static boolean mergeTemplate(String templateName, Context context, + Writer writer) throws ResourceNotFoundException, + ParseErrorException, MethodInvocationException, Exception { + return velocityEngine.mergeTemplate(templateName, context, writer); + } + + /** + * @param templateName + * @param encoding + * @param context + * @param writer + * @return + * @throws ResourceNotFoundException + * @throws ParseErrorException + * @throws MethodInvocationException + * @throws Exception + * @see org.apache.velocity.app.VelocityEngine#mergeTemplate(java.lang.String, + * java.lang.String, org.apache.velocity.context.Context, + * java.io.Writer) + */ + public static boolean mergeTemplate(String templateName, String encoding, + Context context, Writer writer) throws ResourceNotFoundException, + ParseErrorException, MethodInvocationException, Exception { + return velocityEngine.mergeTemplate(templateName, encoding, context, + writer); + } + + /** + * @param resourceName + * @return + * @see org.apache.velocity.app.VelocityEngine#resourceExists(java.lang.String) + */ + public static boolean resourceExists(String resourceName) { + return velocityEngine.resourceExists(resourceName); + } + + /** + * @param key + * @param value + * @see org.apache.velocity.app.VelocityEngine#setApplicationAttribute(java.lang.Object, + * java.lang.Object) + */ + public static void setApplicationAttribute(Object key, Object value) { + velocityEngine.setApplicationAttribute(key, value); + } + + /** + * @param configuration + * @see org.apache.velocity.app.VelocityEngine#setExtendedProperties(org.apache.commons.collections.ExtendedProperties) + */ + public static void setExtendedProperties(ExtendedProperties configuration) { + velocityEngine.setExtendedProperties(configuration); + } + + /** + * @param key + * @param value + * @see org.apache.velocity.app.VelocityEngine#setProperty(java.lang.String, + * java.lang.Object) + */ + public static void setProperty(String key, Object value) { + velocityEngine.setProperty(key, value); + } + +} Property changes on: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/common/util/VelocityUtil.java ___________________________________________________________________ Added: svn:eol-style + native Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/db/exentity/EventSchedule.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -4,6 +4,8 @@ import java.util.LinkedList; import java.util.List; +import jp.sf.pal.scheduler.common.util.DateUtil; + /** * The entity of EVENT_SCHEDULE. *

                  @@ -123,4 +125,73 @@ this.updatedType = updatedType; } + public Integer getStartYear() { + if (getStartDate() != null) { + return DateUtil.getYear(getStartDate()) + 1900; + } + return null; + } + + public Integer getStartMonth() { + if (getStartDate() != null) { + return DateUtil.getMonth(getStartDate()) + 1; + } + return null; + } + + public Integer getStartDayOfMonth() { + if (getStartDate() != null) { + return DateUtil.getDate(getStartDate()); + } + return null; + } + + public Integer getStartHour() { + if (getStartTime() != null) { + return DateUtil.getHours(getStartTime()); + } + return null; + } + + public Integer getStartMinutes() { + if (getStartTime() != null) { + return DateUtil.getMinutes(getStartTime()); + } + return null; + } + + public Integer getEndYear() { + if (getEndDate() != null) { + return DateUtil.getYear(getEndDate()) + 1900; + } + return null; + } + + public Integer getEndMonth() { + if (getEndDate() != null) { + return DateUtil.getMonth(getEndDate()) + 1; + } + return null; + } + + public Integer getEndDayOfMonth() { + if (getEndDate() != null) { + return DateUtil.getDate(getEndDate()); + } + return null; + } + + public Integer getEndHour() { + if (getEndTime() != null) { + return DateUtil.getHours(getEndTime()); + } + return null; + } + + public Integer getEndMinutes() { + if (getEndTime() != null) { + return DateUtil.getMinutes(getEndTime()); + } + return null; + } } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/ConfigForm.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -11,4 +11,19 @@ @Required(target = "update") public String holidays; + @Required(target = "update") + public String notificationTemplateEncoding; + + @Required(target = "update") + public String notificationSmtpHost; + + @Required(target = "update") + public String notificationSubjectEncoding; + + @Required(target = "update") + public String notificationBodyEncoding; + + @Required(target = "update") + public String notificationDefaultFromEmail; + } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/OnetimeScheduleForm.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -149,6 +149,8 @@ @IntegerType public String tDate; + public boolean sendEmail; + public void initialize() { id = null; title = null; @@ -205,6 +207,7 @@ selectedFacilities = null; facilityGroupId = null; parentId = null; + sendEmail = false; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/RepeatScheduleForm.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -149,6 +149,8 @@ @IntegerType public String tDate; + public boolean sendEmail; + public void initialize() { id = null; title = null; @@ -206,6 +208,7 @@ selectedFacilities = null; facilityGroupId = null; parentId = null; + sendEmail = false; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/OnetimeScheduleForm.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -146,6 +146,8 @@ @IntegerType public String tDate; + public boolean sendEmail; + public void initialize() { id = null; title = null; @@ -202,6 +204,7 @@ selectedFacilities = null; facilityGroupId = null; parentId = null; + sendEmail = false; } public String getStartDate() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/RepeatScheduleForm.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -143,6 +143,8 @@ @IntegerType public String tDate; + public boolean sendEmail; + public void initialize() { id = null; title = null; @@ -197,6 +199,7 @@ selectedFacilities = null; facilityGroupId = null; parentId = null; + sendEmail = false; } public String getStartDate() { Added: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java (rev 0) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,101 @@ +package jp.sf.pal.scheduler.service; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; + +import org.seasar.struts.exception.ActionMessagesException; + +import jp.sf.pal.scheduler.common.util.ConfigUtil; +import jp.sf.pal.scheduler.common.util.LocaleUtil; +import jp.sf.pal.scheduler.common.util.NotificationUtil; +import jp.sf.pal.scheduler.db.cbean.EventScheduleMappingCB; +import jp.sf.pal.scheduler.db.cbean.UserInfoCB; +import jp.sf.pal.scheduler.db.exbhv.EventScheduleMappingBhv; +import jp.sf.pal.scheduler.db.exbhv.UserInfoBhv; +import jp.sf.pal.scheduler.db.exentity.EventSchedule; +import jp.sf.pal.scheduler.db.exentity.EventScheduleMapping; +import jp.sf.pal.scheduler.db.exentity.UserInfo; + +public class NotificationService { + private EventScheduleMappingBhv eventScheduleMappingBhv; + + private UserInfoBhv userInfoBhv; + + public void send(String fromUserId, EventSchedule eventSchedule, + String templateName) { + if (fromUserId == null) { + throw new ActionMessagesException( + "errors.failed_to_retrieve_userinfo"); + } + EventScheduleMappingCB cb = new EventScheduleMappingCB(); + cb.setupSelect_UserInfo(); + cb.query().queryEventSchedule().setId_Equal(eventSchedule.getId()); + cb.query().queryEventSchedule().setDeletedBy_IsNull(); + List esmList = eventScheduleMappingBhv + .selectList(cb); + + if (esmList != null && !esmList.isEmpty()) { + List userInfoList = new ArrayList(); + UserInfo fromUserInfo = null; + for (EventScheduleMapping esm : esmList) { + UserInfo userInfo = esm.getUserInfo(); + if (fromUserId.equals(userInfo.getUserId())) { + fromUserInfo = userInfo; + } + userInfoList.add(userInfo); + } + if (fromUserInfo == null) { + UserInfoCB cb1 = new UserInfoCB(); + cb1.query().setUserId_Equal(fromUserId); + cb1.query().setDeletedBy_IsNull(); + fromUserInfo = userInfoBhv.selectEntity(cb1); + if (fromUserInfo == null) { + throw new ActionMessagesException( + "errors.failed_to_retrieve_userinfo"); + } + } + + String fromEmail = fromUserInfo.getEmail(); + if (fromEmail == null) { + fromEmail = ConfigUtil.getString(NotificationUtil.DEFAULT_FROM, + "scheduler @ pal.sourceforge.jp"); + } + for (UserInfo userInfo : userInfoList) { + if (userInfo.getEmail() != null) { + Locale locale = LocaleUtil.parse(userInfo.getLocale()); + if (locale != null) { + locale = Locale.ENGLISH; + } + + Map paramMap = new HashMap(); + paramMap.put("fromUserInfo", fromUserInfo); + paramMap.put("toUserInfo", userInfo); + paramMap.put("event", eventSchedule); + + NotificationUtil.send(templateName, locale, fromEmail, + userInfo.getEmail(), paramMap); + } + } + } + } + + public EventScheduleMappingBhv getEventScheduleMappingBhv() { + return eventScheduleMappingBhv; + } + + public void setEventScheduleMappingBhv( + EventScheduleMappingBhv eventScheduleMappingBhv) { + this.eventScheduleMappingBhv = eventScheduleMappingBhv; + } + + public UserInfoBhv getUserInfoBhv() { + return userInfoBhv; + } + + public void setUserInfoBhv(UserInfoBhv userInfoBhv) { + this.userInfoBhv = userInfoBhv; + } +} Property changes on: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java ___________________________________________________________________ Added: svn:eol-style + native Modified: scheduler/trunk/src/main/resources/application.properties =================================================================== --- scheduler/trunk/src/main/resources/application.properties 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/resources/application.properties 2009-01-23 22:21:45 UTC (rev 1697) @@ -45,7 +45,14 @@ success.movedown_facility=Moved the facility down. success.create_eventSchedule_for_repeat=Updated this event only. success.delete_this_eventSchedule_only=Deleted this event only. +success.update_eventSchedule_and_later=Updated the event and later. +errors.failed_to_init_velocity=Failed to initialize a notification. +errors.could_not_find_notification_template=Could not find a notification template({0}) at {1}. +errors.empty_notification_content=The notification content is empty. +errors.could_not_create_notification_content=Could not create a notification content. +errors.failed_to_send_notification=Failed to send a notification from {0} to {1}. + errors.could_not_find_facilityGroup=Could not find the facility group({0}). errors.failed_to_update_config=Failed to update the configuration. errors.invalid.mode=Invalid mode(expected value is {0}, but it's {1}). @@ -67,6 +74,7 @@ errors.failed_to_movedown_facility=Failed to move the facility down. errors.failed_to_create_eventSchedule_for_repeat=Failed to update this event. errors.failed_to_delete_this_eventSchedule_only=Failed to delete this event. +errors.failed_to_retrieve_userinfo=Failed to retrieve the user info to send email. labels.detail=Detail labels.create=Create @@ -226,4 +234,13 @@ labels.parent_id=Parent ID labels.edit_for_onetime=Edit Only This Day -labels.delete_it_only=Delete Only This Day \ No newline at end of file +labels.delete_it_only=Delete Only This Day +labels.update_it_and_later=Update This Day and Later +labels.email=Email +labels.send_email=Send to Assigned Members +labels.template_encoding=Encoding for Email Template +labels.smtp_host=SMTP Host +labels.subject_encoding=Encoding for Email Subject +labels.body_encoding=Encoding for Email Body +labels.default_from_email=Default Email Address + Modified: scheduler/trunk/src/main/resources/application_ja.properties =================================================================== --- scheduler/trunk/src/main/resources/application_ja.properties 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/resources/application_ja.properties 2009-01-23 22:21:45 UTC (rev 1697) @@ -38,7 +38,14 @@ success.movedown_facility=\u65bd\u8a2d\u3092\u4e0b\u3078\u79fb\u52d5\u3057\u307e\u3057\u305f\u3002 success.create_eventSchedule_for_repeat=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u3060\u3051\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 success.delete_this_eventSchedule_only=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u3060\u3051\u524a\u9664\u3057\u307e\u3057\u305f\u3002 +success.update_eventSchedule_and_later=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u3068\u4ee5\u964d\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_init_velocity=\u901a\u77e5\u6a5f\u80fd\u306e\u521d\u671f\u5316\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.could_not_find_notification_template={1} \u3067\u901a\u77e5\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8({0}) \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 +errors.empty_notification_content=\u901a\u77e5\u5185\u5bb9\u304c\u7a7a\u3067\u3059\u3002 +errors.could_not_create_notification_content=\u901a\u4fe1\u5185\u5bb9\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 +errors.failed_to_send_notification={0} \u304b\u3089 {1} \u3078\u901a\u77e5\u3092\u9001\u4fe1\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 + errors.failed_to_update_config=\u8a2d\u5b9a\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.invalid.mode=\u30e2\u30fc\u30c9\u304c\u9055\u3044\u307e\u3059\u3002(\u6b63\u3057\u3044\u5024\u306f {0} \u3067\u3059\u304c\u3001\u5165\u529b\u3055\u308c\u305f\u5024\u306f {1} \u306b\u306a\u3063\u3066\u3044\u307e\u3059) errors.failed_to_create_eventSchedule=\u30a4\u30d9\u30f3\u30c8\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 @@ -59,6 +66,7 @@ errors.failed_to_movedown_facility=\u65bd\u8a2d\u3092\u4e0b\u3078\u79fb\u52d5\u3059\u308b\u3053\u3068\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_create_eventSchedule_for_repeat=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_delete_this_eventSchedule_only=\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_retrieve_userinfo=\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u306e\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 labels.detail=\u8a73\u7d30 labels.create=\u4f5c\u6210 @@ -117,7 +125,7 @@ labels.privacy=\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc labels.public=\u516c\u958b labels.private=\u975e\u516c\u958b -labels.assigned=\u62c5\u5f53\u8005 +labels.assigned=\u767b\u9332\u8005 labels.name=\u540d\u524d labels.select_facilities=\u65bd\u8a2d\u9078\u629e labels.facility_list=\u65bd\u8a2d\u30ea\u30b9\u30c8 @@ -217,5 +225,13 @@ labels.holiday_format=\u4f8b: YYYY-MM-DD labels.parent_id=\u89aa ID -labels.edit_for_onetime=\u3053\u306e\u65e5\u306e\u307f\u7de8\u96c6 -labels.delete_it_only=\u3053\u306e\u65e5\u306e\u307f\u524a\u9664 \ No newline at end of file +labels.edit_for_onetime=\u3053\u306e\u65e5\u306e\u307f\u3092\u7de8\u96c6 +labels.delete_it_only=\u3053\u306e\u65e5\u306e\u307f\u3092\u524a\u9664 +labels.update_it_and_later=\u3053\u306e\u65e5\u4ee5\u964d\u3092\u66f4\u65b0 +labels.email=\u30e1\u30fc\u30eb +labels.send_email=\u767b\u9332\u8005\u3078\u9001\u4fe1 +labels.template_encoding=\u30e1\u30fc\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 +labels.smtp_host=SMTP \u30db\u30b9\u30c8 +labels.subject_encoding=\u30e1\u30fc\u30eb\u4ef6\u540d\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 +labels.body_encoding=\u30e1\u30fc\u30eb\u672c\u6587\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 +labels.default_from_email=\u5dee\u51fa\u4eba\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30a2\u30c9\u30ec\u30b9 Added: scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Create Facility Reservation By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} created a following facility reservation: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/create-onetime-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Create Schedule By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} created a following schedule: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Create Facility Reservation By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} created a following facility reservation: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/create-repeat-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Create Schedule By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} created a following schedule: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[施設]: 施設予約登録 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0} さんは以下の施設予約を登録しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-onetime-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[予定] スケジュール登録 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0} さんは以下のスケジュールを登録しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[施設]: 施設予約登録 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} さんは以下の施設予約を登録しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/create-repeat-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[予定] スケジュール登録 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0} さんは以下のスケジュールを登録しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[施設]: 施設予約更新 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} さんは以下の施設予約を更新しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-onetime-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[予定] スケジュール更新 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0} さんは以下のスケジュールを更新しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[施設]: 施設予約更新 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} さんは以下の施設予約を更新しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/ja/update-repeat-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +[予定] スケジュール更新 (${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0}) +${fromUserInfo.nameArg1} ${fromUserInfo.nameArg0} さんは以下のスケジュールを更新しました。 + +タイトル: ${event.title} +開始日時: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +終了日時: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +スケジュール予約システム Added: scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Update Facility Reservation By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} updated a following facility reservation: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/update-onetime-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Update Schedule By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} updated a following schedule: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-facility.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-facility.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-facility.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Update Facility Reservation By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} updated a following facility reservation: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Added: scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-schedule.vm =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-schedule.vm (rev 0) +++ scheduler/trunk/src/main/webapp/WEB-INF/template/update-repeat-schedule.vm 2009-01-23 22:21:45 UTC (rev 1697) @@ -0,0 +1,10 @@ +SCHEDULE: Update Schedule By ${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} +${fromUserInfo.nameArg0} ${fromUserInfo.nameArg1} updated a following schedule: + +Title: ${event.title} +Start Date: #if(${event.startDate})${event.startYear}/${event.startMonth}/${event.startDayOfMonth}#end #if(${event.startTime})${event.startHour}:${event.startMinutes}#end + +End Date: #if(${event.EndDate})${event.EndYear}/${event.EndMonth}/${event.EndDayOfMonth}#end #if(${event.EndTime})${event.EndHour}:${event.EndMinutes}#end + + +Schedule System Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -28,11 +28,31 @@

          +
          @@ -135,6 +136,12 @@ + + + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/edit.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -216,6 +216,10 @@ + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/facilitylist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -61,6 +61,7 @@ + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/onetimeSchedule/userlist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -61,6 +61,7 @@ + ${f:u(u.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/confirm.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -52,6 +52,7 @@ +
          @@ -148,6 +149,12 @@ + + + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/edit.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -233,6 +233,10 @@ + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/facilitylist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -61,6 +61,7 @@ + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/facility/repeatSchedule/userlist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -62,6 +62,7 @@ + ${f:u(u.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/confirm.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -51,6 +51,7 @@ +
          @@ -134,6 +135,12 @@ + + + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/edit.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -215,6 +215,10 @@ + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/facilitylist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -60,6 +60,7 @@ + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/onetimeSchedule/userlist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -60,6 +60,7 @@ + ${f:u(u.id)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/confirm.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -51,6 +51,7 @@ +
          @@ -147,6 +148,12 @@ + + + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/edit.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -232,6 +232,10 @@ + + + + Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/facilitylist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -60,6 +60,7 @@ + ${f:u(u.userId)} Modified: scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp 2009-01-21 08:54:55 UTC (rev 1696) +++ scheduler/trunk/src/main/webapp/WEB-INF/view/user/schedule/repeatSchedule/userlist.jsp 2009-01-23 22:21:45 UTC (rev 1697) @@ -61,6 +61,7 @@ + ${f:u(u.id)} From svnnotify @ sourceforge.jp Sat Jan 24 07:22:27 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 24 Jan 2009 07:22:27 +0900 Subject: [pal-cvs 3963] [1698] updated config file. Message-ID: <1232749347.660465.22917.nullmailer@users.sourceforge.jp> Revision: 1698 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1698 Author: shinsuke Date: 2009-01-24 07:22:27 +0900 (Sat, 24 Jan 2009) Log Message: ----------- updated config file. Modified Paths: -------------- scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml -------------- next part -------------- Modified: scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml =================================================================== --- scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml 2009-01-23 22:21:45 UTC (rev 1697) +++ scheduler/trunk/src/main/webapp/WEB-INF/scheduler.xml 2009-01-23 22:22:27 UTC (rev 1698) @@ -1,7 +1,23 @@ -2009-01-01 - +2009-01-01 + + + +localhost + + +UTF-8 + + +UTF-8 + + +scheduler @ pal.sourceforge.jp + + From svnnotify @ sourceforge.jp Sat Jan 24 07:36:23 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 24 Jan 2009 07:36:23 +0900 Subject: [pal-cvs 3964] [1699] added smtp config. Message-ID: <1232750183.078081.4107.nullmailer@users.sourceforge.jp> Revision: 1699 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1699 Author: shinsuke Date: 2009-01-24 07:36:23 +0900 (Sat, 24 Jan 2009) Log Message: ----------- added smtp config. Modified Paths: -------------- timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java timecard/trunk/src/main/resources/application.properties timecard/trunk/src/main/resources/application_ja.properties timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp -------------- next part -------------- Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java =================================================================== --- timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java 2009-01-23 22:22:27 UTC (rev 1698) +++ timecard/trunk/src/main/java/jp/sf/pal/timecard/action/ConfigAction.java 2009-01-23 22:36:23 UTC (rev 1699) @@ -6,6 +6,7 @@ import jp.sf.pal.timecard.TimecardConstants; import jp.sf.pal.timecard.common.util.ConfigUtil; +import jp.sf.pal.timecard.common.util.NotificationUtil; import jp.sf.pal.timecard.common.util.SAStrutsUtil; import jp.sf.pal.timecard.form.config.ConfigForm; @@ -44,6 +45,15 @@ TimecardConstants.DEFAULT_MANAGER, "admin"); configForm.csvEncoding = ConfigUtil.getString( TimecardConstants.CSV_ENCODING, "UTF-8"); + configForm.notificationTemplateEncoding = ConfigUtil.getString( + NotificationUtil.TEMPLATE_ENCODING, "UTF-8"); + configForm.notificationSmtpHost = ConfigUtil.getString( + NotificationUtil.SMTP_HOST, "localhost"); + // TODO user, password for smtp + configForm.notificationSubjectEncoding = ConfigUtil.getString( + NotificationUtil.SUBJECT_ENCODING, "UTF-8"); + configForm.notificationBodyEncoding = ConfigUtil.getString( + NotificationUtil.BODY_ENCODING, "UTF-8"); return "index.jsp"; } @@ -72,6 +82,16 @@ configForm.defaultManager); ConfigUtil.setProperty(TimecardConstants.CSV_ENCODING, configForm.csvEncoding); + ConfigUtil.setProperty(NotificationUtil.TEMPLATE_ENCODING, + configForm.notificationTemplateEncoding); + ConfigUtil.setProperty(NotificationUtil.SMTP_HOST, + configForm.notificationSmtpHost); + // TODO user, password for smtp + ConfigUtil.setProperty(NotificationUtil.SUBJECT_ENCODING, + configForm.notificationSubjectEncoding); + ConfigUtil.setProperty(NotificationUtil.BODY_ENCODING, + configForm.notificationBodyEncoding); + try { ConfigUtil.save(); SAStrutsUtil.addMessage(request, "success.update_config"); Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java =================================================================== --- timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java 2009-01-23 22:22:27 UTC (rev 1698) +++ timecard/trunk/src/main/java/jp/sf/pal/timecard/form/config/ConfigForm.java 2009-01-23 22:36:23 UTC (rev 1699) @@ -36,4 +36,16 @@ @Required(target = "update") public String csvEncoding; + + @Required(target = "update") + public String notificationTemplateEncoding; + + @Required(target = "update") + public String notificationSmtpHost; + + @Required(target = "update") + public String notificationSubjectEncoding; + + @Required(target = "update") + public String notificationBodyEncoding; } Modified: timecard/trunk/src/main/resources/application.properties =================================================================== --- timecard/trunk/src/main/resources/application.properties 2009-01-23 22:22:27 UTC (rev 1698) +++ timecard/trunk/src/main/resources/application.properties 2009-01-23 22:36:23 UTC (rev 1699) @@ -203,4 +203,7 @@ labels.download_csv=Download CSV labels.csv_encoding=Encoding for CSV - +labels.template_encoding=Encoding for Email Template +labels.smtp_host=SMTP Host +labels.subject_encoding=Encoding for Email Subject +labels.body_encoding=Encoding for Email Body Modified: timecard/trunk/src/main/resources/application_ja.properties =================================================================== --- timecard/trunk/src/main/resources/application_ja.properties 2009-01-23 22:22:27 UTC (rev 1698) +++ timecard/trunk/src/main/resources/application_ja.properties 2009-01-23 22:36:23 UTC (rev 1699) @@ -196,3 +196,7 @@ labels.download_csv=CSV \u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 labels.csv_encoding=CSV \u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 +labels.template_encoding=\u30e1\u30fc\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 +labels.smtp_host=SMTP \u30db\u30b9\u30c8 +labels.subject_encoding=\u30e1\u30fc\u30eb\u4ef6\u540d\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 +labels.body_encoding=\u30e1\u30fc\u30eb\u672c\u6587\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 \ No newline at end of file Modified: timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2009-01-23 22:22:27 UTC (rev 1698) +++ timecard/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2009-01-23 22:36:23 UTC (rev 1699) @@ -61,6 +61,22 @@ + + + + + + + + + + + + + + + + From svnnotify @ sourceforge.jp Sun Jan 25 08:30:32 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sun, 25 Jan 2009 08:30:32 +0900 Subject: [pal-cvs 3965] [1700] added binding type, and code formart. Message-ID: <1232839832.429079.20263.nullmailer@users.sourceforge.jp> Revision: 1700 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1700 Author: shinsuke Date: 2009-01-25 08:30:32 +0900 (Sun, 25 Jan 2009) Log Message: ----------- added binding type, and code formart. Modified Paths: -------------- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PermissionManagementLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletDeploymentLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletManagementLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/ProfilingRuleLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityConstraintLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/portletmanager/PortletListPage.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleCriterionEditPage.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleEditPage.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/GlobalSecurityConstraintEditPage.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionConstraintListPage.java pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionEditPage.java -------------- next part -------------- Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PermissionManagementLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PermissionManagementLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PermissionManagementLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -41,13 +41,12 @@ import org.apache.jetspeed.security.SecurityException; import org.apache.jetspeed.security.om.InternalPermission; import org.apache.jetspeed.security.om.InternalPrincipal; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class PermissionManagementLogic implements Serializable { - /** - * - */ private static final long serialVersionUID = 102231630594363688L; /** @@ -62,8 +61,10 @@ private static final String PORTLET_PERMISSION = "org.apache.jetspeed.security.PortletPermission"; + @Binding(bindingType = BindingType.MAY) private RoleManager roleManager; + @Binding(bindingType = BindingType.MAY) private PermissionManager permissionManager; public List getPortletPermissions(PortletPermissionPager pager) Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletDeploymentLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletDeploymentLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletDeploymentLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -36,12 +36,12 @@ import org.apache.jetspeed.om.common.portlet.MutablePortletApplication; import org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager; import org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class PortletDeploymentLogic implements Serializable { - /** - * - */ + private static final long serialVersionUID = -4957269606718394576L; /** @@ -50,8 +50,10 @@ private static final Logger logger = Logger .getLogger(PortletManagementLogic.class); + @Binding(bindingType = BindingType.MAY) private transient ApplicationServerManager applicationServerManager = null; + @Binding(bindingType = BindingType.MAY) private transient PortletRegistry portletRegistry = null; /** Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletManagementLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletManagementLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/PortletManagementLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -30,6 +30,8 @@ import org.apache.jetspeed.factory.PortletFactory; import org.apache.jetspeed.om.common.portlet.MutablePortletApplication; import org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class PortletManagementLogic implements Serializable { @@ -42,10 +44,13 @@ private static final Logger logger = Logger .getLogger(PortletManagementLogic.class); + @Binding(bindingType = BindingType.MAY) private transient ApplicationServerManager applicationServerManager = null; + @Binding(bindingType = BindingType.MAY) private transient PortletRegistry portletRegistry = null; + @Binding(bindingType = BindingType.MAY) private transient PortletFactory portletFactory = null; /** Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/ProfilingRuleLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/ProfilingRuleLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/ProfilingRuleLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -12,6 +12,8 @@ import jp.sf.pal.common.CommonException; import org.apache.jetspeed.profiler.Profiler; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class ProfilingRuleLogic implements Serializable { @@ -24,6 +26,7 @@ private static final Logger logger = Logger .getLogger(ProfilingRuleLogic.class); + @Binding(bindingType = BindingType.MAY) private transient Profiler profiler; public List getProfilingRules(ProfilingRulePager pager) Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityConstraintLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityConstraintLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityConstraintLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -19,6 +19,8 @@ import org.apache.jetspeed.om.page.PageSecurity; import org.apache.jetspeed.om.page.SecurityConstraintsDef; import org.apache.jetspeed.page.PageManager; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class SecurityConstraintLogic implements Serializable { @@ -37,6 +39,7 @@ private static int DELETE = 3; + @Binding(bindingType = BindingType.MAY) private transient PageManager pageManager; public List getSecurityDefinitions( Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -66,9 +66,12 @@ import org.apache.jetspeed.security.om.InternalCredential; import org.apache.jetspeed.security.spi.GroupSecurityHandler; import org.apache.jetspeed.security.spi.RoleSecurityHandler; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class SecurityProviderLogic implements Serializable { + private static final long serialVersionUID = 2380951929327928610L; /** @@ -77,24 +80,33 @@ private static final Logger logger = Logger .getLogger(SecurityProviderLogic.class); + @Binding(bindingType = BindingType.MAY) private transient SecurityProvider securityProvider = null; + @Binding(bindingType = BindingType.MAY) private transient AuthenticationProviderProxy authenticationProviderProxy; // private UserSecurityHandler userSecurityHandler = null; + @Binding(bindingType = BindingType.MAY) private transient UserManager userManager = null; + @Binding(bindingType = BindingType.MAY) private transient RoleSecurityHandler roleSecurityHandler = null; + @Binding(bindingType = BindingType.MAY) private transient RoleManager roleManager = null; + @Binding(bindingType = BindingType.MAY) private transient GroupSecurityHandler groupSecurityHandler = null; + @Binding(bindingType = BindingType.MAY) private transient GroupManager groupManager = null; + @Binding(bindingType = BindingType.MAY) private transient Profiler profiler = null; + @Binding(bindingType = BindingType.MAY) private transient PageManager pageManager = null; /** Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SiteEditorLogic.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -63,12 +63,12 @@ import org.apache.jetspeed.security.PermissionManager; import org.apache.jetspeed.security.SecurityAccessController; import org.apache.pluto.om.window.PortletWindow; +import org.seasar.framework.container.annotation.tiger.Binding; +import org.seasar.framework.container.annotation.tiger.BindingType; import org.seasar.framework.log.Logger; public class SiteEditorLogic implements Serializable { - /** - * - */ + private static final long serialVersionUID = 3488261005315934120L; /** @@ -77,22 +77,31 @@ private static final Logger logger = Logger .getLogger(SiteEditorLogic.class); + @Binding(bindingType = BindingType.MAY) private transient PageManager pageManager = null; + @Binding(bindingType = BindingType.MAY) private transient Profiler profiler = null; + @Binding(bindingType = BindingType.MAY) private transient PortletRegistry portletRegistry = null; + @Binding(bindingType = BindingType.MAY) private transient DecorationFactory decorationFactory = null; + @Binding(bindingType = BindingType.MAY) private transient PermissionManager permissionManager = null; + @Binding(bindingType = BindingType.MAY) private transient PortletWindowAccessor portletWindowAccessor = null; + @Binding(bindingType = BindingType.MAY) private transient PortletEntityAccessComponent portletEntityAccessComponent = null; + @Binding(bindingType = BindingType.MAY) private transient SecurityAccessController securityAccessController = null; + @Binding(bindingType = BindingType.MAY) private transient RequestContext requestContext = null; /** Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/portletmanager/PortletListPage.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/portletmanager/PortletListPage.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/portletmanager/PortletListPage.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -19,13 +19,13 @@ import java.util.List; import java.util.Map; -import org.seasar.teeda.extension.util.LabelHelper; - import jp.sf.pal.admin.PALAdminConstants; import jp.sf.pal.admin.service.PortletManagementService; import jp.sf.pal.admin.web.AbstractPagerPage; import jp.sf.pal.common.util.FacesMessageUtil; +import org.seasar.teeda.extension.util.LabelHelper; + public class PortletListPage extends AbstractPagerPage implements Serializable { private static final long serialVersionUID = -4766951315413321520L; Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleCriterionEditPage.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleCriterionEditPage.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleCriterionEditPage.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -104,12 +104,12 @@ public void setFallbackType(Integer fallbackType) { super.setFallbackType(fallbackType); } - - public String getBackButtonValue(){ + + public String getBackButtonValue() { return getLabelHelper().getLabelValue("back"); } - - public String getDoConfirmValue(){ + + public String getDoConfirmValue() { return getLabelHelper().getLabelValue("confirm"); } } Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleEditPage.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleEditPage.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/profiler/RuleEditPage.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -72,12 +72,12 @@ public void setTitle(String title) { super.setTitle(title); } - - public String getJumpRuleListValue(){ + + public String getJumpRuleListValue() { return getLabelHelper().getLabelValue("back"); } - - public String getDoConfirmValue(){ + + public String getDoConfirmValue() { return getLabelHelper().getLabelValue("confirm"); } Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/GlobalSecurityConstraintEditPage.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/GlobalSecurityConstraintEditPage.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/GlobalSecurityConstraintEditPage.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -38,12 +38,12 @@ public Class doConfirm() { return GlobalSecurityConstraintConfirmPage.class; } - - public String getJumpGlobalSecurityConstraintListValue(){ + + public String getJumpGlobalSecurityConstraintListValue() { return getLabelHelper().getLabelValue("back"); } - + public String getDoConfirmValue() { return getLabelHelper().getLabelValue("confirm"); - } + } } Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionConstraintListPage.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionConstraintListPage.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionConstraintListPage.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -5,7 +5,6 @@ import java.util.Map; import jp.sf.pal.admin.service.SecurityConstraintService; -import jp.sf.pal.admin.web.AbstractCrudPage; import jp.sf.pal.common.CommonException; import jp.sf.pal.common.util.FacesMessageUtil; @@ -13,8 +12,8 @@ import org.seasar.teeda.extension.annotation.takeover.TakeOver; import org.seasar.teeda.extension.annotation.takeover.TakeOverType; -public class SecurityDefinitionConstraintListPage extends AbstractSecurityDefinitionPage - implements Serializable { +public class SecurityDefinitionConstraintListPage extends + AbstractSecurityDefinitionPage implements Serializable { private static final long serialVersionUID = -8321082385044912655L; Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionEditPage.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionEditPage.java 2009-01-23 22:36:23 UTC (rev 1699) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/securityconstraint/SecurityDefinitionEditPage.java 2009-01-24 23:30:32 UTC (rev 1700) @@ -47,14 +47,13 @@ public void setDefinitionName(String definitionName) { super.setDefinitionName(definitionName); } - + public String getJumpSecurityDefinitionListValue() { return getLabelHelper().getLabelValue("back"); } - + public String getDoConfirmValue() { return getLabelHelper().getLabelValue("confirm"); } - } From svnnotify @ sourceforge.jp Wed Jan 28 15:45:25 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 28 Jan 2009 15:45:25 +0900 Subject: [pal-cvs 3966] [1701] updated administration-guide Message-ID: <1233125125.785027.8520.nullmailer@users.sourceforge.jp> Revision: 1701 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1701 Author: sone Date: 2009-01-28 15:45:25 +0900 (Wed, 28 Jan 2009) Log Message: ----------- updated administration-guide Modified Paths: -------------- pal-portal/docs/ja/administration-guide/trunk/src/images/siteeditor_opensiteeditor1.png pal-portal/docs/ja/administration-guide/trunk/src/images/siteeditor_opensiteeditor2.png pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_edit2.png pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n2.png pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n3.png pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n4.png pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n9.png pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/index.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex -------------- next part -------------- Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/siteeditor_opensiteeditor1.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/siteeditor_opensiteeditor2.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_edit2.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n2.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n3.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n4.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/images/wcm_i18n9.png =================================================================== (Binary files differ) Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/administration-guide.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -42,20 +42,22 @@ \include{user-management/delete-role} \include{user-management/create-group} \include{user-management/delete-group} -% 図ができるだけずれないように、ここだけincludeを使用した \chapter{サイトエディター} -\input{site-editor/guide} -\input{site-editor/open-siteeditor} -\input{site-editor/create-page} -\input{site-editor/edit-page} -\input{site-editor/delete-page} -\input{site-editor/create-folder} -\input{site-editor/edit-folder} -\input{site-editor/delete-folder} -\input{site-editor/change-layout} -\input{site-editor/add-portlet} +\include{site-editor/guide} +\include{site-editor/open-siteeditor} +\include{site-editor/create-page} +\include{site-editor/edit-page} +\include{site-editor/delete-page} +\include{site-editor/create-folder} +\include{site-editor/edit-folder} +\include{site-editor/delete-folder} +\include{site-editor/change-layout} +\include{site-editor/add-portlet} +% 図ができるだけずれないように、includeを使用した + + \chapter{ポートレット管理} \input{portlet-management/guide} \input{portlet-management/manage-portlet} @@ -74,5 +76,4 @@ \input{site/page} \input{site/virtual-host} - \end{document} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/index.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/index.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/index.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -37,19 +37,22 @@ ダウンロード、専門的サービス、サポート、その他の開発者情報については、次にアクセスしてください。 -プロジェクトサイト:http://pal.sourceforge.jp/ +\begin{itemize} +\item プロジェクトサイト:http://pal.sourceforge.jp/ +\end{itemize} + \subsection{技術的なサポートの連絡先} - 本製品に関する技術的質問で、ドキュメント内に解決策が得られない場合は、次にアクセスしてください。 +本製品に関する技術的質問で、ドキュメント内に解決策が得られない場合は、次にアクセスしてください。 -公開フォーラム:http://sourceforge.jp/forum/?group\_id=1972 -メーリングリスト:http://sourceforge.jp/mail/?group\_id=1972 +\begin{itemize} +\item 公開フォーラム:http://sourceforge.jp/forum/?group\_id=1972 +\item メーリングリスト:http://sourceforge.jp/mail/?group\_id=1972 +\end{itemize} - - \subsection{関連サードパーティー Web サイトの参照} Portal Application Laboratoryプロジェクトでは、このドキュメントに記載されているサードパーティーの Web サイトの有効性については責任を持ちません。 @@ -61,7 +64,9 @@ Portal Application Laboratoryプロジェクトは、このドキュメントの改善に努めており、読者からのコメントおよび提案などを歓迎しています。 -メーリングリスト:http://sourceforge.jp/mail/?group\_id=1972 +\begin{itemize} +\item メーリングリスト:http://sourceforge.jp/mail/?group\_id=1972 +\end{itemize} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/overview/architecture.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -25,19 +25,17 @@ \subsection{アーキテクチャーの概要} - PALポータルは、Apache Software Foundationにて開発をされている、企業情報ポータルのオープンソースの実装 Jetspeed 2 をベースとして、構築されています。 - そのため、企業ポータルの基盤となる部分の開発は多くの開発者により、適切な仕様に基づき、柔軟かつ拡張可能な設計が行われています。 - PALポータルは柔軟に機能を拡張や変更できるので、企業内ポータルに限らず、オンラインショップやブログなどの様々なユーザーポータル構築に対応することができます。 +PALポータルは、Apache Software Foundationにて開発をされている、企業情報ポータルのオープンソースの実装 Jetspeed 2 をベースとして、構築されています。 +そのため、企業ポータルの基盤となる部分の開発は多くの開発者により、適切な仕様に基づき、柔軟かつ拡張可能な設計が行われています。 +PALポータルは柔軟に機能を拡張や変更できるので、企業内ポータルに限らず、オンラインショップやブログなどの様々なユーザーポータル構築に対応することができます。 +PALポータルは、ウェブアプリケーションコンテナ、ユーザー認証、データストレージを PALポータル自体に実装するのではなく、外部システムを利用することが可能です。 +たとえば、PALポータルはデフォルトの Web コンテナとして Tomcat を使用しています。 - PALポータルは、ウェブアプリケーションコンテナ、ユーザー認証、データストレージを PALポータル自体に実装するのではなく、外部システムを利用することが可能です。 - たとえば、PALポータルはデフォルトの Web コンテナとして Tomcat を使用しています。 +標準の PALポータルでは、次のコンポーネント製品が含まれています。 - - 標準の PALポータルでは、次のコンポーネント製品が含まれています。 - \begin{itemize} - \item Tomcat 5.5.23 + \item Tomcat 5.5.27 \item Derby 10.1.1.0 \end{itemize} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-portlet.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -42,7 +42,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_mng0.eps} -\caption{TBD} +\caption{「デプロイヤー」タブを選択} \label{fig:port_mng0_} \end{center} \end{figure} @@ -53,7 +53,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_mng1.eps} -\caption{TBD} +\caption{ポートレットアプリケーションの配備} \label{fig:port_mng1} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/deploy-remote-portlet.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -34,10 +34,10 @@ ポータル管理者は、公開するポートレットのアプリケーションを「ポートレット管理」から配備することが可能です。 「ポートレット管理」の「デプロイヤー」タブを選択してください。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/port_mng0.eps} -\caption{TBD} +\caption{「デプロイヤー」タブを選択} \label{fig:port_mng0} \end{center} \end{figure} @@ -50,10 +50,10 @@ 「リモート」を選択すると、利用可能なリポジトリ、ポートレットアプリケーションが一覧で表示されます。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/port_mng2.eps} -\caption{TBD} +\caption{配備可能なリモートリポジトリのポートレット一覧} \label{fig:port_mng2} \end{center} \end{figure} @@ -65,7 +65,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_mng10.eps} -\caption{TBD} +\caption{「配備」ボタンを押下で配備完了} \label{fig:port_mng10} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/portlet-management/manage-portlet.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -37,7 +37,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_mng12.eps} -\caption{TBD} +\caption{ポートレット一覧} \label{fig:port_mng12} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site/page.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -37,12 +37,12 @@ まず、サイト管理者でログインして、サイトエディターを表示します。 ゲストユーザーで表示されるコンテンツは、/\_\_subsite-root 以下になります。 バーチャルホストの設定をしていない場合は、/\_\_subsite-root がサイトのルートフォルダになります。 - ゲストユーザーのデフォルトページである /\_\_subsite-root/default-page.psml を表示します。 + ゲストユーザーのデフォルトページである /\_\_subsite-root/default-page.psml を表示します(図\ref{fig:site_page1})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_page1.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/site_page1.eps} +\caption{ゲストユーザーのデフォルトページ} \label{fig:site_page1} \end{center} \end{figure} @@ -54,12 +54,12 @@ \subsection{サイトの表示} 編集する PSML ファイルをサイトエディターで表示後、「このページに移動」ボタンをクリックします。 - 指定されたページが編集モードで表示されます。 + 指定されたページが編集モードで表示されます(図\ref{fig:site_page2})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} \includegraphics[width=120mm]{images/site_page2.eps} -\caption{TBD} +\caption{編集モードでの表示} \label{fig:site_page2} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site/site-user.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -35,36 +35,37 @@ まず、ユーザー管理ツールを利用して、ユーザーを追加します。 - ユーザー管理を表示します。 + ユーザー管理を表示します(図\ref{fig:site_user1})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_user1.eps} -\caption{TBD} +\includegraphics[width=100mm]{images/site_user1.eps} +\caption{ユーザー管理画面} \label{fig:site_user1} \end{center} \end{figure} - 「新規」リンクをクリックします。 + 「新規」リンクをクリックします(図\ref{fig:site_user2})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_user2.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/site_user2.eps} +\caption{ユーザーの新規作成} \label{fig:site_user2} \end{center} \end{figure} - 適当なユーザー名を指定して、デフォルトロールには「user」を指定します。 - 入力後、「確認」ボタンをクリックします。 - 確認画面で内容を確認して、問題がなければ、「登録」ボタンをクリックして、登録します。 +適当なユーザー名を指定して、デフォルトロールには「user」を指定します。 +入力後、「確認」ボタンをクリックします。 +確認画面で内容を確認して、問題がなければ、「登録」ボタンをクリックして、 +登録します(図\ref{fig:site_user3})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_user3.eps} -\caption{TBD} +\includegraphics[width=100mm]{images/site_user3.eps} +\caption{ユーザーの登録} \label{fig:site_user3} \end{center} \end{figure} @@ -76,34 +77,34 @@ ユーザー管理ツールを利用して、サイト管理者に siteadmin ロールを付加します。 - まず、ユーザー管理ツールを利用して、対象ユーザーの編集画面を表示します。 + まず、ユーザー管理ツールを利用して、対象ユーザーの編集画面を表示します(図\ref{fig:site_user4})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_user4.eps} -\caption{TBD} +\includegraphics[width=100mm]{images/site_user4.eps} +\caption{対象ユーザーの編集画面} \label{fig:site_user4} \end{center} \end{figure} - 「ロール」リンクをクリックします。 + 「ロール」リンクをクリックします(図\ref{fig:site_user5})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_user5.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/site_user5.eps} +\caption{ロールの表示} \label{fig:site_user5} \end{center} \end{figure} - 「新規ロール」プルダウンボックスから「siteadmin」を選択して、「追加」ボタンをクリックします。 + 「新規ロール」プルダウンボックスから「siteadmin」を選択して、「追加」ボタンをクリックします(図\ref{fig:site_user6})。 -\begin{figure}[ht] +\begin{figure}[!htb] \begin{center} -\includegraphics[width=120mm]{images/site_user6.eps} -\caption{TBD} +\includegraphics[width=100mm]{images/site_user6.eps} +\caption{siteadminロールの追加} \label{fig:site_user6} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site/virtual-host.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -30,18 +30,20 @@ \subsection{サイトエディターの表示} - ゲストユーザーで表示されるサイトを編集するためには、編集権限を持つユーザーが必要になります。 - サイト管理者の設定方法については、前節の「サイト管理者の追加」を参照してください。 +ゲストユーザーで表示されるサイトを編集するためには、編集権限を持つユーザーが必要になります。 +サイト管理者の設定方法については、前節の「サイト管理者の追加」を参照してください。 - まず、サイト管理者でログインして、サイトエディターを表示します。 - ゲストユーザーで表示されるデフォルトのコンテンツは /\_\_subsite-root になりますが、仮想ホストは /\_\_subsite-root/\_hostname 以下にドメイン名のフォルダを作成して利用します。 - たとえば、http://www.example.com/... にアクセスしたときに表示したいページは、/\_\_subsite-root/\_hostname/www.example.com フォルダをルートフォルダとして、ページを作成します。 +まず、サイト管理者でログインして、サイトエディターを表示します。 +ゲストユーザーで表示されるデフォルトのコンテンツは /\_\_subsite-root になりますが、仮想ホストは /\_\_subsite-root/\_hostname 以下にドメイン名のフォルダを作成して利用します。 +たとえば、http://www.example.com/... にアクセスしたときに表示したいページは、 +/\_\_subsite-root/\_hostname/www.example.com フォルダをルートフォルダとして、 +ページを作成します(図\ref{fig:site_vhost1})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/site_vhost1.eps} -\caption{TBD} +\includegraphics[width=100mm]{images/site_vhost1.eps} +\caption{ページ作成例} \label{fig:site_vhost1} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/add-portlet.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -31,12 +31,12 @@ \subsection{サイトエディターの表示} - ログイン後、編集可能なページで「ページを編集」リンクを選択し、サイトエディターを表示します。 + ログイン後、編集可能なページで「ページを編集」リンクを選択し、サイトエディターを表示します(図\ref{fig:port_add1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_add1.eps} -\caption{TBD} +\caption{「ページを編集」リンクを選択し,サイトエディターを表示} \label{fig:port_add1} \end{center} \end{figure} @@ -44,13 +44,13 @@ \subsection{ポートレット追加するレイアウトを選択} - 「サイトエディター」画面の左側のツリー表示部分から、ポートレットを追加したいページを選択して、レイアウトを選択します。 - ここでは「2 列レイアウト(50/50)」を選択します。 + 「サイトエディター」画面の左側のツリー表示部分から、ポートレットを追加したいページを選択して、レイアウトを選択します(図\ref{fig:port_add1})。 + ここでは「2 列レイアウト(50/50)」を選択します(図\ref{fig:port_add3})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_add3.eps} -\caption{TBD} +\caption{レイアウトを選択} \label{fig:port_add3} \end{center} \end{figure} @@ -63,14 +63,14 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_add4.eps} -\caption{TBD} +\caption{ポートレットの選択} \label{fig:port_add4} \end{center} \end{figure} ポートレットのリストから追加したいポートレットを選択し、「ポートレットの追加」ボタンを押下します。 - 追加したいポートレットが複数ある場合は、同様にリストから選択し、再度、「ポートレットの追加」ボタンを押下してください。 + 追加したいポートレットが複数ある場合は、同様にリストから選択し、再度、「ポートレットの追加」ボタンを押下してください(図\ref{fig:port_add4})。 追加処理を完了するには、右上にある「完了」を選択してください。 @@ -79,12 +79,12 @@ \subsection{ポートレットの追加完了} 画面には、追加したポートレットが表示されます。 - (「ユーザー登録」ポートレットを追加した例) + (図\ref{fig:port_add6}は「ユーザー登録」ポートレットを追加した例) \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/port_add6.eps} -\caption{TBD} +\caption{「ユーザー登録」ポートレットを追加した例} \label{fig:port_add6} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/change-layout.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -32,12 +32,12 @@ \subsection{サイトエディターの表示} admin ユーザーでシステムへログインし、「サイトエディター」ページを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 + または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_changelayout1})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_changelayout1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_changelayout1} \end{center} \end{figure} @@ -45,24 +45,24 @@ \subsection{レイアウトの変更} - サイトエディターの左に表示されているフォルダおよびページのツリー表示の中から、レイアウトを変更したいページを選択します。 + サイトエディターの左に表示されているフォルダおよびページのツリー表示の中から、レイアウトを変更したいページを選択します(図\ref{fig:siteeditor_changelayout2})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_changelayout2.eps} -\caption{TBD} +\caption{ページの選択} \label{fig:siteeditor_changelayout2} \end{center} \end{figure} ページ内に含まれている変更したいレイアウトを選択します。 - ここでは、「VelocityOneColumn」を選択します。 + ここでは、「VelocityOneColumn」を選択します(図\ref{fig:siteeditor_changelayout3})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_changelayout3.eps} -\caption{TBD} +\caption{レイアウトの選択} \label{fig:siteeditor_changelayout3} \end{center} \end{figure} @@ -70,27 +70,27 @@ レイアウトのプルダウンボックスには、現在適用されているレイアウトが表示されます。 ここでは、「1列レイアウト」から「2列レイアウト(50/50)」に変更します。 - 50/50 は、ページ上でポートレットを 2 列表示して、50% の幅で各列を表示します。 + 50/50 は、ページ上でポートレットを 2 列表示して、50\% の幅で各列を表示します。 レイアウトのプルダウンボックスを変更したら、「更新」ボタンを押下します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_changelayout4.eps} -\caption{TBD} +\caption{レイアウト更新完了} \label{fig:siteeditor_changelayout4} \end{center} \end{figure} - レイアウトが更新されると、正常にレイアウトを更新したことを伝えるメッセージが表示されます。 - 一般ユーザーでページを変更している場合は、「完了」リンクをクリックして、レイアウトが変更されたかどうかを確認します。 + レイアウトが更新されると、正常にレイアウトを更新したことを伝えるメッセージが表示されます(図\ref{fig:siteeditor_changelayout4})。 + 一般ユーザーでページを変更している場合は、「完了」リンクをクリックして、レイアウトが変更されたかどうかを確認します(図\ref{fig:siteeditor_changelayout5})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_changelayout5.eps} -\caption{TBD} +\caption{レイアウト更新の確認} \label{fig:siteeditor_changelayout5} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-folder.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -31,13 +31,15 @@ \subsection{サイトエディターの表示} - admin ユーザーでシステムへログインし、「サイトエディター」フォルダを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なフォルダを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 +admin ユーザーでシステムへログインし、 +「サイトエディター」フォルダを表示するとサイトエディターが表示されます。 +または、各ユーザーで編集可能なフォルダを表示して、 +「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_createfolder1})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createfolder1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_createfolder1} \end{center} \end{figure} @@ -45,24 +47,25 @@ \subsection{フォルダの作成} - フォルダはフォルダ内に作成するので、まず、フォルダを作成したいフォルダを左側のフォルダ・フォルダのツリー表示から選択します。 - ここでは、「/\_user/admin/\_mediatype/html」を選択している画面です。 +フォルダはフォルダ内に作成するので、まず、 +フォルダを作成したいフォルダを左側のフォルダ・フォルダのツリー表示から選択します。 +ここでは、「/\_user/admin/\_mediatype/html」を選択している画面です(図\ref{fig:siteeditor_createfolder2})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createfolder2.eps} -\caption{TBD} +\caption{/\_user/admin/\_mediatype/html を選択している画面} \label{fig:siteeditor_createfolder2} \end{center} \end{figure} - 次に、右側の「追加」タブを選択し、「フォルダ・フォルダの追加」を表示します。 +次に、右側の「追加」タブを選択し、「フォルダ・フォルダの追加」を表示します(図\ref{fig:siteeditor_createfolder3})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createfolder3.eps} -\caption{TBD} +\caption{「追加」タブの選択} \label{fig:siteeditor_createfolder3} \end{center} \end{figure} @@ -77,10 +80,10 @@ デスクトップテーマは現在利用されていません。 フォルダを非表示を選択すると、URL を直接参照しない限り、一覧などに表示されなくなります。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createfolder4.eps} -\caption{TBD} +\caption{フォルダ情報の入力} \label{fig:siteeditor_createfolder4} \end{center} \end{figure} @@ -88,10 +91,10 @@ フォルダ情報を入力したら、「フォルダの追加」ボタンを押下して、フォルダを追加します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createfolder5.eps} -\caption{TBD} +\caption{フォルダ作成} \label{fig:siteeditor_createfolder5} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/create-page.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -22,8 +22,6 @@ - - \subsection{ページの追加手順} サイトエディターの「ページ管理」機能により行います。 @@ -31,13 +29,13 @@ \subsection{サイトエディターの表示} - admin ユーザーでシステムへログインし、「サイトエディター」ページを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 +admin ユーザーでシステムへログインし、「サイトエディター」ページを表示するとサイトエディターが表示されます。 +または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_createpage1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createpage1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_createpage1} \end{center} \end{figure} @@ -52,23 +50,23 @@ \subsection{ページの作成} ページはフォルダ内に作成するので、まず、ページを作成したいフォルダを左側のフォルダ・ページのツリー表示から選択します。 - ここでは、「/\_user/admin/\_mediatype/html」を選択している画面です。 + ここでは、「/\_user/admin/\_mediatype/html」を選択している画面です(図\ref{fig:siteeditor_createpage2})。 \begin{figure}[ht] -\begin{center} -\includegraphics[width=120mm]{images/siteeditor_createpage2.eps} -\caption{TBD} -\label{fig:siteeditor_createpage2} -\end{center} + \begin{center} + \includegraphics[width=120mm]{images/siteeditor_createpage2.eps} + \caption{/\_user/admin/\_mediatype/html を選択している画面} + \label{fig:siteeditor_createpage2} + \end{center} \end{figure} - 次に、右側の「追加」タブを選択し、「フォルダ・ページの追加」を表示します。 + 次に、右側の「追加」タブを選択し、「フォルダ・ページの追加」を表示します(図\ref{fig:siteeditor_createpage3})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createpage3.eps} -\caption{TBD} +\caption{「追加」タブの選択} \label{fig:siteeditor_createpage3} \end{center} \end{figure} @@ -87,7 +85,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createpage4.eps} -\caption{TBD} +\caption{ページ情報の入力} \label{fig:siteeditor_createpage4} \end{center} \end{figure} @@ -98,7 +96,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_createpage5.eps} -\caption{TBD} +\caption{ページの追加} \label{fig:siteeditor_createpage5} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-folder.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -32,12 +32,12 @@ \subsection{サイトエディターの表示} admin ユーザーでシステムへログインし、「サイトエディター」フォルダを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なフォルダを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 + または、各ユーザーで編集可能なフォルダを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_deletefolder1})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_deletefolder1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_deletefolder1} \end{center} \end{figure} @@ -45,23 +45,23 @@ \subsection{フォルダの削除} - サイトエディターの左側に表示されているフォルダおよびフォルダのツリー表示の中から、削除したいフォルダを選択します。 + サイトエディターの左側に表示されているフォルダおよびフォルダのツリー表示の中から、削除したいフォルダを選択します(図\ref{fig:siteeditor_deletefolder2})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_deletefolder2.eps} -\caption{TBD} +\caption{削除したいフォルダを選択} \label{fig:siteeditor_deletefolder2} \end{center} \end{figure} - 「削除」ボタンを押下すると、確認メッセージが表示されます。 + 「削除」ボタンを押下すると、確認メッセージが表示されます(図\ref{fig:siteeditor_deletefolder3})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/siteeditor_deletefolder3.eps} -\caption{TBD} +\includegraphics[width=60mm]{images/siteeditor_deletefolder3.eps} +\caption{確認メッセージ} \label{fig:siteeditor_deletefolder3} \end{center} \end{figure} @@ -69,16 +69,16 @@ OK ボタンを押下して、削除します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_deletefolder4.eps} -\caption{TBD} +\caption{削除完了メッセージ} \label{fig:siteeditor_deletefolder4} \end{center} \end{figure} - フォルダを削除すると、正常に削除されたことを伝えるメッセージが表示されます。 + フォルダを削除すると、正常に削除されたことを伝えるメッセージが表示されます(図\ref{fig:siteeditor_deletefolder4})。 Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/delete-page.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -32,12 +32,12 @@ \subsection{サイトエディターの表示} admin ユーザーでシステムへログインし、「サイトエディター」ページを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 + または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_deletepage1})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_deletepage1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_deletepage1} \end{center} \end{figure} @@ -45,23 +45,23 @@ \subsection{ページの削除} - サイトエディターの左側に表示されているフォルダおよびページのツリー表示の中から、削除したいページを選択します。 + サイトエディターの左側に表示されているフォルダおよびページのツリー表示の中から、削除したいページを選択します(図\ref{fig:siteeditor_deletepage2})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_deletepage2.eps} -\caption{TBD} +\caption{削除するページの選択} \label{fig:siteeditor_deletepage2} \end{center} \end{figure} - 「削除」ボタンを押下すると、確認メッセージが表示されます。 + 「削除」ボタンを押下すると、確認メッセージが表示されます(図\ref{fig:siteeditor_deletepage3})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/siteeditor_deletepage3.eps} -\caption{TBD} +\includegraphics[width=70mm]{images/siteeditor_deletepage3.eps} +\caption{確認メッセージ} \label{fig:siteeditor_deletepage3} \end{center} \end{figure} @@ -69,16 +69,16 @@ OK ボタンを押下して、削除します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/siteeditor_deletepage4.eps} -\caption{TBD} +\caption{ページ削除} \label{fig:siteeditor_deletepage4} \end{center} \end{figure} - ページを削除すると、正常に削除されたことを伝えるメッセージが表示されます。 + ページを削除すると、正常に削除されたことを伝えるメッセージが表示されます(図\ref{fig:siteeditor_deletepage4})。 Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-folder.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -32,12 +32,12 @@ \subsection{サイトエディターの表示} admin ユーザーでシステムへログインし、「サイトエディター」フォルダを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なフォルダを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 + または、各ユーザーで編集可能なフォルダを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_editfolder1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_editfolder1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_editfolder1} \end{center} \end{figure} @@ -45,12 +45,12 @@ \subsection{フォルダの変更} - サイトエディターの左に表示されているフォルダおよびフォルダのツリー表示の中から、編集したいフォルダを選択します。 + サイトエディターの左に表示されているフォルダおよびフォルダのツリー表示の中から、編集したいフォルダを選択します(図\ref{fig:siteeditor_editfolder2})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_editfolder2.eps} -\caption{TBD} +\caption{フォルダの選択} \label{fig:siteeditor_editfolder2} \end{center} \end{figure} @@ -69,13 +69,13 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_editfolder3.eps} -\caption{TBD} +\caption{フォルダ更新完了} \label{fig:siteeditor_editfolder3} \end{center} \end{figure} - フォルダが更新されると、正常にフォルダを更新したことを伝えるメッセージが表示されます。 + フォルダが更新されると、正常にフォルダを更新したことを伝えるメッセージが表示されます(図\ref{fig:siteeditor_editfolder3})。 Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/edit-page.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -31,13 +31,13 @@ \subsection{サイトエディターの表示} - admin ユーザーでシステムへログインし、「サイトエディター」ページを表示するとサイトエディターが表示されます。 - または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します。 +admin ユーザーでシステムへログインし、「サイトエディター」ページを表示するとサイトエディターが表示されます。 +または、各ユーザーで編集可能なページを表示して、「ページを編集」リンクをクリックして「サイトエディター」を表示します(図\ref{fig:siteeditor_editpage1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_editpage1.eps} -\caption{TBD} +\caption{サイトエディターの表示} \label{fig:siteeditor_editpage1} \end{center} \end{figure} @@ -45,12 +45,12 @@ \subsection{ページの変更} - サイトエディターの左に表示されているフォルダおよびページのツリー表示の中から、編集したいページを選択します。 +サイトエディターの左に表示されているフォルダおよびページのツリー表示の中から、編集したいページを選択します(図\ref{fig:siteeditor_editpage2})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_editpage2.eps} -\caption{TBD} +\caption{ページの選択} \label{fig:siteeditor_editpage2} \end{center} \end{figure} @@ -68,7 +68,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_editpage3.eps} -\caption{TBD} +\caption{ページの更新} \label{fig:siteeditor_editpage3} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/guide.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -38,55 +38,48 @@ \subsection{サイトの構成要素} - サイトの構成要素には、フォルダ、ページ、レイアウト、ポートレットがあります。 - サイトエディターを利用することで、それらの構成要素を編集することができます。 - それらの構成要素は、ルートフォルダ(/)を起点として、ツリー構造を形成しています。 +サイトの構成要素には、フォルダ、ページ、レイアウト、ポートレットがあります。 +サイトエディターを利用することで、それらの構成要素を編集することができます。 +それらの構成要素は、ルートフォルダ(/)を起点として、ツリー構造を形成しています(図\ref{fig:siteeditor_guide1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_guide1.eps} -\caption{TBD} +\caption{サイトエディター} \label{fig:siteeditor_guide1} \end{center} \end{figure} - まず、ページはブラウザでポータルにアクセスしたときに表示される HTML ページに対応しています。 - ページは、ページのタイトルや見た目のデザインの情報を保持しています。 - また、ページはレイアウトを子として持ちます。 - ページは、デフォルトで、ポータルの WEB-INF/pages 以下に .psml ファイルとして保存されます(設定によりデータベースに保存することも可能)。 +まず、ページはブラウザでポータルにアクセスしたときに表示される HTML ページに対応しています。 +ページは、ページのタイトルや見た目のデザインの情報を保持しています。 +また、ページはレイアウトを子として持ちます。 +ページは、デフォルトで、ポータルの WEB-INF/pages 以下に .psml ファイルとして保存されます\footnote{設定によりデータベースに保存することも可能です}。 +フォルダは、複数のページをまとめるときに利用することができます。 +フォルダは、フォルダとページを子として持つことができます。 +フォルダを子として持つことで、複数のフォルダの階層構造を構成することも可能です。 - フォルダは、複数のページをまとめるときに利用することができます。 - フォルダは、フォルダとページを子として持つことができます。 - フォルダを子として持つことで、複数のフォルダの階層構造を構成することも可能です。 +レイアウトは、ページ内で表示するポートレットの位置を決定します。 +レイアウトはポートレットを複数列にまとめ、1 列表示、2列表示などで複数のポートレットを表示することができます。 +利用者は、レイアウトを変更することで、ポートレットの表示方法を変更することができます。 +ポートレットは、ポータル上に配備されたポートレットをページに置くことで表示されます。 +利用者は、表示したいページのレイアウトにポートレットを追加することで、ブラウザでアクセスしたときにページ内に表示することができます。 - レイアウトは、ページ内で表示するポートレットの位置を決定します。 - レイアウトはポートレットを複数列にまとめ、1 列表示、2列表示などで複数のポートレットを表示することができます。 - 利用者は、レイアウトを変更することで、ポートレットの表示方法を変更することができます。 - - - ポートレットは、ポータル上に配備されたポートレットをページに置くことで表示されます。 - 利用者は、表示したいページのレイアウトにポートレットを追加することで、ブラウザでアクセスしたときにページ内に表示することができます。 - - \subsection{プロファイリングルール} - PALポータルでは、プロファイリングルールを用いて、様々なページをユーザー、ロール、グループごとに表示することができます。 - たとえば、標準の j2 プロファイリングルールでは、http://localhost:8080/palportal/default-page.psml にアクセスされた場合、以下の順で .psml ファイルを探します。 +PALポータルでは、プロファイリングルールを用いて、様々なページをユーザー、ロール、グループごとに表示することができます。 +たとえば、標準の j2 プロファイリングルールでは、http://localhost:8080/palportal/default-page.psml にアクセスされた場合、以下の順で .psml ファイルを探します。 -/\_user/ユーザー名/\_mediatype/html/\_language/ja/\_country/JP/default-page.psml -/\_user/ユーザー名/\_mediatype/html/\_language/ja/default-page.psml -/\_user/ユーザー名/\_mediatype/html/default-page.psml -/\_user/ユーザー名/default-page.psml -/default-page.psml +\begin{enumerate} +\item /\_user/ユーザー名/\_mediatype/html/\_language/ja/\_country/JP/default-page.psml +\item /\_user/ユーザー名/\_mediatype/html/\_language/ja/default-page.psml +\item /\_user/ユーザー名/\_mediatype/html/default-page.psml +\item /\_user/ユーザー名/default-page.psml +\item /default-page.psml +\end{enumerate} - 存在した .psml ファイルをページとして、ブラウザ上に表示します。 +存在した .psml ファイルをページとして、ブラウザ上に表示します。 - - プロファイリングルールは、ユーザーごとに設定できるので、ユーザーごとに柔軟なページ表示を実現することができます。 - - - - +プロファイリングルールは、ユーザーごとに設定できるので、ユーザーごとに柔軟なページ表示を実現することができます。 Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/site-editor/open-siteeditor.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -35,12 +35,13 @@ \subsection{管理者ユーザーによるアクセス} - ログインして表示されるトップページにサイトエディターのアイコンが表示されているので、サイトエディターを選択して利用できます。 +ログインして表示されるトップページにサイトエディターのアイコンが表示されているので、 +サイトエディターを選択して利用できます(図\ref{fig:siteeditor_opensiteeditor1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_opensiteeditor1.eps} -\caption{TBD} +\caption{管理者ユーザーのトップページからサイトエディターへアクセス} \label{fig:siteeditor_opensiteeditor1} \end{center} \end{figure} @@ -48,13 +49,15 @@ \subsection{一般ユーザーによるアクセス} - 一般ユーザーでログインすると、ページを編集する権限を持っている場合、「ページを編集」リンクが表示されます。 - 「ページを編集」リンクをクリックすることで、サイトエディターを利用することができます。 +一般ユーザーでログインすると、ページを編集する権限を持っている場合、 +「ページを編集」リンクが表示されます。「ページを編集」リンクをクリックすることで、 +サイトエディターを利用することができます(図\ref{fig:siteeditor_opensiteeditor2})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/siteeditor_opensiteeditor2.eps} -\caption{TBD} +\caption{一般ユーザーとしてサイトエディターへアクセス} +%\caption{TBD} \label{fig:siteeditor_opensiteeditor2} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/edit.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -32,23 +32,23 @@ 編集したいコンテンツを表示します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_edit1.eps} -\caption{TBD} +\caption{編集対象のコンテンツ} \label{fig:wcm_edit1} \end{center} \end{figure} タイトルバー内の右側に表示される編集アイコンをクリックします。 - 「このコンテンツの編集」ボタンをクリックします。 + その後、「内容を編集する」ボタンをクリックします。 「戻る」ボタンをクリックした場合は、コンテンツ表示モードに戻ります。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_edit2.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/wcm_edit2.eps} +\caption{「内容を編集する」ボタンをクリック} \label{fig:wcm_edit2} \end{center} \end{figure} @@ -56,10 +56,10 @@ WCM エディターが表示されます。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_edit3.eps} -\caption{TBD} +\caption{WCMエディター} \label{fig:wcm_edit3} \end{center} \end{figure} @@ -70,10 +70,10 @@ ポートレットのタイトルバー内に表示するタイトル文字列を入力します。 WCM エディターの上部の「タイトル」テキストフィールド入力欄に設定したい文字列を入力します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_edit4.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/wcm_edit4.eps} +\caption{タイトルの入力} \label{fig:wcm_edit4} \end{center} \end{figure} @@ -84,10 +84,10 @@ ポートレット上に表示されるコンテンツを入力します。 WCM エディターの中央部のテキスト入力欄にコンテンツを入力します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_edit5.eps} -\caption{TBD} +\caption{コンテンツの入力} \label{fig:wcm_edit5} \end{center} \end{figure} @@ -102,10 +102,10 @@ WCM エディターの下部に表示されている「保存」ボタンをクリックしてください。 保存に成功すると、「コンテンツを保存しました」と表示されます。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_edit6.eps} -\caption{TBD} +\includegraphics[width=90mm]{images/wcm_edit6.eps} +\caption{コンテンツの保存} \label{fig:wcm_edit6} \end{center} \end{figure} @@ -120,7 +120,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/wcm_edit7.eps} -\caption{TBD} +\caption{保存されたコンテンツが表示される} \label{fig:wcm_edit7} \end{center} \end{figure} @@ -128,6 +128,3 @@ 保存したコンテンツが表示されます。 - - - Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/i18n.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -32,10 +32,10 @@ 編集したいコンテンツを選択して、WCM エディターを表示します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_i18n1.eps} -\caption{TBD} +\caption{デフォルトの表示} \label{fig:wcm_i18n1} \end{center} \end{figure} @@ -50,34 +50,34 @@ WCM エディターの右上の設定アイコン (歯車のアイコン) をクリックします。 設定ページが表示されます。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_i18n2.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/wcm_i18n2.eps} +\caption{設定ページ} \label{fig:wcm_i18n2} \end{center} \end{figure} - 「言語」入力欄に利用する言語を入力します。 - 日本語であれば、「ja」を入力します。 - 入力後、「追加」ボタンをクリックして、言語を追加します。 +「言語」欄から利用する言語を選択します。 +日本語であれば、「ja」を選びます。 +選択後、「追加」ボタンをクリックして、言語を追加します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_i18n3.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/wcm_i18n3.eps} +\caption{ja を追加} \label{fig:wcm_i18n3} \end{center} \end{figure} - 正常に言語が追加されると、「言語を追加しました」というメッセージが表示され、言語リストに追加した言語が表示されます。 +正常に言語が追加されると、「言語を追加しました」というメッセージが表示され、言語リストに追加した言語が表示されます。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_i18n4.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/wcm_i18n4.eps} +\caption{言語リストに語を追加} \label{fig:wcm_i18n4} \end{center} \end{figure} @@ -89,10 +89,10 @@ コンテンツ編集ページが表示されます。 「言語」プルダウンボックスから、上記で追加した言語を指定します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_i18n5.eps} -\caption{TBD} +\caption{ja を選択} \label{fig:wcm_i18n5} \end{center} \end{figure} @@ -101,10 +101,10 @@ 「リロード」ボタンをクリックすると、その言語用のコンテンツが表示されます。 新規に言語を追加している場合は、タイトルとコンテンツ部分は空欄となります。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_i18n6.eps} -\caption{TBD} +\caption{日本語用コンテンツ(新規に追加されたので空欄)} \label{fig:wcm_i18n6} \end{center} \end{figure} @@ -112,10 +112,10 @@ 指定した言語用のタイトルとコンテンツを保存します。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} \includegraphics[width=120mm]{images/wcm_i18n7.eps} -\caption{TBD} +\caption{日本語用コンテンツを保存} \label{fig:wcm_i18n7} \end{center} \end{figure} @@ -129,7 +129,7 @@ \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/wcm_i18n8.eps} -\caption{TBD} +\caption{使用言語が日本語のブラウザで表示した例} \label{fig:wcm_i18n8} \end{center} \end{figure} @@ -142,8 +142,8 @@ \begin{figure}[ht] \begin{center} -\includegraphics[width=120mm]{images/wcm_i18n9.eps} -\caption{TBD} +\includegraphics[width=50mm]{images/wcm_i18n9.eps} +\caption{言語の削除} \label{fig:wcm_i18n9} \end{center} \end{figure} Modified: pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex =================================================================== --- pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex 2009-01-24 23:30:32 UTC (rev 1700) +++ pal-portal/docs/ja/administration-guide/trunk/src/tex/wcm/view.tex 2009-01-28 06:45:25 UTC (rev 1701) @@ -31,24 +31,24 @@ \subsection{WCM ビューアーの配置} ポートレット内にコンテンツを表示する WCM ビューアーを配置します。 - WCM ビューアーを配置したいページを表示して、「コンテンツを追加」リンクをクリックします。 + WCM ビューアーを配置したいページを表示して、「コンテンツを追加」リンクをクリックします(図\ref{fig:wcm_view1})。 -\begin{figure}[ht] +\begin{figure}[htb] \begin{center} -\includegraphics[width=120mm]{images/wcm_view1.eps} -\caption{TBD} +\includegraphics[width=80mm]{images/wcm_view1.eps} +\caption{「コンテンツを追加」リンクをクリック} \label{fig:wcm_view1} \end{center} \end{figure} 「コンテンツ」プルダウンボックスから WCM ビューアーを選択して、「追加」ボタンをクリックします。 - WCM ビューアーがページ上に表示されます。 + WCM ビューアーがページ上に表示されます(図\ref{fig:wcm_view1})。 \begin{figure}[ht] \begin{center} \includegraphics[width=120mm]{images/wcm_view2.eps} -\caption{TBD} +\caption{WCM ビューアー} \label{fig:wcm_view2} \end{center} \end{figure} From svnnotify @ sourceforge.jp Wed Jan 28 17:57:44 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Wed, 28 Jan 2009 17:57:44 +0900 Subject: [pal-cvs 3967] [1702] updated configuration-guide Message-ID: <1233133064.122920.25484.nullmailer@users.sourceforge.jp> Revision: 1702 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1702 Author: sone Date: 2009-01-28 17:57:44 +0900 (Wed, 28 Jan 2009) Log Message: ----------- updated configuration-guide Modified Paths: -------------- pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/api.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/guide.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/appendix/jetspeed-portlet.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/batch/usermanager.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/profiler/profilingrule.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/guide.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/menu.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/security.tex pal-portal/docs/ja/configuration-guide/trunk/src/tex/userattribute/guide.tex -------------- next part -------------- Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/api.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/api.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/api.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -31,7 +31,6 @@ API へは、以下のようなポータル URL パスの "ajaxapi" サーブレット経由で HTTP を使ってアクセスします。 \begin{screen} http://hostname/contextname/ajaxapi - \end{screen} \subsubsection{リクエストパラメータとページ} @@ -39,17 +38,19 @@ リクエストパラメータは、リクエストした API の動作と、追加の API パラメータを指定します。 リクエストが参照しているページは、HTTP URL 内に含まれます。 ですので、もしページを変更するリクエストを作成したい場合は、ページは以下のような HTTP URL 内で指定します。 + \begin{screen} http://localhost:8080/jetspeed/ajaxapi/Public/db-browser.psml +\end{screen} -\end{screen} 標準の PALポータルプロファイリングを使ったページ検索アルゴリズムが、ページを決定します。 PALポータルのプロファイリングルールにより、ユーザーのためのページを検索するため、URL に含まれていなくても動作します。 たとえば、 + \begin{screen} http://localhost:8080/jetspeed/ajaxapi +\end{screen} -\end{screen} という URL は、現在のユーザのデフォルトページを表示します。 @@ -63,44 +64,47 @@ \subsubsection{ページの取得} +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +API: & getpage \\ +\hline +コンポーネント: & AjaxGetPage \\ +\hline +説明: & getpage は、ページマネージャから、PSML に保存されたページを取得します。 \\ +\hline +\end{tabular} +\end{center} +\end{table} -API: -getpage +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +パラメータ: & \\ +\hline +page & URL に含まれます \\ +\hline +action & getportlets (省略可、これがデフォルトのアクションです) \\ +\hline +\end{tabular} +\end{center} +\end{table} -コンポーネント: -AjaxGetPage -説明: -getpage は、ページマネージャから、PSML に保存されたページを取得します。 - - - -パラメータ: - - -page -URL に含まれます - - -action -getportlets (省略可、これがデフォルトのアクションです) - - - - API の例: \begin{screen} http://localhost:8080/jetspeed/ajaxapi/Public/content.psml - \end{screen} XML レスポンス: \begin{screen} - +\begin{small} \begin{verbatim} success @@ -134,8 +138,7 @@ \end{verbatim} - - +\end{small} \end{screen} @@ -144,54 +147,53 @@ \subsubsection{絶対位置で移動} -API: -moveabs +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|p{35em}|} +\hline +API: & moveabs \\ +\hline +コンポーネント: & AjaxMovePortletAbsolute \\ +\hline +説明: & ページ上のポートレットの絶対位置をリクエストパラメータで指定した row と col に従って移動する。 \\ +\hline +\end{tabular} +\end{center} +\end{table} -コンポーネント: -AjaxMovePortletAbsolute +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +パラメータ: & \\ +\hline +page & URL に含まれます \\ +\hline +action & moveabs \\ +\hline +id & 移動させたいポートレットのポートレット PSML フラグメント ID \\ +\hline +row & ポートレットフラグメントを置きたい位置の絶対的な行位置 (ゼロベース) \\ +\hline +col & ポートレットフラグメントを置きたい位置の絶対的な列位置 (ゼロベース) \\ +\hline +\end{tabular} +\end{center} +\end{table} -説明: -ページ上のポートレットの絶対位置をリクエストパラメータで指定した row と col に従って移動する。 - -パラメータ: - - -page -URL に含まれます - - -action -moveabs - - -id -移動させたいポートレットのポートレット PSML フラグメント ID - - -row -ポートレットフラグメントを置きたい位置の絶対的な行位置 (ゼロベース) - - -col -ポートレットフラグメントを置きたい位置の絶対的な列位置 (ゼロベース) - - - - API の例: \begin{screen} -http://localhost:8080/jetspeed/ajaxapi/Public/public.psml?action=moveabs\&id=ps-1003\&row=0\&col=1 - +http://localhost:8080/jetspeed/ajaxapi/Public/public.psml?action=moveabs\&id=ps-1003\&row=0\&col=1 \end{screen} XML レスポンス: \begin{screen} - +\begin{small} \begin{verbatim} success @@ -205,10 +207,9 @@ 10 - + \end{verbatim} - - +\end{small} \end{screen} @@ -217,46 +218,51 @@ -API: -moveleft, moveright, moveup, movedown +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +API: & moveleft, moveright, moveup, movedown \\ +\hline +コンポーネント: & AjaxMovePortletLeft, AjaxMovePortletRight, AjaxMovePortletUp, AjaxMoveDown \\ +\hline +説明: & アクションを指定して、ページ上のポートレットを相対的なある位置から移動する。 \\ +\hline +\end{tabular} +\end{center} +\end{table} -コンポーネント: -AjaxMovePortletLeft, AjaxMovePortletRight, AjaxMovePortletUp, AjaxMoveDown +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +パラメータ: & \\ +\hline +page & URL に含まれます \\ +\hline +action & moveleft, moveright, moveup, movedown \\ +\hline +id & 移動させたいポートレットのポートレット PSML フラグメント ID \\ +\hline +\end{tabular} +\end{center} +\end{table} -説明: -アクションを指定して、ページ上のポートレットを相対的なある位置から移動する。 -パラメータ: - -page -URL に含まれます - - -action -moveleft, moveright, moveup, movedown - - -id -移動させたいポートレットのポートレット PSML フラグメント ID - - - - API の例: \begin{screen} http://localhost:8080/jetspeed/ajaxapi/Public/public.psml?action=movedown\&id=ps-1003 - \end{screen} XML レスポンス: \begin{screen} - +\begin{small} \begin{verbatim} success @@ -270,10 +276,9 @@ 11 - + \end{verbatim} - - +\end{small} \end{screen} @@ -281,44 +286,44 @@ \subsubsection{ポートレットの追加} +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|p{35em}|} +\hline +API: & add \\ +\hline +コンポーネント: & AjaxAddPortlet \\ +\hline +説明: & +現在のページに新しいポートレットを追加します。ポートレットは指定する行と列の場所に追加することが可能です。もし、行も列も指定されない場合は、デフォルトでそれぞれ 0 に設定されます。\\ +\hline +\end{tabular} +\end{center} +\end{table} -API: -add +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|p{35em}|} +\hline +パラメータ: & \\ +\hline +page & URL に含まれます \\ +\hline +action & add \\ +\hline +id & ページに配置したいポートレットのフルネーム。PALポータルのポートレットの命名規則を使って指定します (ポートレットアプリケーション名::ポートレット名) \\ +\hline +row & 省略可: 新しいポートレットフラグメントを置きたい場所の行位置の絶対指定 (ゼロベース) \\ +\hline +col & 省略可: 新しいポートレットフラグメントを置きたい場所の列位置の絶対指定 (ゼロベース) \\ +\hline +\end{tabular} +\end{center} +\end{table} -コンポーネント: -AjaxAddPortlet -説明: -現在のページに新しいポートレットを追加します。ポートレットは指定する行と列の場所に追加することが可能です。もし、行も列も指定されない場合は、デフォルトでそれぞれ 0 に設定されます。 - - -パラメータ: - - -page -URL に含まれます - - -action -add - - -id -ページに配置したいポートレットのフルネーム。PALポータルのポートレットの命名規則を使って指定します (ポートレットアプリケーション名::ポートレット名) - - -row -省略可: 新しいポートレットフラグメントを置きたい場所の行位置の絶対指定 (ゼロベース) - - -col -省略可: 新しいポートレットフラグメントを置きたい場所の列位置の絶対指定 (ゼロベース) - - - - API の例: \begin{screen} http://localhost:8080/jetspeed/ajaxapi/Public/public.psml?action=add\&id=jsf-demo::CalendarPortlet @@ -329,7 +334,7 @@ XML レスポンス: \begin{screen} - +\begin{small} \begin{verbatim} success @@ -341,8 +346,7 @@ \end{verbatim} - - +\end{small} \end{screen} @@ -350,47 +354,48 @@ \subsubsection{ポートレットの削除} +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +API: & remove \\ +\hline +コンポーネント: & AjaxRemovePortlet \\ +\hline +説明: & 現在のページから新たにポートレットを削除する。 \\ +\hline +\end{tabular} +\end{center} +\end{table} -API: -remove +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +パラメータ: & \\ +\hline +page & URL に含まれる \\ +\hline +action & remove \\ +\hline +id & 削除したいポートレットのポートレット PSML ID \\ +\hline +\end{tabular} +\end{center} +\end{table} -コンポーネント: -AjaxRemovePortlet - -説明: -現在のページから新たにポートレットを削除する。 - - -パラメータ: - - -page -URL に含まれる - - -action -remove - - -id -削除したいポートレットのポートレット PSML ID - - - - API の例: \begin{screen} http://localhost:8080/jetspeed/ajaxapi/Public/public.psml?action=remove\&id=ps-1003 - \end{screen} XML レスポンス: \begin{screen} - +\begin{small} \begin{verbatim} success @@ -402,8 +407,7 @@ \end{verbatim} - - +\end{small} \end{screen} @@ -411,47 +415,51 @@ \subsubsection{ポートレットの取得} +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|p{35em}|} +\hline +API: & getportlets \\ +\hline +コンポーネント: & AjaxGetPortlets \\ +\hline +説明: & +ポートレットの取得は、現在のサブジェクトで利用可能な (ソートされた) ポートレットのリストを返します。ポートレットリストはフィルタリングされ、現在のサブジェクトで表示可能なポートレットが返されます。PALポータルセキュリティポリシー (JAAS) は、このフィルタリングを実行します。ポートレット (のリスト) は、それぞれのポートレットの名前、表示名、説明の記述された XML フォーマットで返されます。 \\ +\hline +\end{tabular} +\end{center} +\end{table} -API: -getportlets +\begin{table}[htbp] +\begin{center} +\begin{tabular}[tb]{|l|l|} +\hline +パラメータ: & \\ +\hline +page & URL に含まれる \\ +\hline +action & getportlets \\ +\hline +filter & +まだ実装されていません。照会のフィルタを定義します。 \\ +\hline +\end{tabular} +\end{center} +\end{table} -コンポーネント: -AjaxGetPortlets -説明: -ポートレットの取得は、現在のサブジェクトで利用可能な (ソートされた) ポートレットのリストを返します。ポートレットリストはフィルタリングされ、現在のサブジェクトで表示可能なポートレットが返されます。PALポータルセキュリティポリシー (JAAS) は、このフィルタリングを実行します。ポートレット (のリスト) は、それぞれのポートレットの名前、表示名、説明の記述された XML フォーマットで返されます。 - - -パラメータ: - - -page -URL に含まれる - - -action -getportlets - - -filter -まだ実装されていません。照会のフィルタを定義します。 - - - - API の例: \begin{screen} http://localhost:8080/jetspeed/ajaxapi?action=getportlets - \end{screen} XML レスポンス: \begin{screen} - +\begin{small} \begin{verbatim} success @@ -474,8 +482,7 @@ \end{verbatim} - - +\end{small} \end{screen} @@ -486,7 +493,7 @@ AjaxRequestServiceは、Ajax リクエストを扱う Spring のコンポーネントです。これは、Ajax リクエストの特別な処理のために、Ajax パイプライン内でフックされます。以下が Spring アセンブリです。それぞれの API は Ajax サービス内で設定されます。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -525,8 +532,7 @@ \end{verbatim} - - +\end{small} \end{screen} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/guide.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/guide.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/ajax/guide.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -40,7 +40,7 @@ \item ポートレットのセレクタ- エンドユーザへのポートレットの選択リストを提供。 \item セキュリティの設定- リソース (ページ、ポートレット、フォルダ、リンク、フラグメント) もしくはポータル全体でのセキュリティ制約、またはポリシーの設定。 \item メニューの設定- PALポータルサイトのメニューの生成や編集。 -全体的な管理- 全体的な管理を行う全てのユースケースはまだ検討されていません。 +\item 全体的な管理- 全体的な管理を行う全てのユースケースはまだ検討されていません。 \end{itemize} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/appendix/jetspeed-portlet.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/appendix/jetspeed-portlet.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/appendix/jetspeed-portlet.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -9,8 +9,9 @@ \subsection{jetspeed-portlet.xsd} -\begin{screen} - +\begin{framed} +%\begin{screen} +\begin{small} \begin{verbatim} \end{verbatim} +\end{small} +%\end{screen} +\end{framed} -\end{screen} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/batch/usermanager.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/batch/usermanager.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/batch/usermanager.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -56,7 +56,7 @@ \subsection{アクセス方法} -http://localhost:8080/palportal/userManager?name1=value1\&... にアクセスすると対象の操作が実行されます。 +http://localhost:8080/palportal/userManager?name1=value1\&... にアクセスすると対象の操作が実行されます。 以下の操作を実行できます。 \begin{itemize} @@ -97,9 +97,10 @@ 指定されたユーザーが認証できるかを確認します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザーの認証確認:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -116,9 +117,10 @@ \end{table} -出力結果のstatus +%出力結果のstatus -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザーの認証確認:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -141,10 +143,11 @@ 指定したユーザー名でユーザーを作成します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザーの追加:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -162,9 +165,10 @@ -出力結果のstatus +%出力結果のstatus -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザーの追加:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -190,9 +194,10 @@ 指定されたユーザーのパスワードを変更します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[htbp] +\begin{table}[!h] +\caption{パスワードの更新:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -208,10 +213,10 @@ \end{center} \end{table} +%出力結果のstatus -出力結果のstatus - -\begin{table}[htbp] +\begin{table}[!h] +\caption{パスワードの更新:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -236,9 +241,10 @@ 指定されたユーザー名のユーザーを削除します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[ht] +\begin{table}[!h] +\caption{ユーザーの削除:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -255,9 +261,10 @@ \end{table} -出力結果のstatus +%出力結果のstatus -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザーの削除:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -283,9 +290,10 @@ 指定されたユーザーのユーザー属性を取得します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の取得:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -302,10 +310,11 @@ \end{table} -出力結果のstatus +%出力結果のstatus -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の取得:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -328,10 +337,10 @@ \end{table} +%出力結果のresult -出力結果のresult - -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の取得:出力結果のresult} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -347,9 +356,10 @@ 指定されたユーザー名のユーザー属性を更新します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の更新:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -368,9 +378,10 @@ \end{table} -出力結果のstatus +%出力結果のstatus -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の更新:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -396,9 +407,10 @@ 指定されたユーザー名のユーザー属性を削除します。 -URLで渡すパラメータ +%URLで渡すパラメータ -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の削除:URLで渡すパラメータ} \begin{center} \begin{tabular}[tb]{|l|l|} \hline @@ -415,9 +427,10 @@ \end{table} -出力結果のstatus +%出力結果のstatus -\begin{table}[htbp] +\begin{table}[!h] +\caption{ユーザー属性の削除:出力結果のstatus} \begin{center} \begin{tabular}[tb]{|l|l|} \hline Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/profiler/profilingrule.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/profiler/profilingrule.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/profiler/profilingrule.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -52,7 +52,7 @@ \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{36em}|} \hline リゾルバ & 説明\\ \hline\hline Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/guide.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/guide.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/guide.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -188,14 +188,14 @@ \subsection{ ページ} -\<page\> 要素は、ポータルサイトのページに関連する他の PSML 要素を保持するための単純な入れ物です。 +$<$page$>$ 要素は、ポータルサイトのページに関連する他の PSML 要素を保持するための単純な入れ物です。 この要素は、親であるフォルダを構成する適切なファイルシステムディレクトリ内に、'.psml' という拡張子を持つファイルとして存在します(PSML をファイルシステム保存した場合)。 2 つの有効な属性がページエレメントの属性として存在します。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{36em}|} \hline 属性 & 説明\\ \hline\hline @@ -209,12 +209,12 @@ -\<page\> 要素は多くの他の PSML 要素を含みます。 +$<$page$>$ 要素は多くの他の PSML 要素を含みます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 要素 & 説明\\ \hline\hline @@ -242,14 +242,14 @@ \subsection{デフォルト} -ページ内の \<defaults\> 要素は、デフォルトのレイアウトデコレータと、デフォルトのポートレットデコレータを定義します。 +ページ内の $<$defaults$>$ 要素は、デフォルトのレイアウトデコレータと、デフォルトのポートレットデコレータを定義します。 デフォルトのレイアウトデコレータは、デコレータ属性を持たない全てのレイアウトフラグメントに対して適用されます。 デフォルトのポートレットデコレータは、デコレータ属性を持たない全てのポートレットフラグメントに対して適用されます。 defaults 要素には 3 つの有効な属性があります。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -280,7 +280,7 @@ \end{screen} \subsection{レイアウトフラグメント} -ページのレイアウト \<fragment\> 要素は階層構造のコンテナです。 +ページのレイアウト $<$fragment$>$ 要素は階層構造のコンテナです。 これはポートレットフラグメントと、階層化されたレイアウトフラグメントを保持するのに使われます。 ページのルートのフラグメントは、ページに 1 つしかポートレットがないときでも、レイアウトフラグメントでなければなりません。 レイアウトフラグメントは親となるレイアウトフラグメントのレイアウトに従属します。 @@ -291,7 +291,7 @@ \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -306,11 +306,11 @@ \end{table} -レイアウト \<fragment\> 要素はたくさんの他の PSML 要素を含みます。 +レイアウト $<$fragment$>$ 要素はたくさんの他の PSML 要素を含みます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{35em}|} \hline 要素 & 説明\\ \hline\hline @@ -356,14 +356,14 @@ \end{screen} \subsection{ポートレットフラグメント} -ポートレットの \<fragment\> 要素は、ページのポートレットを識別するために使われます。 +ポートレットの $<$fragment$>$ 要素は、ページのポートレットを識別するために使われます。 ポートレットフラグメントは、親レイアウトフラグメントのレイアウトの影響を受けます。 ですので、レイアウトで定められている 'row' と 'column' のレイアウトプロパティをサポートします。 この要素に対しては多数の有効な属性が存在します。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -388,7 +388,7 @@ \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 要素 & 説明\\ \hline\hline @@ -422,13 +422,13 @@ \end{screen} \subsection{フラグメントのプロパティ} -フラグメントの \<property\> 要素はフラグメントのプロパティの名前を指定するのに使われます。 +フラグメントの $<$property$>$ 要素はフラグメントのプロパティの名前を指定するのに使われます。 これらのプロパティは一般にレイアウトポートレットのパラメータとページ内のポートレットの位置を指定するために使われます。 プロパティ要素は 3 つの属性をサポートします。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 要素 & 説明\\ \hline\hline @@ -473,14 +473,14 @@ \end{screen} \subsection{プリファレンス} -ポートレットフラグメントの \<preference\> 要素は、ポートレットプリファレンスを定義します。 +ポートレットフラグメントの $<$preference$>$ 要素は、ポートレットプリファレンスを定義します。 これは、ポートレットアプリケーションの portlet.xml 内に、ポートレットの定義を何度も行う必要なく、ページ上のポートレットインスタンス用に、デフォルトのポートレットプリファレンスの設定を、簡単に行う手段を提供します。 -プリファレンスの優先度: ユーザ定義 \> フラグメント定義 \> portlet.xml での定義 +プリファレンスの優先度: ユーザ定義 $>$ フラグメント定義 $>$ portlet.xml での定義 -\<preference\> 要素の属性は以下のようなものです。 +$<$preference$>$ 要素の属性は以下のようなものです。 \begin{table}[htbp] @@ -531,11 +531,11 @@ \subsection{フォルダ} -\<folder\> 要素は、ポータルサイトのフォルダと関連する他の PSML 要素を保持する単純な入れ物です。この要素は、関連するファイルシステムディレクトリ内の folder.metadata ファイルとして存在します。フォルダの要素には 2 つの有効な属性が存在します。 +$<$folder$>$ 要素は、ポータルサイトのフォルダと関連する他の PSML 要素を保持する単純な入れ物です。この要素は、関連するファイルシステムディレクトリ内の folder.metadata ファイルとして存在します。フォルダの要素には 2 つの有効な属性が存在します。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -548,12 +548,12 @@ \end{table} -\<folder\> 要素は多くの他の PSML 要素を含みます。 +$<$folder$>$ 要素は多くの他の PSML 要素を含みます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{38em}|} \hline 要素 & 説明\\ \hline\hline @@ -581,12 +581,12 @@ \subsection{リンク} -\<link\> 要素は、ポータルサイトの外部のコンテンツを参照するのに使われるポータルリンクに関連づけられている、他の PSML 要素を保持するシンプルな入れ物です。この要素は、親フォルダと関連づけられている、適切なファイルシステムのディレクトリ内に存在する「.link」という拡張子のファイルとして存在します。この要素には 2 つの有効な属性があります。 +$<$link$>$ 要素は、ポータルサイトの外部のコンテンツを参照するのに使われるポータルリンクに関連づけられている、他の PSML 要素を保持するシンプルな入れ物です。この要素は、親フォルダと関連づけられている、適切なファイルシステムのディレクトリ内に存在する「.link」という拡張子のファイルとして存在します。この要素には 2 つの有効な属性があります。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -600,11 +600,11 @@ -\<link\> 要素は多数の他の PSML 要素を含みます。 +$<$link$>$ 要素は多数の他の PSML 要素を含みます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{38em}|} \hline 要素 & 説明\\ \hline\hline @@ -628,7 +628,7 @@ \subsection{ グローバルなページのセキュリティ} -\<page-security\> 要素はグローバルなセキュリティ制限と、その定義を宣言するために使われる、他の PSML 要素を保持するためのシンプルな入れ物です。この要素は page.security ファイルとして存在し、常に PSML ファイルのシステムディレクトリのルートディレクトリに存在します。page-security 要素の有効な属性は 1 つだけ存在します。 +$<$page-security$>$ 要素はグローバルなセキュリティ制限と、その定義を宣言するために使われる、他の PSML 要素を保持するためのシンプルな入れ物です。この要素は page.security ファイルとして存在し、常に PSML ファイルのシステムディレクトリのルートディレクトリに存在します。page-security 要素の有効な属性は 1 つだけ存在します。 \begin{table}[htbp] \begin{center} @@ -644,11 +644,11 @@ -\<page-security\> 要素は PSML 要素に関連する 2 つのセキュリティ制限を含みます。 +$<$page-security$>$ 要素は PSML 要素に関連する 2 つのセキュリティ制限を含みます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{36em}|} \hline 要素 & 説明\\ \hline\hline @@ -665,11 +665,11 @@ 例: 「概要」の例を参照してください。 \subsection{ PSML タイトルとメタデータ} -ページ, フォルダ, リンクの \<metadata\> 要素はロケール特有のタイトルと短いタイトルのテキストを定義するのに使われます。これらの要素は何度でも、含まれる PSML 要素内で表れるかもしれません。しかし、複数の値が 1 つのロケールにたいして指定してはいけません。PSML XML 文書は、普通は広範囲のキャラクタセットをサポートするために、UTF-8 エンコーディングで宣言されます。 +ページ, フォルダ, リンクの $<$metadata$>$ 要素はロケール特有のタイトルと短いタイトルのテキストを定義するのに使われます。これらの要素は何度でも、含まれる PSML 要素内で表れるかもしれません。しかし、複数の値が 1 つのロケールにたいして指定してはいけません。PSML XML 文書は、普通は広範囲のキャラクタセットをサポートするために、UTF-8 エンコーディングで宣言されます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -699,11 +699,11 @@ \end{screen} \subsection{PSML セキュリティ制限} -page、fragment、folder、link、page-security 要素内で現れる \<security-constraints\>、\<security-constraints-def\>、\<global-security-constraints-ref\> 要素については、本章の「セキュリティ」の節で記述されています。 +page、fragment、folder、link、page-security 要素内で現れる $<$security-constraints$>$、$<$security-constraints-def$>$、$<$global-security-constraints-ref$>$ 要素については、本章の「セキュリティ」の節で記述されています。 \subsection{PSML メニュー} -page、folder 要素内で現れる \<menu\> 要素は、本章の「メニュー」の節で記述されています。 +page、folder 要素内で現れる $<$menu$>$ 要素は、本章の「メニュー」の節で記述されています。 Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/menu.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/menu.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/menu.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -51,11 +51,11 @@ \subsection{メニューの定義} -\<menu\> 要素は、レイアウトデコレータもしくは他のメニュー内の階層化されたメニューによって使われるメニューを定義します。menu 要素には、たくさんの有効な属性が存在します。 +$<$menu$>$ 要素は、レイアウトデコレータもしくは他のメニュー内の階層化されたメニューによって使われるメニューを定義します。menu 要素には、たくさんの有効な属性が存在します。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -81,11 +81,11 @@ -\<menu\> 要素は、多数の他のメニュー定義の PSML 要素を含みます。タイトルとメタデータ要素を除いて、これらの要素の相対的な順序は、レイアウトデコレータがそれらを提示する順序を決定します。 +$<$menu$>$ 要素は、多数の他のメニュー定義の PSML 要素を含みます。タイトルとメタデータ要素を除いて、これらの要素の相対的な順序は、レイアウトデコレータがそれらを提示する順序を決定します。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{38em}|} \hline 要素 & 説明\\ \hline\hline @@ -211,7 +211,7 @@ \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -250,12 +250,12 @@ \subsection{メニューのセパレータの定義} -\<separator\> 要素は、メニューに含めるセパレータを定義します。セパレータは、選択肢もしくは階層化したメニューが、メニューの定義内のこの要素以下に現れた場合のみ含まれます。セパレータのテキストは、この要素内のテキスト、もしくはテキストメニュー定義の要素内で指定することが可能です。セパレータ要素に記述可能な属性は 1 つしかありません。 +$<$separator$>$ 要素は、メニューに含めるセパレータを定義します。セパレータは、選択肢もしくは階層化したメニューが、メニューの定義内のこの要素以下に現れた場合のみ含まれます。セパレータのテキストは、この要素内のテキスト、もしくはテキストメニュー定義の要素内で指定することが可能です。セパレータ要素に記述可能な属性は 1 つしかありません。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -266,11 +266,11 @@ \end{table} -\<separator\> 要素は、たくさんの他のメニュー定義の PSML 要素を含みます。 +$<$separator$>$ 要素は、たくさんの他のメニュー定義の PSML 要素を含みます。 \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 要素 & 説明\\ \hline\hline @@ -312,7 +312,7 @@ \begin{table}[htbp] \begin{center} - \begin{tabular}[tb]{|l|l|} + \begin{tabular}[tb]{|l|p{40em}|} \hline 属性 & 説明\\ \hline\hline @@ -339,7 +339,7 @@ \subsection{メニューの除外を行うための定義} -\<exclude\> 要素は、選択肢もしくは、他のメニューの階層化した メニューを除外します。このオプションは主に、このメニューから、ポータルページ内の、他のメニューに既に表示されているメニューの選択肢を消去するために使われます。一致する選択肢またはメニューがメニュー定義内のこの要素より上に表示されている場合は、除外されます。除外するメニューの名前は、この単純な要素のテキスト値として指定します。 +$<$exclude$>$ 要素は、選択肢もしくは、他のメニューの階層化した メニューを除外します。このオプションは主に、このメニューから、ポータルページ内の、他のメニューに既に表示されているメニューの選択肢を消去するために使われます。一致する選択肢またはメニューがメニュー定義内のこの要素より上に表示されている場合は、除外されます。除外するメニューの名前は、この単純な要素のテキスト値として指定します。 例: \begin{screen} @@ -419,7 +419,7 @@ \item org.apache.jetspeed.portalsite.Menuorg.apache.jetspeed.portalsite.MenuElement \item org.apache.jetspeed.portalsite.MenuOption \item org.apache.jetspeed.portalsite.MenuSeparator -\item org.apache.jetspeed.portalsite.PortalSiteRequestContext> +\item org.apache.jetspeed.portalsite.PortalSiteRequestContext \end{itemize} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/security.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/security.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/psml/security.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -231,6 +231,7 @@ \begin{screen} +\begin{verbatim} admin @@ -238,6 +239,7 @@ admin +\end{verbatim} \end{screen} @@ -280,7 +282,7 @@ engineering view - + \end{verbatim} @@ -303,7 +305,7 @@ accounting view, edit - + \end{verbatim} Modified: pal-portal/docs/ja/configuration-guide/trunk/src/tex/userattribute/guide.tex =================================================================== --- pal-portal/docs/ja/configuration-guide/trunk/src/tex/userattribute/guide.tex 2009-01-28 06:45:25 UTC (rev 1701) +++ pal-portal/docs/ja/configuration-guide/trunk/src/tex/userattribute/guide.tex 2009-01-28 08:57:44 UTC (rev 1702) @@ -30,7 +30,7 @@ ポートレット仕様はどのようにしてポートレットアプリケーションがユーザー属性を使用できるのかについて定義をしています。 たとえば、JSR 168 の PLT.17.1 では、属性に関して portlet.xml で以下のように定義されます。 \begin{screen} - +\begin{small} \begin{verbatim} @@ -46,28 +46,27 @@ user.home-info.online.email ... -\end{verbatim} - - + +\end{verbatim} +\end{small} \end{screen} このように属性が定義されると、ポートレットは PortletRequest インタフェースで定義された USER\_INFO 定数を使って PortletRequest から変更できない Map としてログインしているユーザーの属性値にアクセスすることが可能になります。 - -\begin{screen} +\begin{screen} +\begin{small} \begin{verbatim} Map userInfo = (Map)request.getAttribute(PortletRequest.USER_INFO); String givenName = (userInfo!=null) ? (String)userInfo.get("user.name.given") : ""; String lastName = (userInfo!=null) ? (String)userInfo.get("user.name.family") : ""; -String email = (userInfo!=null) ? (String)userInfo.get("user.home-info.online.email") : ""; +String email = (userInfo!=null) ? (String)userInfo.get("user.home-info.online.email") : ""; \end{verbatim} - - +\end{small} \end{screen} ポートレット仕様で定義されないのは、ポータルが定義されたユーザー属性をユーザーの具体的な属性にどのようにマッピングするかです。 - + \subsection{ユーザー属性のマッピング} PALポータルは具体的なユーザー属性を定義したり、そのユーザー属性へのアクセスを定義したりするためにとても柔軟な方法を提供しています。 @@ -77,28 +76,27 @@ ユーザー属性は User preferences 内の特定のノード下に格納されます。 そして任意の名前の属性を自由に含むことができます。 これらの具体的なユーザー属性は portlet.xml 内で以下のような 2 つの方法で定義されたユーザー属性にマップされます。 - - 属性名との完全一致の使用 - - jetspeed-portlet.xml 内で定義されるカスタムマッピングの使用 - - + +\begin{enumerate} +\item 属性名との完全一致の使用 +\item jetspeed-portlet.xml 内で定義されるカスタムマッピングの使用 +\end{enumerate} + \subsubsection{カスタムのユーザー属性マッピング} もし対象とするポータルとして PALポータルを利用して新しいポートレットアプリケーションを書いたのなら、ポータル内でユーザー属性と一致する User Attributes を定義することは簡単でしょう。 - しかし、もし既に存在するポートレットアプリケーションを PALポータル上に配備したいのなら、ポートレットアプリケーションに必要な属性名と PALポータルの User Preferences に格納される具体的な属性名の間のミスマッチがあるかもしれません。 - +しかし、もし既に存在するポートレットアプリケーションを PALポータル上に配備したいのなら、ポートレットアプリケーションに必要な属性名と PALポータルの User Preferences に格納される具体的な属性名の間のミスマッチがあるかもしれません。 - jetspeed-portlet.xml に PALポータル特有の設定やカスタマイズを記述することができます。 - このファイルの配備は PALポータルで必須ではありません。 +jetspeed-portlet.xml に PALポータル特有の設定やカスタマイズを記述することができます。 +このファイルの配備は PALポータルで必須ではありません。 しかし、もしポートレットアプリケーションの war ファイル内の WEB-INF フォルダにこのドキュメントが見つかれば、処理が行われます。 - PALポータル特有の設定は "http://portals.apache.org/jetspeed" 名前空間を使って定義します。 - +PALポータル特有の設定は "http://portals.apache.org/jetspeed" 名前空間を使って定義します。 - ユーザー属性のマッピングはカスタムのユーザー属性名を定義する "name" エレメントと、その属性名にマップされる具体的な属性名を定義する"name-link" エレメントを含む "user-attribute-ref" エレメントによって定義されます。 - -\begin{screen} +ユーザー属性のマッピングはカスタムのユーザー属性名を定義する "name" エレメントと、その属性名にマップされる具体的な属性名を定義する"name-link" エレメントを含む "user-attribute-ref" エレメントによって定義されます。 + +\begin{screen} +\begin{small} \begin{verbatim} \end{verbatim} - - +\end{small} \end{screen} 先の例のようなカスタムのマッピングを使って、ポートレットは次のようにユーザー属性にアクセスできます。 \begin{screen} - +\begin{small} \begin{verbatim} Map userInfo = (Map)request.getAttribute(PortletRequest.USER_INFO); String givenName = (userInfo!=null) ? (String)userInfo.get("user-name-given") : ""; String lastName = (userInfo!=null) ? (String)userInfo.get("user-name-family") : ""; String email = (userInfo!=null) ? (String)userInfo.get("user.home-info.online.email") : ""; \end{verbatim} - - +\end{small} \end{screen} +カスタムのマッピングが定義されていない email 属性も完全一致でのアクセスが可能であることに注意してください。 -Map userInfo = (Map)request.getAttribute(PortletRequest.USER\_INFO); -String givenName = (userInfo!=null) ? (String)userInfo.get("user-name-given") : ""; -String lastName = (userInfo!=null) ? (String)userInfo.get("user-name-family") : ""; -String email = (userInfo!=null) ? (String)userInfo.get("user.home-info.online.email") : ""; -カスタムのマッピングが定義されていない email 属性も完全一致でのアクセスが可能であることに注意してください。 - From svnnotify @ sourceforge.jp Thu Jan 29 12:07:48 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 29 Jan 2009 12:07:48 +0900 Subject: [pal-cvs 3968] [1703] fixed garbage chars of a name. Message-ID: <1233198468.854993.32336.nullmailer@users.sourceforge.jp> Revision: 1703 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1703 Author: shinsuke Date: 2009-01-29 12:07:48 +0900 (Thu, 29 Jan 2009) Log Message: ----------- fixed garbage chars of a name. Modified Paths: -------------- chat/trunk/src/main/java/jp/sf/pal/chat/action/ChatAction.java chat/trunk/src/main/webapp/WEB-INF/view/chat/index.jsp -------------- next part -------------- Modified: chat/trunk/src/main/java/jp/sf/pal/chat/action/ChatAction.java =================================================================== --- chat/trunk/src/main/java/jp/sf/pal/chat/action/ChatAction.java 2009-01-28 08:57:44 UTC (rev 1702) +++ chat/trunk/src/main/java/jp/sf/pal/chat/action/ChatAction.java 2009-01-29 03:07:48 UTC (rev 1703) @@ -70,10 +70,13 @@ @Execute(validator = false) public String chat() { if (!StringUtils.isEmpty(chatForm.msg)) { + String nameArg0 = StringEscapeUtils.escapeHtml(chatForm.nameArg0); + String nameArg1 = StringEscapeUtils.escapeHtml(chatForm.nameArg1); + String nameArg2 = StringEscapeUtils.escapeHtml(chatForm.nameArg2); String msg = StringEscapeUtils.escapeHtml(chatForm.msg); - ChatUtil.add(ChatConstants.DEFAULT_SCOPE, chatForm.nameArg0, - chatForm.nameArg1, chatForm.nameArg2, msg, new Date(), - ChatConstants.DEFAULT_SHOW_NUM, context); + ChatUtil.add(ChatConstants.DEFAULT_SCOPE, nameArg0, nameArg1, + nameArg2, msg, new Date(), ChatConstants.DEFAULT_SHOW_NUM, + context); } loadChat(); return null; Modified: chat/trunk/src/main/webapp/WEB-INF/view/chat/index.jsp =================================================================== --- chat/trunk/src/main/webapp/WEB-INF/view/chat/index.jsp 2009-01-28 08:57:44 UTC (rev 1702) +++ chat/trunk/src/main/webapp/WEB-INF/view/chat/index.jsp 2009-01-29 03:07:48 UTC (rev 1703) @@ -47,8 +47,11 @@ From svnnotify @ sourceforge.jp Fri Jan 30 22:31:09 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 30 Jan 2009 22:31:09 +0900 Subject: [pal-cvs 3969] [1704] use ja template. Message-ID: <1233322269.095491.26228.nullmailer@users.sourceforge.jp> Revision: 1704 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1704 Author: shinsuke Date: 2009-01-30 22:31:09 +0900 (Fri, 30 Jan 2009) Log Message: ----------- use ja template. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java 2009-01-29 03:07:48 UTC (rev 1703) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/NotificationService.java 2009-01-30 13:31:09 UTC (rev 1704) @@ -66,7 +66,7 @@ for (UserInfo userInfo : userInfoList) { if (userInfo.getEmail() != null) { Locale locale = LocaleUtil.parse(userInfo.getLocale()); - if (locale != null) { + if (locale == null) { locale = Locale.ENGLISH; } From svnnotify @ sourceforge.jp Sat Jan 31 05:42:46 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 31 Jan 2009 05:42:46 +0900 Subject: [pal-cvs 3970] [1705] removed disabled users from a list. Message-ID: <1233348166.687497.29137.nullmailer@users.sourceforge.jp> Revision: 1705 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1705 Author: shinsuke Date: 2009-01-31 05:42:46 +0900 (Sat, 31 Jan 2009) Log Message: ----------- removed disabled users from a list. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java 2009-01-30 13:31:09 UTC (rev 1704) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/SchedulerConstants.java 2009-01-30 20:42:46 UTC (rev 1705) @@ -26,4 +26,6 @@ public static final String REPEAT_TYPE_MONTHLY = "MONTHLY"; public static final String REPEAT_TYPE_YEARLY = "YEARLY"; + + public static final String USER_DISABLED = "D"; } Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java 2009-01-30 13:31:09 UTC (rev 1704) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java 2009-01-30 20:42:46 UTC (rev 1705) @@ -77,6 +77,9 @@ cb.query().setRoleId_Equal(roleId); + cb.query().queryUserInfo().setStatus_NotEqual( + SchedulerConstants.USER_DISABLED); + cb.query().queryUserInfo().setDeletedBy_IsNull(); cb.query().queryUserInfo().addOrderBy_UserId_Asc(); return roleMappingBhv.selectList(cb); @@ -90,6 +93,9 @@ cb.query().setGroupId_Equal(groupId); + cb.query().queryUserInfo().setStatus_NotEqual( + SchedulerConstants.USER_DISABLED); + cb.query().queryUserInfo().setDeletedBy_IsNull(); cb.query().queryUserInfo().addOrderBy_UserId_Asc(); return groupMappingBhv.selectList(cb); From svnnotify @ sourceforge.jp Sat Jan 31 06:38:44 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 31 Jan 2009 06:38:44 +0900 Subject: [pal-cvs 3971] [1706] removed disabled users from a list. Message-ID: <1233351524.217335.26708.nullmailer@users.sourceforge.jp> Revision: 1706 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1706 Author: shinsuke Date: 2009-01-31 06:38:44 +0900 (Sat, 31 Jan 2009) Log Message: ----------- removed disabled users from a list. a duplicate user check. Modified Paths: -------------- timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java -------------- next part -------------- Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java =================================================================== --- timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java 2009-01-30 20:42:46 UTC (rev 1705) +++ timecard/trunk/src/main/java/jp/sf/pal/timecard/TimecardConstants.java 2009-01-30 21:38:44 UTC (rev 1706) @@ -110,4 +110,5 @@ public static final String DOWNLOAD_USER_ID = "downloadUserId"; + public static final String USER_DISABLED = "D"; } Modified: timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java =================================================================== --- timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java 2009-01-30 20:42:46 UTC (rev 1705) +++ timecard/trunk/src/main/java/jp/sf/pal/timecard/service/EmployeeService.java 2009-01-30 21:38:44 UTC (rev 1706) @@ -5,6 +5,7 @@ import java.util.Date; import java.util.List; +import jp.sf.pal.timecard.TimecardConstants; import jp.sf.pal.timecard.common.util.PagingResultBeanWrapper; import jp.sf.pal.timecard.db.allcommon.cbean.PagingResultBean; import jp.sf.pal.timecard.db.cbean.EmployeeCB; @@ -17,6 +18,7 @@ import jp.sf.pal.timecard.pager.EmployeePager; import org.seasar.framework.container.hotdeploy.HotdeployUtil; +import org.seasar.struts.exception.ActionMessagesException; public class EmployeeService implements Serializable { @@ -66,6 +68,10 @@ } cb.query().setDeletedBy_IsNull(); + cb.query().queryUserInfoByUsername().setStatus_NotEqual( + TimecardConstants.USER_DISABLED); + cb.query().queryUserInfoByUsername().setDeletedBy_IsNull(); + cb.query().addOrderBy_Username_Asc(); cb.query().addOrderBy_UpdatedBy_Asc(); @@ -93,6 +99,18 @@ public void store(Employee employee) { boolean isUpdate = employee.getId() != null; + if (!isUpdate) { + // check a existing user + EmployeeCB cb = new EmployeeCB(); + cb.query().setUsername_Equal(employee.getUsername()); + cb.query().setDeletedBy_IsNull(); + int count = employeeBhv.selectCount(cb); + if (count > 0) { + throw new ActionMessagesException( + "errors.employee_already_exists"); + } + } + Timestamp now = new Timestamp(System.currentTimeMillis()); employee.setUpdatedTime(now); From svnnotify @ sourceforge.jp Sat Jan 31 07:04:55 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 31 Jan 2009 07:04:55 +0900 Subject: [pal-cvs 3972] [1707] modified messages. Message-ID: <1233353095.614680.23273.nullmailer@users.sourceforge.jp> Revision: 1707 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1707 Author: shinsuke Date: 2009-01-31 07:04:55 +0900 (Sat, 31 Jan 2009) Log Message: ----------- modified messages. Modified Paths: -------------- timecard/trunk/src/main/resources/application.properties timecard/trunk/src/main/resources/application_ja.properties timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/confirm.jsp timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/edit.jsp timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/index.jsp timecard/trunk/src/main/webapp/WEB-INF/view/employee/index.jsp timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/confirm.jsp timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/edit.jsp timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/index.jsp -------------- next part -------------- Modified: timecard/trunk/src/main/resources/application.properties =================================================================== --- timecard/trunk/src/main/resources/application.properties 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/resources/application.properties 2009-01-30 22:04:55 UTC (rev 1707) @@ -64,6 +64,8 @@ errors.invalid_state_retry_download_csv=Invalid state. Please retry it after reload a page. +errors.employee_already_exists=The employee already exists. + labels.detail=Detail labels.create=Create labels.update=Update @@ -120,7 +122,7 @@ labels.otj_time=Off-duty time labels.editing=Editing now labels.request=Request -labels.recognized=Approved +labels.approved=Approved labels.memo=Memo labels.edit_timecard=Editing timecard @@ -167,7 +169,7 @@ labels.auto_fill=Auto fill labels.fix_monthly_report=Fixing monthly report -labels.recognized2=Approved +labels.approved2=Approved labels.recognize=Approve labels.holiday_list=Holiday List Modified: timecard/trunk/src/main/resources/application_ja.properties =================================================================== --- timecard/trunk/src/main/resources/application_ja.properties 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/resources/application_ja.properties 2009-01-30 22:04:55 UTC (rev 1707) @@ -57,6 +57,8 @@ errors.invalid_state_retry_download_csv=\u72b6\u614b\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u30da\u30fc\u30b8\u3092\u30ea\u30ed\u30fc\u30c9\u5f8c\u3001\u518d\u5ea6\u8a66\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +errors.employee_already_exists=\u305d\u306e\u5f93\u696d\u54e1\u306f\u65e2\u306b\u5b58\u5728\u3057\u307e\u3059\u3002 + labels.detail=\u8a73\u7d30 labels.create=\u4f5c\u6210 labels.update=\u66f4\u65b0 @@ -113,7 +115,7 @@ labels.otj_time=\u52e4\u52d9\u5916\u6642\u9593 labels.editing=\u7de8\u96c6\u4e2d labels.request=\u7533\u8acb -labels.recognized=\u627f\u8a8d\u6e08 +labels.approved=\u627f\u8a8d\u6e08 labels.memo=\u30e1\u30e2 labels.edit_timecard=\u6642\u523b\u7de8\u96c6 @@ -160,7 +162,7 @@ labels.auto_fill=\u81ea\u52d5\u8a18\u5165 labels.fix_monthly_report=\u6708\u6b21\u78ba\u5b9a -labels.recognized2=\u627f\u8a8d\u6e08\u307f +labels.approved2=\u627f\u8a8d\u6e08\u307f labels.recognize=\u627f\u8a8d labels.holiday_list=\u4f11\u65e5\u4e00\u89a7 Modified: timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/confirm.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/confirm.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/confirm.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -143,7 +143,7 @@ Modified: timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/edit.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/edit.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/edit.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -152,7 +152,7 @@ - + Modified: timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/index.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/index.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/admin/timecard/index.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -99,7 +99,7 @@ - + @@ -185,7 +185,7 @@ Modified: timecard/trunk/src/main/webapp/WEB-INF/view/employee/index.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/employee/index.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/employee/index.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -79,7 +79,7 @@ @@ -168,7 +168,7 @@ Modified: timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/edit.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/edit.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/edit.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -151,7 +151,7 @@ Modified: timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/index.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/index.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/index.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -102,12 +102,12 @@ - + - + @@ -188,7 +188,7 @@
          + + + " - onclick="$('#contents').load('${f:url('chat')}',{'nameArg0':'${f:u(nameArg0)}','nameArg1':'${f:u(nameArg1)}','nameArg2':'${f:u(nameArg2)}','msg':$('#message')[0].value}); + onclick="$('#contents').load('${f:url('chat')}',{'nameArg0':$('#nameArg0')[0].value,'nameArg1':$('#nameArg1')[0].value,'nameArg2':$('#nameArg2')[0].value,'msg':$('#message')[0].value}); $('#message')[0].value= ''; loadChat()" /> " onclick="loadChat()" /> - +
          - +
          - +
          - + Modified: timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/confirm.jsp =================================================================== --- timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/confirm.jsp 2009-01-30 21:38:44 UTC (rev 1706) +++ timecard/trunk/src/main/webapp/WEB-INF/view/manager/timecard/confirm.jsp 2009-01-30 22:04:55 UTC (rev 1707) @@ -142,7 +142,7 @@ - +
          - +
          - + From svnnotify @ sourceforge.jp Sat Jan 31 07:21:12 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 31 Jan 2009 07:21:12 +0900 Subject: [pal-cvs 3973] [1708] fixed a process for changing a calendar. Message-ID: <1233354072.838466.8320.nullmailer@users.sourceforge.jp> Revision: 1708 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1708 Author: shinsuke Date: 2009-01-31 07:21:12 +0900 (Sat, 31 Jan 2009) Log Message: ----------- fixed a process for changing a calendar. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/CalendarForm.java scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/CalendarForm.java -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/CalendarForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/CalendarForm.java 2009-01-30 22:04:55 UTC (rev 1707) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/facility/CalendarForm.java 2009-01-30 22:21:12 UTC (rev 1708) @@ -50,13 +50,29 @@ } public void changeCalendarToPrevMonth() { - month = String.valueOf(Integer.parseInt(month) - 1); + int oldValue = Integer.parseInt(month); + month = String.valueOf(oldValue - 1); updateCalendarValue(); + int newValue = Integer.parseInt(month); + if (oldValue == newValue) { + // in this case, not change a month. + month = String.valueOf(oldValue - 1); + date = String.valueOf(1); + updateCalendarValue(); + } } public void changeCalendarToNextMonth() { - month = String.valueOf(Integer.parseInt(month) + 1); + int oldValue = Integer.parseInt(month); + month = String.valueOf(oldValue + 1); updateCalendarValue(); + int newValue = Integer.parseInt(month); + if (newValue - oldValue > 1) { + // in this case, skip a next month. + month = String.valueOf(oldValue + 1); + date = String.valueOf(1); + updateCalendarValue(); + } } private void updateCalendarValue() { Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/CalendarForm.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/CalendarForm.java 2009-01-30 22:04:55 UTC (rev 1707) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/form/user/schedule/CalendarForm.java 2009-01-30 22:21:12 UTC (rev 1708) @@ -46,13 +46,29 @@ } public void changeCalendarToPrevMonth() { - month = String.valueOf(Integer.parseInt(month) - 1); + int oldValue = Integer.parseInt(month); + month = String.valueOf(oldValue - 1); updateCalendarValue(); + int newValue = Integer.parseInt(month); + if (oldValue == newValue) { + // in this case, not change a month. + month = String.valueOf(oldValue - 1); + date = String.valueOf(1); + updateCalendarValue(); + } } public void changeCalendarToNextMonth() { - month = String.valueOf(Integer.parseInt(month) + 1); + int oldValue = Integer.parseInt(month); + month = String.valueOf(oldValue + 1); updateCalendarValue(); + int newValue = Integer.parseInt(month); + if (newValue - oldValue > 1) { + // in this case, skip a next month. + month = String.valueOf(oldValue + 1); + date = String.valueOf(1); + updateCalendarValue(); + } } private void updateCalendarValue() { From svnnotify @ sourceforge.jp Sat Jan 31 08:23:43 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Sat, 31 Jan 2009 08:23:43 +0900 Subject: [pal-cvs 3974] [1709] removed disabled users. Message-ID: <1233357823.301977.14783.nullmailer@users.sourceforge.jp> Revision: 1709 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1709 Author: shinsuke Date: 2009-01-31 08:23:43 +0900 (Sat, 31 Jan 2009) Log Message: ----------- removed disabled users. Modified Paths: -------------- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java -------------- next part -------------- Modified: scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java =================================================================== --- scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java 2009-01-30 22:21:12 UTC (rev 1708) +++ scheduler/trunk/src/main/java/jp/sf/pal/scheduler/service/UserInfoService.java 2009-01-30 23:23:43 UTC (rev 1709) @@ -118,6 +118,8 @@ } cb.query().setUserId_NotInScope(excludedUserIdList); } + cb.query().setDeletedBy_IsNull(); + cb.query().setStatus_NotEqual(SchedulerConstants.USER_DISABLED); return userInfoBhv.selectList(cb); } else if (roleId != null) { RoleMappingCB cb = new RoleMappingCB(); @@ -133,6 +135,9 @@ cb.query().setUserId_NotInScope(excludedUserIdList); } cb.query().setRoleId_Equal(roleId); + cb.query().queryUserInfo().setDeletedBy_IsNull(); + cb.query().queryUserInfo().setStatus_NotEqual( + SchedulerConstants.USER_DISABLED); List roleMappingList = roleMappingBhv.selectList(cb); List userInfoList = new ArrayList(); @@ -154,6 +159,9 @@ cb.query().setUserId_NotInScope(excludedUserIdList); } cb.query().setGroupId_Equal(groupId); + cb.query().queryUserInfo().setDeletedBy_IsNull(); + cb.query().queryUserInfo().setStatus_NotEqual( + SchedulerConstants.USER_DISABLED); List groupMappingList = groupMappingBhv .selectList(cb);