if (StringUtils.isNotBlank(value)) {
final StringTokenizer tokenizer = new StringTokenizer(value, ";");
final Measure vertical = Measure.valueOf(tokenizer.nextToken());
final Measure horizontal = Measure.valueOf(tokenizer.nextToken());
if (vertical.greaterThan(Measure.valueOf(30)) || vertical.lessThan(Measure.valueOf(3))
|| horizontal.greaterThan(Measure.valueOf(30)) || horizontal.lessThan(Measure.valueOf(3))) {
LOG.error("Ignoring strange values: vertical=" + vertical + " horizontal=" + horizontal);
} else {
final ClientProperties client = VariableResolverUtils.resolveClientProperties(facesContext);
client.setVerticalScrollbarWeight(vertical);
client.setHorizontalScrollbarWeight(horizontal);