[ 
https://issues.apache.org/jira/browse/ADFFACES-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462062
 ] 

Daniel Hannum commented on ADFFACES-216:
----------------------------------------

I'm not sure what I was doing wrong (or how it squares with Scott who said it 
wasn't possible), but I have been able to do this

The styles are

.OraInlineErrorText
.OraInlineInfoText
etc

Of course it's not documented in adf-faces-skins-doc.xml. I had to dig through 
the generated CSS to find it, but I was able to adjust the size and color of 
the messages independently. Maybe I'm missing something.

> Customize message styles per severity
> -------------------------------------
>
>                 Key: ADFFACES-216
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-216
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>          Components: Skinning
>         Environment: Java 1.5, jboss 4.0.3
>            Reporter: Daniel Hannum
>
> I'd like to style my message component differently based on the severity of 
> the messages being displayed. I see selectors to control the icons for each 
> severity, but not the inline styling. For example, I want to make all the 
> errors red and bold and all the infos something else.
> I see that there are default styles already there. Errors already appear red 
> and info appear black. This is through existing classes such as 
> .OraInlineErrorText. However, customizing them in my skin file didn't have 
> any effect. It appears that you cannot change message styles on a 
> per-severity basis.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to