IValidationDelegate validator = (IValidationDelegate) page.getBeans().getBean(VALIDATOR); return validator;
for (IComponent c = page; c != null; c = c.getContainer()) { IBeanProvider beans = c.getBeans(); if (beans.canProvideBean(VALIDATOR)) { return (IValidationDelegate) c.getBeans().getBean(VALIDATOR); } } return null;
    public static IValidationDelegate getValidator(IComponent page) {        IValidationDelegate validator = (IValidationDelegate) page.getBeans().getBean(VALIDATOR);        return validator;    }