Author: hansbak
Date: Sun Oct 26 23:04:17 2008
New Revision: 708092
URL:
http://svn.apache.org/viewvc?rev=708092&view=revLog:
after adding a task remain in the same tasklist screen
Modified:
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml
ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml?rev=708092&r1=708091&r2=708092&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/controller.xml Sun Oct 26 23:04:17 2008
@@ -218,7 +218,7 @@
<request-map uri="createProjectTask">
<security https="true" auth="true"/>
<event type="service" invoke="createProjectTask"/>
- <response name="success" type="view" value="taskView"/>
+ <response name="success" type="request-redirect" value="EditProjectTasks"/>
<response name="error" type="view" value="AddProjectTask"/>
</request-map>
<request-map uri="createProjectPhase">
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=708092&r1=708091&r2=708092&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Sun Oct 26 23:04:17 2008
@@ -108,6 +108,7 @@
header-row-style="header-row" default-table-style="basic-table">
<field name="workEffortTypeId"><hidden value="TASK"/></field>
<field name="currentStatusId"><hidden value="PTS_CREATED"/></field>
+ <field name="projectId"><hidden value="${parameters.projectId}"/></field>
<field name="taskName" parameter-name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}*" tooltip="${uiLabelMap.CommonRequired}"><text/></field>
<field name="taskDescription" parameter-name="description" title="${uiLabelMap.CommonDescription}"><text/></field>
<field name="phaseName" use-when="projectId!=void" parameter-name="workEffortParentId" title="${uiLabelMap.ProjectMgrTaskPhase}">