I am confused. there is no fields about projects, only workeffort
parentProjectId =parentWorkeffortId with a workEffortTypeId ="PROJECT"

[email protected] sent the following on 6/28/2011 4:09 AM:
> Author: erwan
> Date: Tue Jun 28 11:09:28 2011
> New Revision: 1140522
> 
> URL: http://svn.apache.org/viewvc?rev=1140522&view=rev
> Log:
> Wrong parameter was used when displaying the project's info: the workEffortId 
> was used instead of parentProjectId
> 
> Modified:
>     ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
> 
> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=1140522&r1=1140521&r2=1140522&view=diff
> ==============================================================================
> --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml 
> (original)
> +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Tue 
> Jun 28 11:09:28 2011
> @@ -233,8 +233,8 @@
>          <field name="priority" 
> title="${uiLabelMap.CommonPriority}"><display/></field>
>          <field name="parentProjectId" 
> title="${uiLabelMap.ProjectMgrParentProjectName}">
>              <display-entity entity-name="WorkEffort" 
> description="${workEffortName} ${workEffortId}" key-field-name="workEffortId">
> -                <sub-hyperlink target="projectView" 
> description="${workEffortId}" link-style="buttontext">
> -                    <parameter param-name="projectId" 
> from-field="workEffortId"/>
> +                <sub-hyperlink target="projectView" 
> description="${project.parentProjectId}" link-style="buttontext">
> +                    <parameter param-name="projectId" 
> from-field="project.parentProjectId"/>
>                  </sub-hyperlink>
>              </display-entity>
>          </field>
> 
> 
> 

Reply via email to