From d2fc48c00e09dd3172f28013f12843063dc4bb7b Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 29 Mar 2010 21:41:20 +0000 Subject: [PATCH] Numeric fields "mandatory" are not labeled with the corresponding red asterisk. Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2977536 --- .../org/adempiere/webui/editor/WNumberEditor.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WNumberEditor.java b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WNumberEditor.java index e4e4211178..9f30bc4005 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WNumberEditor.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WNumberEditor.java @@ -50,8 +50,6 @@ public class WNumberEditor extends WEditor implements ContextMenuListener private BigDecimal oldValue; - private boolean mandatory = false; - private int displayType; private WEditorPopupMenu popupMenu; @@ -171,18 +169,6 @@ public class WNumberEditor extends WEditor implements ContextMenuListener return getComponent().getValue(); } - @Override - public boolean isMandatory() - { - return mandatory; - } - - @Override - public void setMandatory(boolean mandatory) - { - this.mandatory = mandatory; - } - @Override public void setValue(Object value) {