diff --git a/gui/src/main/java/org/jboss/as/console/client/tools/mapping/DescriptionMapper.java b/gui/src/main/java/org/jboss/as/console/client/tools/mapping/DescriptionMapper.java index d8597e3fb3..bb3ca2877a 100644 --- a/gui/src/main/java/org/jboss/as/console/client/tools/mapping/DescriptionMapper.java +++ b/gui/src/main/java/org/jboss/as/console/client/tools/mapping/DescriptionMapper.java @@ -50,7 +50,10 @@ public void map(Mapping mapping) { final boolean required = att.getValue().hasDefined("required") ? att.getValue().get("required").asBoolean() : false; - mapping.onAttribute(name, description, type, required); + final boolean nillable = att.getValue().hasDefined("nillable") ? + att.getValue().get("nillable").asBoolean() : true; + + mapping.onAttribute(name, description, type, !nillable||required); } }