Author: erwan
Date: Sat Aug 13 10:19:44 2011
New Revision: 1157366
URL:
http://svn.apache.org/viewvc?rev=1157366&view=revLog:
Inverting tests to prevent NPE
Modified:
ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?rev=1157366&r1=1157365&r2=1157366&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Sat Aug 13 10:19:44 2011
@@ -925,14 +925,14 @@ under the License.
</field>
<field name="noteInfo" title="${uiLabelMap.CommonNote}"><display/></field>
<field name="noteParty" title="${uiLabelMap.CommonBy}"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${noteDateTime}"/></field>
- <field name="internalNote" title="${uiLabelMap.WorkEffortPrivatePublic}" widget-style="buttontext" use-when="internalNote.equals("N")">
+ <field name="internalNote" title="${uiLabelMap.WorkEffortPrivatePublic}" widget-style="buttontext" use-when=""N".equals(internalNote)">
<hyperlink target="updateWorkEffortNote" description="${uiLabelMap.OrderNotesPrivate}">
<parameter param-name="workEffortId"/>
<parameter param-name="noteId"/>
<parameter param-name="internalNote" value="Y"/>
</hyperlink>
</field>
- <field name="internalNote" title="${uiLabelMap.WorkEffortPrivatePublic}" widget-style="buttontext" use-when="internalNote.equals("Y")">
+ <field name="internalNote" title="${uiLabelMap.WorkEffortPrivatePublic}" widget-style="buttontext" use-when=""Y".equals(internalNote)">
<hyperlink target="updateWorkEffortNote" description="${uiLabelMap.OrderNotesPublic}">
<parameter param-name="workEffortId"/>
<parameter param-name="noteId"/>