@Override
public Object getValue(ELContext context) {
FacesContext facesContext = getFacesContext(context);
ConfigurationService configurationService = ServiceTracker.getService(ConfigurationService.class);
boolean controls = configurationService.getBooleanValue(facesContext,
CoreConfiguration.Items.standardControlsSkinning);
boolean classes = configurationService.getBooleanValue(facesContext,
CoreConfiguration.Items.standardControlsSkinningClasses);
if (controls && classes) {
return BOTH_SKINNING;
}