You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2015/09/17 12:52:45 UTC
[jira] [Created] (TOBAGO-1492) Possibility to add a CSS class to a
component
Udo Schnurpfeil created TOBAGO-1492:
---------------------------------------
Summary: 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
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.
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="my-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)