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 2015/09/17 14:22:04 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=14802830#comment-14802830 ]
Hudson commented on TOBAGO-1492:
--------------------------------
FAILURE: Integrated in tobago-3.0.x #82 (See [https://builds.apache.org/job/tobago-3.0.x/82/])
TOBAGO-1492: Possibility to add a CSS class to a component (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1703579)
* /myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/CssItem.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)