This is an automated email from the ASF dual-hosted git repository.
doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git
The following commit(s) were added to refs/heads/master by this push:
new 319697e EMPIREDB-360 changes discarded
319697e is described below
commit 319697ecfb5972b8017d18db555202c8e697a576
Author: Rainer Döbele <[email protected]>
AuthorDate: Thu Sep 23 14:26:44 2021 +0200
EMPIREDB-360
changes discarded
---
.../main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java | 7 -------
1 file changed, 7 deletions(-)
diff --git
a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
index 903f80c..799a1c9 100644
---
a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
+++
b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
@@ -786,13 +786,6 @@ public class TagEncodingHelper implements NamingContainer
ValueExpression ve = component.getValueExpression("value");
if (ve == null)
throw new PropertyReadOnlyException("value");
-
- if (ObjectUtils.isEmpty(value))
- { // check mandatory
- Object mandatory = getTagAttributeValue("mandatory");
- if (ObjectUtils.getBoolean(mandatory))
- throw new FieldNotNullException(this.column);
- }
FacesContext ctx = FacesContext.getCurrentInstance();
ve.setValue(ctx.getELContext(), value);