[
https://issues.jboss.org/browse/RF-12443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Leathem updated RF-12443:
-------------------------------
Steps to Reproduce:
Create a page which includes a <h:inputText styleClass="invalidInput"/>
and include the following CSS to a file which will be included using
{code}
<h:outputStylesheet name="test.css" library="css"/>
input.inputInvalid, textarea.inputInvalid{
border: 1px solid red;
}
{code}
This will not produce the CSS specified. However, if you place the CSS directly
in the page it will work.
{code}
<style type="text/css">
input.inputInvalid, textarea.inputInvalid{
border: 1px solid red;
}
</style>
{code}
was:
Create a page which includes a <h:inputText styleClass="invalidInput"/>
and include the following CSS to a file which will be included using
<h:outputStylesheet name="test.css" library="css"/>
input.inputInvalid, textarea.inputInvalid{
border: 1px solid red;
}
This will not produce the CSS specified. However, if you place the CSS directly
in the page it will work.
<style type="text/css">
input.inputInvalid, textarea.inputInvalid{
border: 1px solid red;
}
</style>
> <h:inputText/> and <h:inputTextarea/> styleClass attribute being overwritten
> when using <h:outputStylesheet/> by Skinning
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12443
> URL: https://issues.jboss.org/browse/RF-12443
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: skinning
> Affects Versions: 4.2.2.Final
> Reporter: John Yeary
>
> The styleClass attributes are being overwritten by the skinning from the
> application. This is in direct contradiction to Section 6.3 of the Developer
> Guide which states:
> Custom style classes
> Individual components can use the styleClass attribute to redefine
> specific elements. These components then use the styles defined in a CSS file
> instead of the standard look for components as defined by the ECSS
> stylesheets.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues