You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/03/19 02:24:00 UTC

[12/27] incubator-nifi git commit: NIFI-280 writing the description as a second row

NIFI-280 writing the description as a second row


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/5f1fb45c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/5f1fb45c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/5f1fb45c

Branch: refs/heads/NIFI-353
Commit: 5f1fb45c91911fffd58e5ab8b4403265236d9b27
Parents: 6007070
Author: danbress <db...@onyxconsults.com>
Authored: Tue Feb 3 22:51:17 2015 -0500
Committer: danbress <db...@onyxconsults.com>
Committed: Sat Feb 7 10:47:10 2015 -0500

----------------------------------------------------------------------
 .../nifi/documentation/html/HtmlDocumentationWriter.java  | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/5f1fb45c/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
index cd2cee6..ca815e6 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
@@ -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...