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 2016/11/30 13:17:58 UTC

[jira] [Commented] (TOBAGO-1492) Possibility to add a CSS class to a component

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

Hudson commented on TOBAGO-1492:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago 3.0.x #650 (See [https://builds.apache.org/job/Tobago%203.0.x/650/])
render content of <tc:style> for PageRenderer (see TOBAGO-1492) (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1772022])
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/PageRenderer.java


> Possibility to add a CSS class to a component
> ---------------------------------------------
>
>                 Key: TOBAGO-1492
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1492
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core, Themes
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>             Fix For: 3.0.0-alpha-1, 3.0.0
>
>
> There is a solution in Tobago to add specific CSS classes into component:
> It's the "markup" attribute.
> Its the formal way to describe what renderers supports. That the reason why it must be registered via tobago-config.xml
> But this is a bit inflexible. Specially if you want to include external libs like e. g. Bootstrap plugins.
> With this feature it is possible to put a CSS class name into a component with the <tc:style> tag. Example
> {code}
> <tc:in>
>   <tc:style customClass="external-lib-emphasized"/>
> </tc:in>
> {code}
> One capability is, to used external CSS libs.
> This feature should not be used imprudent. Because it might be unstable against changes in the renderered HTML code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)