myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Noeth (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TOBAGO-1721) Optimize HTML output when two renderer are involved
Date Wed, 01 Nov 2017 13:34:00 GMT

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

Henning Noeth resolved TOBAGO-1721.
-----------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 4.0.0
>
>
> 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)

Mime
View raw message