Unfortunately, no there is not.  We were hoping we could just override
the TLD definitions to provide defaults, but that doesn't end up
working.

The next best solution might be to override the createComponent()
method of Application to do your defaulting (and back it with an xml
file).


On Fri, 03 Dec 2004 12:00:35 -0700, Matt Raible <[EMAIL PROTECTED]> wrote:
> 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
> 
> 


-- 
If you don't have a GMail account, I probably have 5 invites.  Just ask!
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to