Author: adrianc
Date: Sat Feb 16 08:55:16 2008 New Revision: 628357 URL: http://svn.apache.org/viewvc?rev=628357&view=rev Log: Fixed screenlet widget definitions in Project Manager. Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml?rev=628357&r1=628356&r2=628357&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Sat Feb 16 08:55:16 2008 @@ -138,7 +138,7 @@ <screenlet name="findProject" collapsible="true" title="${uiLabelMap.PageTitleFindProject}"> <include-form name="FindProject" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </screenlet> - <screenlet title="${uiLabelMap.PageTitleFindProjectResults}" tab-menu-name="projectSubTabBar"> + <screenlet title="${uiLabelMap.PageTitleFindProjectResults}" navigation-form-name="ListProjects"> <include-form name="ListProjects" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </screenlet> </decorator-section> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml?rev=628357&r1=628356&r2=628357&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml Sat Feb 16 08:55:16 2008 @@ -239,37 +239,39 @@ <screenlet title="${uiLabelMap.PageTitleFindTask}" collapsible="true" id="findTask"> <include-form name="FindTask" location="component://projectmgr/widget/forms/TaskForms.xml"/> </screenlet> - <screenlet title="${uiLabelMap.PageTitleListTaskSearchResult}"> - <section> - <condition> - <or> - <if-has-permission permission="PROJECTMGR_ADMIN"/> - <if-has-permission permission="PROJECTMGR_VIEW"/> - </or> - </condition> - <actions> - <set field="entityName" value="ProjectAndPhaseAndTask"/> - </actions> - <widgets> - <include-form name="ListTasks" location="component://projectmgr/widget/forms/TaskForms.xml"/> - </widgets> - </section> - <section> - <condition> - <or> - <if-has-permission permission="PROJECTMGR_ROLE_ADMIN"/> - <if-has-permission permission="PROJECTMGR_ROLE_VIEW"/> - </or> - </condition> - <actions> - <set field="entityName" value="ProjectPartyAndPhaseAndTask"/> - <set field="parameters.partyId" from-field="context.userLogin.partyId"/> - </actions> - <widgets> - <include-form name="ListTasks" location="component://projectmgr/widget/forms/TaskForms.xml"/> - </widgets> - </section> - </screenlet> + <section> + <condition> + <or> + <if-has-permission permission="PROJECTMGR_ADMIN"/> + <if-has-permission permission="PROJECTMGR_VIEW"/> + </or> + </condition> + <actions> + <set field="entityName" value="ProjectAndPhaseAndTask"/> + </actions> + <widgets> + <screenlet title="${uiLabelMap.PageTitleListTaskSearchResult}" navigation-form-name="ListTasks"> + <include-form name="ListTasks" location="component://projectmgr/widget/forms/TaskForms.xml"/> + </screenlet> + </widgets> + </section> + <section> + <condition> + <or> + <if-has-permission permission="PROJECTMGR_ROLE_ADMIN"/> + <if-has-permission permission="PROJECTMGR_ROLE_VIEW"/> + </or> + </condition> + <actions> + <set field="entityName" value="ProjectPartyAndPhaseAndTask"/> + <set field="parameters.partyId" from-field="context.userLogin.partyId"/> + </actions> + <widgets> + <screenlet title="${uiLabelMap.PageTitleListTaskSearchResult}" navigation-form-name="ListTasks"> + <include-form name="ListTasks" location="component://projectmgr/widget/forms/TaskForms.xml"/> + </screenlet> + </widgets> + </section> </decorator-section> </decorator-screen> </widgets> |
Free forum by Nabble | Edit this page |