In simple layout no linebreaks should be added
----------------------------------------------

                 Key: TOMAHAWK-1169
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1169
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Data List
    Affects Versions: 1.1.6, 1.1.5, 1.1.3
            Reporter: Thorsten Duhn
            Priority: Trivial


When dataList is used in "simple" layout no additional linebreaks 
("HtmlRendererUtils.writePrettyLineSeparator(facesContext)") should be added as 
this breaks usual JSF behaviour. When content before dataList is text and 
content of dataList items also is text there should not be whitespace between. 
When you do one outputText after another their content also is rendered 
together, with no whitespace between, regardless if there is whitespace between 
the JSF outputText elements.

For example print out a list inside of brackets, you usually don't want 
whitespace after opening or before closing bracket. Printing brackets inside of 
dataList is a workaround, only rendered on "#{rowIndex eq 0}" or "#{rowIndex eq 
(rowCount - 1)}", but I believe dataList renderer just should not insert 
linebreaks in case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to