NIFI-280 writing the description as a second row

This commit is contained in:
danbress 2015-02-03 22:51:17 -05:00
parent 6007070628
commit 5f1fb45c91
1 changed files with 9 additions and 1 deletions

View File

@ -275,13 +275,21 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
if (property.isSensitive()) {
writeSensitiveImg(xmlStreamWriter);
}
writePropertyDescription(xmlStreamWriter, property.getDescription());
//writePropertyDescription(xmlStreamWriter, property.getDescription());
xmlStreamWriter.writeEndElement();
writeSimpleElement(xmlStreamWriter, "td", property.getDefaultValue());
writeValidValues(xmlStreamWriter, property);
writeSimpleElement(xmlStreamWriter, "td", property.isExpressionLanguageSupported() ? "Yes"
: "No");
xmlStreamWriter.writeEndElement();
xmlStreamWriter.writeStartElement("tr");
xmlStreamWriter.writeStartElement("td");
xmlStreamWriter.writeAttribute("span", "4");
xmlStreamWriter.writeCharacters("Description:");
xmlStreamWriter.writeCharacters(property.getDescription());
xmlStreamWriter.writeEndElement();
xmlStreamWriter.writeEndElement();
}
// TODO support dynamic properties...