diff --git a/gui/src/main/java/org/jboss/as/console/client/tools/DescriptionView.java b/gui/src/main/java/org/jboss/as/console/client/tools/DescriptionView.java index 449d590e83..7cfcc4c243 100644 --- a/gui/src/main/java/org/jboss/as/console/client/tools/DescriptionView.java +++ b/gui/src/main/java/org/jboss/as/console/client/tools/DescriptionView.java @@ -112,8 +112,14 @@ public void updateDescription(ModelNode address, ModelNode description) public void onAttribute(String name, String description, String type, boolean required) { attributeBuilder.appendHtmlConstant(""); - attributeBuilder.appendHtmlConstant("").appendEscaped(name).appendHtmlConstant(""); - attributeBuilder.appendHtmlConstant("").appendEscaped(type).appendHtmlConstant(""); + attributeBuilder.appendHtmlConstant(""); + attributeBuilder.appendEscaped(name); + attributeBuilder.appendHtmlConstant(""); + attributeBuilder.appendHtmlConstant(""); + attributeBuilder.appendEscaped(type); + String requiredSuffix = required ? " (*)" : ""; + attributeBuilder.appendEscaped(requiredSuffix); + attributeBuilder.appendHtmlConstant(""); attributeBuilder.appendHtmlConstant(""); attributeBuilder.appendHtmlConstant("");