environment.push(ValidationTracker.class, activeTracker);
environment.push(BeanValidationContext.class, new BeanValidationContextImpl(validate));
if (autofocus)
{
ValidationDecorator autofocusDecorator = new AutofocusValidationDecorator(
environment.peek(ValidationDecorator.class), activeTracker, jsSupport);
environment.push(ValidationDecorator.class, autofocusDecorator);
}
// Now that the environment is setup, inform the component or other