You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thorsten Duhn (JIRA)" <de...@myfaces.apache.org> on 2007/12/14 08:32:43 UTC

[jira] Updated: (TOMAHAWK-1169) In simple layout no linebreaks should be added

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Duhn updated TOMAHAWK-1169:
------------------------------------

    Status: Patch Available  (was: Open)

> 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.3, 1.1.5, 1.1.6
>            Reporter: Thorsten Duhn
>            Priority: Trivial
>         Attachments: patch_TOMAHAWK-1169.txt
>
>
> 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.