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/13 16:50:43 UTC
[jira] Created: (TOMAHAWK-1169) In simple layout no linebreaks
should be added
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.
[jira] Updated: (TOMAHAWK-1169) In simple layout no linebreaks
should be added
Posted by "Grant Smith (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Smith updated TOMAHAWK-1169:
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.7-SNAPSHOT
Status: Resolved (was: Patch Available)
Patch applied. Thanks Thorsten!
> 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
> Assignee: Grant Smith
> Priority: Trivial
> Fix For: 1.1.7-SNAPSHOT
>
> 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.
[jira] Updated: (TOMAHAWK-1169) In simple layout no linebreaks
should be added
Posted by "Thorsten Duhn (JIRA)" <de...@myfaces.apache.org>.
[ 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.