Changed getStyleClass() method in component.ftl