* @return new {@link ICssClassNameProvider} implementation
*/
public static ICssClassNameProvider newProvider(final IModel<String> model) {
Args.notNull(model, "model");
return new ICssClassNameProvider() {
@Override
public String cssClassName() {
return model.getObject();
}
};