You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2017/09/15 12:02:00 UTC

[jira] [Commented] (TOBAGO-1721) Optimize HTML output when two renderer are involved

    [ https://issues.apache.org/jira/browse/TOBAGO-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167775#comment-16167775 ] 

Hudson commented on TOBAGO-1721:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1021 (See [https://builds.apache.org/job/Tobago%20Trunk/1021/])
TOBAGO-1721 Optimize HTML output when two renderer are involved * fix (hnoeth: rev 2a3a3786b12ebdf9b3f5938d1730025ae3fbd267)
* (edit) tobago-core/src/main/resources/scss/_tobago.scss
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectBooleanCheckboxInsideCommandRenderer.java


> Optimize HTML output when two renderer are involved
> ---------------------------------------------------
>
>                 Key: TOBAGO-1721
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1721
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.3
>            Reporter: Henning Noeth
>            Assignee: Henning Noeth
>
> A renderer produce HTML code without consider the environment.
> For example:
> The InRenderer always generate a <span/> around children.
> If a button has children, the ButtonRenderer always generate a <span/> element around the button and its children.
> So if a <tc:button> is inside a <tc:in>, two <span/> elements would be generated.
> In this case, the renderer should work together, to only generate one <span> element.
> The generated code is more compact.
> It's more the way of bootstrap.
> And because of that, there are less problems to solve with CSS.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)