Author: chrisg
Date: Thu Mar 6 03:32:39 2008 New Revision: 634225 URL: http://svn.apache.org/viewvc?rev=634225&view=rev Log: Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords) Modified: ofbiz/trunk/specialpurpose/projectmgr/build.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoData.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoPasswordData.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectPermissionServices.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/servicedef/secas.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java (props changed) ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/js/data.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/RequestScreens.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/ResourceScreens.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/TimeSheetScreens.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/WorkEffortTrees.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml (props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (contents, props changed) ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml (contents, props changed) Modified: ofbiz/trunk/specialpurpose/projectmgr/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/build.xml?rev=634225&r1=634224&r2=634225&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/build.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/build.xml Thu Mar 6 03:32:39 2008 @@ -1,121 +1,121 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -<project name="OFBiz - Project Management" default="jar" basedir="."> - - <!-- ================================================================== --> - <!-- Initialization of all property settings --> - <!-- ================================================================== --> - - <target name="init"> - <property environment="env"/> - <property name="desc" value="Project Management Component"/> - <property name="name" value="ofbiz-projectmgr"/> - <property name="ofbiz.home.dir" value="../.."/> - <property name="src.dir" value="src"/> - <property name="build.dir" value="build"/> - </target> - - <target name="classpath"> - <path id="local.class.path"> - <fileset dir="../../framework/base/lib" includes="*.jar"/> - <fileset dir="../../framework/base/lib/commons" includes="*.jar"/> - <fileset dir="../../framework/base/lib/j2eespecs" includes="*.jar"/> - <fileset dir="../../framework/base/lib/scripting" includes="*.jar"/> - <fileset dir="../../framework/base/build/lib" includes="*.jar"/> - <fileset dir="../../framework/entity/lib" includes="*.jar"/> - <fileset dir="../../framework/entity/build/lib" includes="*.jar"/> - <fileset dir="../../framework/security/build/lib" includes="*.jar"/> - <fileset dir="../../framework/service/lib" includes="*.jar"/> - <fileset dir="../../framework/service/build/lib" includes="*.jar"/> - <fileset dir="../../framework/entityext/build/lib" includes="*.jar"/> - <fileset dir="../../framework/guiapp/lib" includes="*.jar"/> - <fileset dir="../../framework/guiapp/build/lib" includes="*.jar"/> - <fileset dir="../../framework/webapp/build/lib" includes="*.jar"/> - <fileset dir="../../applications/party/build/lib" includes="*.jar"/> - <fileset dir="../../applications/product/build/lib" includes="*.jar"/> - </path> - </target> - - <!-- ================================================================== --> - <!-- Removes all created files and directories --> - <!-- ================================================================== --> - - <target name="clean" depends="clean-lib"> - <delete dir="${build.dir}"/> - </target> - - <target name="clean-lib" depends="init"> - <delete dir="${build.dir}/lib"/> - </target> - - <!-- ================================================================== --> - <!-- Makes sure the needed directory structure is in place --> - <!-- ================================================================== --> - - <target name="prepare" depends="clean-lib"> - <mkdir dir="${build.dir}/classes"/> - <mkdir dir="${build.dir}/lib"/> - </target> - - <target name="prepare-docs" depends="init"> - <mkdir dir="${build.dir}/javadocs"/> - </target> - - <!-- ================================================================== --> - <!-- Compilation of the source files --> - <!-- ================================================================== --> - - <target name="classes" depends="prepare,classpath"> - <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> - <classpath> - <path refid="local.class.path"/> - </classpath> - <src path="${src.dir}"/> - </javac> - <copy todir="${build.dir}/classes"> - <fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/> - </copy> - - <!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone --> - <copy todir="${build.dir}/classes/META-INF"> - <fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/> - </copy> - </target> - - <target name="jar" depends="classes"> - <jar jarfile="${build.dir}/lib/${name}.jar" basedir="${build.dir}/classes"/> - </target> - - <!-- ================================================================== --> - <!-- Build JavaDoc --> - <!-- ================================================================== --> - - <target name="docs" depends="prepare-docs,classpath"> - <javadoc packagenames="org.ofbiz.project.*" - classpathref="local.class.path" - destdir="${build.dir}/javadocs" - Windowtitle="Open for Business - ${desc}"> - <sourcepath path="${src.dir}"/> - </javadoc> - </target> - - <target name="all" depends="jar,docs"/> -</project> +<?xml version="1.0"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<project name="OFBiz - Project Management" default="jar" basedir="."> + + <!-- ================================================================== --> + <!-- Initialization of all property settings --> + <!-- ================================================================== --> + + <target name="init"> + <property environment="env"/> + <property name="desc" value="Project Management Component"/> + <property name="name" value="ofbiz-projectmgr"/> + <property name="ofbiz.home.dir" value="../.."/> + <property name="src.dir" value="src"/> + <property name="build.dir" value="build"/> + </target> + + <target name="classpath"> + <path id="local.class.path"> + <fileset dir="../../framework/base/lib" includes="*.jar"/> + <fileset dir="../../framework/base/lib/commons" includes="*.jar"/> + <fileset dir="../../framework/base/lib/j2eespecs" includes="*.jar"/> + <fileset dir="../../framework/base/lib/scripting" includes="*.jar"/> + <fileset dir="../../framework/base/build/lib" includes="*.jar"/> + <fileset dir="../../framework/entity/lib" includes="*.jar"/> + <fileset dir="../../framework/entity/build/lib" includes="*.jar"/> + <fileset dir="../../framework/security/build/lib" includes="*.jar"/> + <fileset dir="../../framework/service/lib" includes="*.jar"/> + <fileset dir="../../framework/service/build/lib" includes="*.jar"/> + <fileset dir="../../framework/entityext/build/lib" includes="*.jar"/> + <fileset dir="../../framework/guiapp/lib" includes="*.jar"/> + <fileset dir="../../framework/guiapp/build/lib" includes="*.jar"/> + <fileset dir="../../framework/webapp/build/lib" includes="*.jar"/> + <fileset dir="../../applications/party/build/lib" includes="*.jar"/> + <fileset dir="../../applications/product/build/lib" includes="*.jar"/> + </path> + </target> + + <!-- ================================================================== --> + <!-- Removes all created files and directories --> + <!-- ================================================================== --> + + <target name="clean" depends="clean-lib"> + <delete dir="${build.dir}"/> + </target> + + <target name="clean-lib" depends="init"> + <delete dir="${build.dir}/lib"/> + </target> + + <!-- ================================================================== --> + <!-- Makes sure the needed directory structure is in place --> + <!-- ================================================================== --> + + <target name="prepare" depends="clean-lib"> + <mkdir dir="${build.dir}/classes"/> + <mkdir dir="${build.dir}/lib"/> + </target> + + <target name="prepare-docs" depends="init"> + <mkdir dir="${build.dir}/javadocs"/> + </target> + + <!-- ================================================================== --> + <!-- Compilation of the source files --> + <!-- ================================================================== --> + + <target name="classes" depends="prepare,classpath"> + <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> + <classpath> + <path refid="local.class.path"/> + </classpath> + <src path="${src.dir}"/> + </javac> + <copy todir="${build.dir}/classes"> + <fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/> + </copy> + + <!-- now add the NOTICE and LICENSE files to allow the jar file to be distributed alone --> + <copy todir="${build.dir}/classes/META-INF"> + <fileset dir="${ofbiz.home.dir}" includes="NOTICE,LICENSE"/> + </copy> + </target> + + <target name="jar" depends="classes"> + <jar jarfile="${build.dir}/lib/${name}.jar" basedir="${build.dir}/classes"/> + </target> + + <!-- ================================================================== --> + <!-- Build JavaDoc --> + <!-- ================================================================== --> + + <target name="docs" depends="prepare-docs,classpath"> + <javadoc packagenames="org.ofbiz.project.*" + classpathref="local.class.path" + destdir="${build.dir}/javadocs" + Windowtitle="Open for Business - ${desc}"> + <sourcepath path="${src.dir}"/> + </javadoc> + </target> + + <target name="all" depends="jar,docs"/> +</project> Propchange: ofbiz/trunk/specialpurpose/projectmgr/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/build.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/build.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoData.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoData.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoPasswordData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoPasswordData.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrDemoPasswordData.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml?rev=634225&r1=634224&r2=634225&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml Thu Mar 6 03:32:39 2008 @@ -1,55 +1,55 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -<entity-engine-xml> - - <!-- Project Manager security --> - <!-- General, all projects --> - <SecurityPermission permissionId="PROJECTMGR_ADMIN" description="ALL operations in the Project Manager."/> - <SecurityPermission permissionId="PROJECTMGR_VIEW" description="ALL View operations in the Project Manager(but can be limited by ROLE_VIEW)"/> - <!-- General, Role dependent (must be member of the project) --> - <SecurityPermission permissionId="PROJECTMGR_ROLE_ADMIN" description="All admin operations in the Project Manager for a project/phase/task the user is member of."/> - <SecurityPermission permissionId="PROJECTMGR_ROLE_VIEW" description="All view operations in the Project Manager for a project/phase/task the user is member of."/> - <SecurityPermission permissionId="PROJECTMGR_ROLE_UPDATE" description="Update operations in the Project Manager for a project/phase/task the user is member of."/> - <!-- Role and Task dependent --> - <SecurityPermission permissionId="PROJECTMGR_ROLE_TASK_CREATE" description="Be able to create a task (should be member of project)"/> - <!-- Timesheet dependent --> - <SecurityPermission description="Be able to create any weekly timesheet." permissionId="PROJECTMGR_TIMESHEET_CREATE"/> - <SecurityPermission description="Be able to update any weekly timesheet." permissionId="PROJECTMGR_TIMESHEET_UPDATE"/> - <SecurityPermission description="Be able to create a weekly timesheet for the loginid." permissionId="PROJECTMGR_ROLE_TIMESHEET_CREATE"/> - <SecurityPermission description="Be able to update(report) on an existing own timesheet" permissionId="PROJECTMGR_ROLE_TIMESHEET_UPDATE"/> - - <!-- allow the security group FULLADMIN (userlogin 'admin') full access --> - <SecurityGroupPermission groupId="FULLADMIN" permissionId="PROJECTMGR_ADMIN"/> - - <SecurityGroup description="Project Admin group, has update access to own projects." groupId="PROJECTADMIN"/> - <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_ROLE_ADMIN"/> - <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_VIEW"/> - <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_TIMESHEET_CREATE"/> - <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_TIMESHEET_UPDATE"/> - - <SecurityGroup description="Project User group, has read, task create/assign and timesheet create/update access to own projects." groupId="PROJECTUSER"/> - <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_VIEW"/> - <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_VIEW"/> - <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_TASK_CREATE"/> - <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_TIMESHEET_CREATE"/> - <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_TIMESHEET_UPDATE"/> - -</entity-engine-xml> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<entity-engine-xml> + + <!-- Project Manager security --> + <!-- General, all projects --> + <SecurityPermission permissionId="PROJECTMGR_ADMIN" description="ALL operations in the Project Manager."/> + <SecurityPermission permissionId="PROJECTMGR_VIEW" description="ALL View operations in the Project Manager(but can be limited by ROLE_VIEW)"/> + <!-- General, Role dependent (must be member of the project) --> + <SecurityPermission permissionId="PROJECTMGR_ROLE_ADMIN" description="All admin operations in the Project Manager for a project/phase/task the user is member of."/> + <SecurityPermission permissionId="PROJECTMGR_ROLE_VIEW" description="All view operations in the Project Manager for a project/phase/task the user is member of."/> + <SecurityPermission permissionId="PROJECTMGR_ROLE_UPDATE" description="Update operations in the Project Manager for a project/phase/task the user is member of."/> + <!-- Role and Task dependent --> + <SecurityPermission permissionId="PROJECTMGR_ROLE_TASK_CREATE" description="Be able to create a task (should be member of project)"/> + <!-- Timesheet dependent --> + <SecurityPermission description="Be able to create any weekly timesheet." permissionId="PROJECTMGR_TIMESHEET_CREATE"/> + <SecurityPermission description="Be able to update any weekly timesheet." permissionId="PROJECTMGR_TIMESHEET_UPDATE"/> + <SecurityPermission description="Be able to create a weekly timesheet for the loginid." permissionId="PROJECTMGR_ROLE_TIMESHEET_CREATE"/> + <SecurityPermission description="Be able to update(report) on an existing own timesheet" permissionId="PROJECTMGR_ROLE_TIMESHEET_UPDATE"/> + + <!-- allow the security group FULLADMIN (userlogin 'admin') full access --> + <SecurityGroupPermission groupId="FULLADMIN" permissionId="PROJECTMGR_ADMIN"/> + + <SecurityGroup description="Project Admin group, has update access to own projects." groupId="PROJECTADMIN"/> + <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_ROLE_ADMIN"/> + <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_VIEW"/> + <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_TIMESHEET_CREATE"/> + <SecurityGroupPermission groupId="PROJECTADMIN" permissionId="PROJECTMGR_TIMESHEET_UPDATE"/> + + <SecurityGroup description="Project User group, has read, task create/assign and timesheet create/update access to own projects." groupId="PROJECTUSER"/> + <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_VIEW"/> + <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_VIEW"/> + <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_TASK_CREATE"/> + <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_TIMESHEET_CREATE"/> + <SecurityGroupPermission groupId="PROJECTUSER" permissionId="PROJECTMGR_ROLE_TIMESHEET_UPDATE"/> + +</entity-engine-xml> Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSecurityData.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml?rev=634225&r1=634224&r2=634225&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml Thu Mar 6 03:32:39 2008 @@ -1,33 +1,33 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -<entity-engine-xml> - <RoleType description="Project Team" hasTable="N" parentTypeId="" roleTypeId="PROJECT_TEAM"/> - <RoleType description="Client Manager" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="CLIENT_MANAGER"/> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<entity-engine-xml> + <RoleType description="Project Team" hasTable="N" parentTypeId="" roleTypeId="PROJECT_TEAM"/> + <RoleType description="Client Manager" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="CLIENT_MANAGER"/> <RoleType description="Client Analyst" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="CLIENT_ANALYST"/> <RoleType description="Client Billing" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="CLIENT_BILLING"/> - <RoleType description="Provider Manager" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_MANAGER"/> + <RoleType description="Provider Manager" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_MANAGER"/> <RoleType description="Provider Accounting" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_ACCOUNTING"/> <RoleType description="Provider Analyst" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_ANALYST"/> - <RoleType description="Provider Validator" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_VALIDATOR"/> - <RoleType description="Provider Func. Impl" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_FUNCTIONAL"/> + <RoleType description="Provider Validator" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_VALIDATOR"/> + <RoleType description="Provider Func. Impl" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_FUNCTIONAL"/> <RoleType description="Provider Tester" hasTable="N" parentTypeId="PROJECT_TEAM" roleTypeId="PROVIDER_TESTER"/> <!-- to be able to store project templates --> @@ -48,12 +48,12 @@ <StatusType description="Project" statusTypeId="PROJECT" hasTable="N" parentTypeId=""/> <StatusType description="Project Task" statusTypeId="PROJECT_TASK_STATUS" hasTable="N" parentTypeId="PROJECT"/> <StatusType description="Project Assignment" statusTypeId="PROJECT_ASSGN_STATUS" hasTable="N" parentTypeId="PROJECT"/> - + <!-- assignment status on a task --> <StatusItem description="Assigned" sequenceId="01" statusCode="ASSIGNED" statusId="PAS_ASSIGNED" statusTypeId="PROJECT_ASSGN_STATUS"/> <StatusItem description="Completed" sequenceId="02" statusCode="COMPLETED" statusId="PAS_COMPLETED" statusTypeId="PROJECT_ASSGN_STATUS"/> <StatusValidChange condition="" statusId="PAS_ASSIGNED" statusIdTo="PAS_COMPLETED" transitionName="Assignment Complete"/> - + <!-- status of the task itself --> <StatusItem description="Created" sequenceId="01" statusCode="CREATED" statusId="PTS_CREATED" statusTypeId="PROJECT_TASK_STATUS"/> <StatusItem description="Unassigned" sequenceId="02" statusCode="CREATED" statusId="PTS_CREATED_UA" statusTypeId="PROJECT_TASK_STATUS"/> @@ -67,4 +67,4 @@ <StatusValidChange condition="" statusId="PTS_CREATED" statusIdTo="PTS_CANCELLED" transitionName="Task On Hold"/> <StatusValidChange condition="" statusId="PTS_ON_HOLD" statusIdTo="PTS_CREATED" transitionName="Activated"/> -</entity-engine-xml> +</entity-engine-xml> Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrTypeData.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml ------------------------------------------------------------------------------ --- svn:keywords (original) +++ svn:keywords Thu Mar 6 03:32:39 2008 @@ -1 +1 @@ -Date Rev Author URL Id +"Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml ------------------------------------------------------------------------------ --- svn:keywords (original) +++ svn:keywords Thu Mar 6 03:32:39 2008 @@ -1 +1 @@ -Date Rev Author URL Id +"Date Rev Author URL Id" Modified: ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml?rev=634225&r1=634224&r2=634225&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml Thu Mar 6 03:32:39 2008 @@ -1,46 +1,46 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -<ofbiz-component name="projectmgr" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> - <resource-loader name="main" type="component"/> - <classpath type="dir" location="script"/> - <classpath type="dir" location="config"/> - <classpath type="jar" location="build/lib/*"/> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<ofbiz-component name="projectmgr" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> + <resource-loader name="main" type="component"/> + <classpath type="dir" location="script"/> + <classpath type="dir" location="config"/> + <classpath type="jar" location="build/lib/*"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="group" reader-name="main" loader="main" location="entitydef/entitygroup.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/ProjectMgrTypeData.xml"/> + <entity-resource type="data" reader-name="seed" loader="main" location="data/ProjectMgrTypeData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/ProjectMgrSecurityData.xml"/> - <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrDemoData.xml"/> - <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrDemoPasswordData.xml"/> + <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrDemoData.xml"/> + <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrDemoPasswordData.xml"/> + + <service-resource type="model" loader="main" location="servicedef/services.xml"/> + <service-resource type="eca" loader="main" location="servicedef/secas.xml"/> - <service-resource type="model" loader="main" location="servicedef/services.xml"/> - <service-resource type="eca" loader="main" location="servicedef/secas.xml"/> - - <webapp name="projectmgr" - title="Project" - server="default-server" - location="webapp/projectmgr" - base-permission="PROJECTMGR" - mount-point="/projectmgr" - app-bar-display="true"/> -</ofbiz-component> + <webapp name="projectmgr" + title="Project" + server="default-server" + location="webapp/projectmgr" + base-permission="PROJECTMGR" + mount-point="/projectmgr" + app-bar-display="true"/> +</ofbiz-component> Propchange: ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectPermissionServices.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectPermissionServices.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectPermissionServices.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/servicedef/secas.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/servicedef/secas.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/servicedef/secas.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/servicedef/services.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml?rev=634225&r1=634224&r2=634225&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml Thu Mar 6 03:32:39 2008 @@ -1,94 +1,94 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> - -<web-app> - <display-name>Open For Business - Project Management</display-name> - <description>Project Management component of the Open For Business Project</description> - - <context-param> - <param-name>entityDelegatorName</param-name> - <param-value>default</param-value> - <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description> - </context-param> - <context-param> - <param-name>localDispatcherName</param-name> - <param-value>projectmgr</param-value> - <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description> - </context-param> - <context-param> - <param-name>mainDecoratorLocation</param-name> - <param-value>component://projectmgr/widget/CommonScreens.xml</param-value> - <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description> - </context-param> - - <filter> - <filter-name>ContextFilter</filter-name> - <display-name>ContextFilter</display-name> - <filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class> - <init-param> - <param-name>disableContextSecurity</param-name> - <param-value>N</param-value> - </init-param> - <init-param> - <param-name>allowedPaths</param-name> - <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/js</param-value> - </init-param> - <init-param> - <param-name>errorCode</param-name> - <param-value>403</param-value> - </init-param> - <init-param> - <param-name>redirectPath</param-name> - <param-value>/control/main</param-value> - </init-param> - </filter> - <filter-mapping> - <filter-name>ContextFilter</filter-name> - <url-pattern>/*</url-pattern> - </filter-mapping> - - <listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener> - <listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener> - <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface --> - <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> --> - - <servlet> - <servlet-name>ControlServlet</servlet-name> - <display-name>ControlServlet</display-name> - <description>Main Control Servlet</description> - <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - <servlet-mapping> - <servlet-name>ControlServlet</servlet-name> - <url-pattern>/control/*</url-pattern> - </servlet-mapping> - - <session-config> - <session-timeout>60</session-timeout> <!-- in minutes --> - </session-config> - - <welcome-file-list> - <welcome-file>index.jsp</welcome-file> - <welcome-file>index.html</welcome-file> - <welcome-file>index.htm</welcome-file> - </welcome-file-list> -</web-app> +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +<web-app> + <display-name>Open For Business - Project Management</display-name> + <description>Project Management component of the Open For Business Project</description> + + <context-param> + <param-name>entityDelegatorName</param-name> + <param-value>default</param-value> + <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description> + </context-param> + <context-param> + <param-name>localDispatcherName</param-name> + <param-value>projectmgr</param-value> + <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description> + </context-param> + <context-param> + <param-name>mainDecoratorLocation</param-name> + <param-value>component://projectmgr/widget/CommonScreens.xml</param-value> + <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description> + </context-param> + + <filter> + <filter-name>ContextFilter</filter-name> + <display-name>ContextFilter</display-name> + <filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class> + <init-param> + <param-name>disableContextSecurity</param-name> + <param-value>N</param-value> + </init-param> + <init-param> + <param-name>allowedPaths</param-name> + <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/js</param-value> + </init-param> + <init-param> + <param-name>errorCode</param-name> + <param-value>403</param-value> + </init-param> + <init-param> + <param-name>redirectPath</param-name> + <param-value>/control/main</param-value> + </init-param> + </filter> + <filter-mapping> + <filter-name>ContextFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener> + <listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener> + <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface --> + <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> --> + + <servlet> + <servlet-name>ControlServlet</servlet-name> + <display-name>ControlServlet</display-name> + <description>Main Control Servlet</description> + <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + <servlet-mapping> + <servlet-name>ControlServlet</servlet-name> + <url-pattern>/control/*</url-pattern> + </servlet-mapping> + + <session-config> + <session-timeout>60</session-timeout> <!-- in minutes --> + </session-config> + + <welcome-file-list> + <welcome-file>index.jsp</welcome-file> + <welcome-file>index.html</welcome-file> + <welcome-file>index.htm</welcome-file> + </welcome-file-list> +</web-app> Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/js/data.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/js/data.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml?rev=634225&r1=634224&r2=634225&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Thu Mar 6 03:32:39 2008 @@ -1,55 +1,55 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> - <screen name="main-decorator"> - <section> - <actions> - <property-map resource="ProjectMgrUiLabels" map-name="uiLabelMap" global="true"/> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> + <screen name="main-decorator"> + <section> + <actions> + <property-map resource="ProjectMgrUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/> - <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/> - <property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/> - <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> - - <!-- The two default (global) stylesheets are added to the list - of stylesheets to the first and second position --> - - <set field="layoutSettings.companyName" from-field="uiLabelMap.ProjectMgrCompanyName" global="true"/> - <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.ProjectMgrCompanySubtitle" global="true"/> - <!-- layoutSettings.headerImageUrl can be used to specify an application specific logo; if not set, - then the global layoutSettings.commonHeaderImageUrl (specified in GlobalDecorator) will be used. --> - <!--<set field="layoutSettings.headerImageUrl" value="/images/ofbiz_logo.jpg" global="true"/>--> - - <set field="activeApp" value="projectmgr" global="true"/> - <set field="applicationMenuName" value="ProjectMgrAppBar" global="true"/> - <set field="applicationMenuLocation" value="component://projectmgr/widget/Menus.xml" global="true"/> - - </actions> - <widgets> - <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/> - </widgets> - </section> - </screen> - + <property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> + + <!-- The two default (global) stylesheets are added to the list + of stylesheets to the first and second position --> + + <set field="layoutSettings.companyName" from-field="uiLabelMap.ProjectMgrCompanyName" global="true"/> + <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.ProjectMgrCompanySubtitle" global="true"/> + <!-- layoutSettings.headerImageUrl can be used to specify an application specific logo; if not set, + then the global layoutSettings.commonHeaderImageUrl (specified in GlobalDecorator) will be used. --> + <!--<set field="layoutSettings.headerImageUrl" value="/images/ofbiz_logo.jpg" global="true"/>--> + + <set field="activeApp" value="projectmgr" global="true"/> + <set field="applicationMenuName" value="ProjectMgrAppBar" global="true"/> + <set field="applicationMenuLocation" value="component://projectmgr/widget/Menus.xml" global="true"/> + + </actions> + <widgets> + <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/> + </widgets> + </section> + </screen> + <screen name="CommonResourceDecorator"> <section> <actions> @@ -60,7 +60,7 @@ <decorator-section name="body"> <section> <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> </condition> <widgets> <decorator-section-include name="body"/> @@ -74,47 +74,47 @@ </widgets> </section> </screen> - <screen name="CommonProjectDecorator"> - <section> - <actions> - <set field="headerItem" value="projects"/> + <screen name="CommonProjectDecorator"> + <section> + <actions> + <set field="headerItem" value="projects"/> <set field="projectId" from-field="parameters.projectId" default-value="${parameters.workEffortId}"/> <entity-one entity-name="WorkEffort" value-name="project"> <field-map field-name="workEffortId" env-name="projectId"/> </entity-one> - </actions> - <widgets> - <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> - <decorator-section name="body"> - <section> - <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> - </condition> - <widgets> - <section> - <condition> - <not> - <if-empty field-name="project"/> - </not> - </condition> - <widgets> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <condition> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + </condition> + <widgets> + <section> + <condition> + <not> + <if-empty field-name="project"/> + </not> + </condition> + <widgets> <include-menu name="ProjectTabBar" location="component://projectmgr/widget/Menus.xml"/> <include-menu name="ProjectSubTabBar" location="component://projectmgr/widget/Menus.xml"/> <label style="h1" text="${uiLabelMap.ProjectMgrProjectCurrent}: ${project.workEffortName}[${project.workEffortId}]"/> - </widgets> - </section> - - <decorator-section-include name="body"/> - </widgets> - <fail-widgets> - <label style="h3">${uiLabelMap.ProjectMgrViewPermissionError}</label> - </fail-widgets> - </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> + </widgets> + </section> + + <decorator-section-include name="body"/> + </widgets> + <fail-widgets> + <label style="h3">${uiLabelMap.ProjectMgrViewPermissionError}</label> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> <screen name="CommonTaskDecorator"> <section> <actions> @@ -130,7 +130,7 @@ <decorator-section name="body"> <section> <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> </condition> <widgets> <section> @@ -140,17 +140,17 @@ </not> </condition> <widgets> - <include-menu name="TaskTabBar" location="component://projectmgr/widget/Menus.xml"/> - <section> - <condition> - <or> - <if-compare field-name="tabButtonItem" operator="equals" value="taskView"/> - <if-compare field-name="tabButtonItem" operator="equals" value="edittask"/> - </or> - </condition> - <widgets> - <include-menu name="TaskSubTabBar" location="component://projectmgr/widget/Menus.xml"/> - </widgets> + <include-menu name="TaskTabBar" location="component://projectmgr/widget/Menus.xml"/> + <section> + <condition> + <or> + <if-compare field-name="tabButtonItem" operator="equals" value="taskView"/> + <if-compare field-name="tabButtonItem" operator="equals" value="edittask"/> + </or> + </condition> + <widgets> + <include-menu name="TaskSubTabBar" location="component://projectmgr/widget/Menus.xml"/> + </widgets> </section> <label style="h1" text="${uiLabelMap.ProjectMgrTaskCurrent}: ${workEffort.workEffortName}[${workEffort.workEffortId}] Project: ${projectName}"/> <link style="h1" text="[${projectId}]" target="projectView?projectId=${projectId}"/> @@ -173,8 +173,8 @@ <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> <section> - <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <condition> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> </condition> <widgets> <decorator-section-include name="body"/> @@ -188,40 +188,40 @@ </widgets> </section> </screen> - <screen name="CommonSkillTypeDecorator"> - <section> - <actions> - <set field="skillTypeId" from-field="parameters.skillTypeId"/> - <entity-one entity-name="SkillType" value-name="skillType"/> - </actions> - <widgets> - <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> - <decorator-section name="body"> - <section> - <!-- do check for PartyAbility, _VIEW permission --> - <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> - </condition> - <widgets> - <decorator-section-include name="body"/> - </widgets> - <fail-widgets> - <label style="h3">${uiLabelMap.ProjectMgrViewPermissionError}</label> - </fail-widgets> - </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> + <screen name="CommonSkillTypeDecorator"> + <section> + <actions> + <set field="skillTypeId" from-field="parameters.skillTypeId"/> + <entity-one entity-name="SkillType" value-name="skillType"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <!-- do check for PartyAbility, _VIEW permission --> + <condition> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + </condition> + <widgets> + <decorator-section-include name="body"/> + </widgets> + <fail-widgets> + <label style="h3">${uiLabelMap.ProjectMgrViewPermissionError}</label> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> <screen name="CommonTimesheetDecorator"> <section> <actions> <set field="headerItem" value="timesheet"/> <set field="timesheetId" from-field="parameters.timesheetId"/> - <entity-one entity-name="Timesheet" value-name="timesheet"/> - <entity-one entity-name="PartyNameView" value-name="partyName"> - <field-map field-name="partyId" env-name="timesheet.partyId"/> + <entity-one entity-name="Timesheet" value-name="timesheet"/> + <entity-one entity-name="PartyNameView" value-name="partyName"> + <field-map field-name="partyId" env-name="timesheet.partyId"/> </entity-one> </actions> <widgets> @@ -229,21 +229,21 @@ <decorator-section name="body"> <section> <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> </condition> <widgets> - <!--include-menu name="TimesheetTabBar" location="component://projectmgr/widget/Menus.xml"/--> - <include-menu name="TimesheetSubTabBar" location="component://projectmgr/widget/Menus.xml"/> - <section> - <condition> - <not> - <if-empty field-name="timesheet"/> - </not> - </condition> - <widgets> - <container><label style="h1">${uiLabelMap.TimesheetTimesheetId}: ${timesheetId} ${uiLabelMap.CommonFrom}: ${partyName.firstName} ${partyName.middleName} ${partyName.lastName} ${partyName.groupName} [${timesheet.partyId}]</label></container> - </widgets> - </section> + <!--include-menu name="TimesheetTabBar" location="component://projectmgr/widget/Menus.xml"/--> + <include-menu name="TimesheetSubTabBar" location="component://projectmgr/widget/Menus.xml"/> + <section> + <condition> + <not> + <if-empty field-name="timesheet"/> + </not> + </condition> + <widgets> + <container><label style="h1">${uiLabelMap.TimesheetTimesheetId}: ${timesheetId} ${uiLabelMap.CommonFrom}: ${partyName.firstName} ${partyName.middleName} ${partyName.lastName} ${partyName.groupName} [${timesheet.partyId}]</label></container> + </widgets> + </section> <decorator-section-include name="body"/> </widgets> <fail-widgets> @@ -264,11 +264,11 @@ <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> <section> - <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <condition> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> </condition> - <widgets> - <include-menu name="MyTimeSubTabBar" location="component://projectmgr/widget/Menus.xml"/> + <widgets> + <include-menu name="MyTimeSubTabBar" location="component://projectmgr/widget/Menus.xml"/> <decorator-section-include name="body"/> </widgets> <fail-widgets> @@ -280,7 +280,7 @@ </widgets> </section> </screen> - + <screen name="CommonCalendarDecorator"> <section> <actions> @@ -290,7 +290,7 @@ <decorator-section name="body"> <section> <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> </condition> <actions> <entity-condition entity-name="Facility" list-name="allFacilities"> @@ -329,7 +329,7 @@ </container> <section> <actions> - <set field="text1" value="The projectmanager supports the administration/sheduling of projects, task assignment/re-assignment with time registration and invoicing. + <set field="text1" value="The projectmanager supports the administration/sheduling of projects, task assignment/re-assignment with time registration and invoicing. For comments and requirements please add this to the documents below or open an issue in Jira.<br/><br/> This component is now fairly complete, the current status of the component is documented in the development document below." /> <set field="text2" value="The following documents/systems are available:"/> @@ -354,94 +354,94 @@ </decorator-screen> </widgets> </section> - </screen> - <screen name="CommonListResourceDecorator"> - <section> - <actions> - <set field="headerItem" value="resources"/> - <set field="partyId" from-field="parameters.partyId"/> - <entity-one entity-name="Party" value-name="party"/> - <entity-one entity-name="Person" value-name="lookupPerson"/> - <entity-one entity-name="PartyGroup" value-name="lookupGroup"/> - <set field="communicationEventId" from-field="parameters.communicationEventId"/> - <entity-one entity-name="CommunicationEvent" value-name="communicationEvent"/> - <set field="okayToUpdate" value="true" type="Boolean" global="true"/> - </actions> - <widgets> - <section> - <condition> - <and> - <not><if-empty field-name="communicationEvent.statusId"/></not> - <or> - <if-compare field-name="communicationEvent.statusId" operator="equals" type="String" value="COM_COMPLETE"/> - <if-compare field-name="communicationEvent.statusId" operator="equals" type="String" value="COM_RESOLVED"/> - <if-compare field-name="communicationEvent.statusId" operator="equals" type="String" value="COM_REFERRED"/> - </or> - </and> - </condition> - <actions> - <set field="okayToUpdate" value="false" type="Boolean" global="true"/> - </actions> - <widgets/> - </section> - <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> - <decorator-section name="body"> - <section> - <!-- do check for PARTYMGR, _VIEW permission --> - <condition> - <if-has-permission permission="PROJECTMGR" action="_VIEW"/> - </condition> - <widgets> - <section> - <condition><not><if-empty field-name="partyId"/></not></condition> - <widgets> - <include-menu location="component://projectmgr/widget/Menus.xml" name="ResourceTabBar"/> - <container> - <section> - <widgets> - <label text="&nbsp;<br/>"/> - <label style="h1" text="${uiLabelMap.PartyTheProfileOf} ${lookupPerson.personalTitle} ${lookupPerson.firstName} ${lookupPerson.middleName} ${lookupPerson.lastName} ${lookupPerson.suffix} ${lookupGroup.groupName}"/> - </widgets> - <fail-widgets> - <label style="h1" text="${uiLabelMap.PartyNewUser}"/> - </fail-widgets> - </section> - - <label style="h1" text="[${partyId}]"/> - </container> - </widgets> - </section> - <decorator-section-include name="body"/> - </widgets> - <fail-widgets> - <label style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label> - </fail-widgets> - </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> </screen> - <screen name="CommonRequestDecorator"> - <section> - <actions> - </actions> - <widgets> - <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> - <decorator-section name="body"> - <section> - <widgets> - <include-menu location="component://projectmgr/widget/Menus.xml" name="RequestTabBar"/> - <container> - <label style="h1">[${uiLabelMap.CommonId}:${custRequest.custRequestId}] ${custRequest.custRequestName}</label> - </container> - <decorator-section-include name="body"/> - </widgets> - </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> - -</screens> + <screen name="CommonListResourceDecorator"> + <section> + <actions> + <set field="headerItem" value="resources"/> + <set field="partyId" from-field="parameters.partyId"/> + <entity-one entity-name="Party" value-name="party"/> + <entity-one entity-name="Person" value-name="lookupPerson"/> + <entity-one entity-name="PartyGroup" value-name="lookupGroup"/> + <set field="communicationEventId" from-field="parameters.communicationEventId"/> + <entity-one entity-name="CommunicationEvent" value-name="communicationEvent"/> + <set field="okayToUpdate" value="true" type="Boolean" global="true"/> + </actions> + <widgets> + <section> + <condition> + <and> + <not><if-empty field-name="communicationEvent.statusId"/></not> + <or> + <if-compare field-name="communicationEvent.statusId" operator="equals" type="String" value="COM_COMPLETE"/> + <if-compare field-name="communicationEvent.statusId" operator="equals" type="String" value="COM_RESOLVED"/> + <if-compare field-name="communicationEvent.statusId" operator="equals" type="String" value="COM_REFERRED"/> + </or> + </and> + </condition> + <actions> + <set field="okayToUpdate" value="false" type="Boolean" global="true"/> + </actions> + <widgets/> + </section> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <!-- do check for PARTYMGR, _VIEW permission --> + <condition> + <if-has-permission permission="PROJECTMGR" action="_VIEW"/> + </condition> + <widgets> + <section> + <condition><not><if-empty field-name="partyId"/></not></condition> + <widgets> + <include-menu location="component://projectmgr/widget/Menus.xml" name="ResourceTabBar"/> + <container> + <section> + <widgets> + <label text="&nbsp;<br/>"/> + <label style="h1" text="${uiLabelMap.PartyTheProfileOf} ${lookupPerson.personalTitle} ${lookupPerson.firstName} ${lookupPerson.middleName} ${lookupPerson.lastName} ${lookupPerson.suffix} ${lookupGroup.groupName}"/> + </widgets> + <fail-widgets> + <label style="h1" text="${uiLabelMap.PartyNewUser}"/> + </fail-widgets> + </section> + + <label style="h1" text="[${partyId}]"/> + </container> + </widgets> + </section> + <decorator-section-include name="body"/> + </widgets> + <fail-widgets> + <label style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="CommonRequestDecorator"> + <section> + <actions> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <widgets> + <include-menu location="component://projectmgr/widget/Menus.xml" name="RequestTabBar"/> + <container> + <label style="h1">[${uiLabelMap.CommonId}:${custRequest.custRequestId}] ${custRequest.custRequestName}</label> + </container> + <decorator-section-include name="body"/> + </widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + +</screens> Propchange: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml |
Free forum by Nabble | Edit this page |