Is it possible to set a default styleClass for a component? All my <h:message> tags are going to use the "fieldError" styleClass. Is there a way to specify this in faces-config.xml, so I don't have to type it every time?

<h:message for="confirmPassword" styleClass="fieldError"/>

Thanks,

Matt



Reply via email to