Author: jleroux
Date: Sun May 22 05:37:29 2016
New Revision: 1745012

URL: http://svn.apache.org/viewvc?rev=1745012&view=rev
Log:
Reverts r1745010, it did not occurs to me that it was in a display field. And 
the simplified syntax (no HTML entities) does not work in these fields because 
of this 
https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML

The error msg is "The entity name must immediately follow the '&' in the entity 
reference."

For a reason I'll check later this works in '<set field value="${groovy: ' 
cases...

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=1745012&r1=1745011&r2=1745012&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml 
(original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Sun May 
22 05:37:29 2016
@@ -206,7 +206,7 @@
         <field name="actualCompletionDate" 
title="${uiLabelMap.FormFieldTitle_actualCompletionDate}"><display 
type="date"/></field>
         <field name="plannedHours" 
title="${uiLabelMap.ProjectMgrPlannedHours}"><display/></field>
         <field name="actualHours" 
title="${uiLabelMap.ProjectMgrActualHours}"><display/></field>
-        <field name="actualNonBilledHours" 
title="${uiLabelMap.ProjectMgrNonBilledActualHours}"><display 
description="${groovy: isBillable && actualNonBilledHours != void ? 
actualNonBilledHours : ''}"/></field>
+        <field name="actualNonBilledHours" 
title="${uiLabelMap.ProjectMgrNonBilledActualHours}"><display 
description="${groovy:isBillable&amp;&amp;actualNonBilledHours!=void?actualNonBilledHours:&quot;&quot;}"/></field>
         <field name="createdStamp" 
title="${uiLabelMap.FormFieldTitle_createdDate}"><display type="date"/></field>
     </form>
     <form name="EditSubProjects" list-name="projects" type="list" 
target="RemoveSubProject"


Reply via email to