myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <ma...@sourcebeat.com>
Subject Setting a default styleClass for a component
Date Fri, 03 Dec 2004 19:00:35 GMT
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


Mime
View raw message