if (getPassword() == null || getConfirmPassword() == null) { return; }
    protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) {        super.renderComponent(writer, cycle);                if (cycle.isRewinding()) {            // Make sure the password and confirm password are non-null before proceeding.            // Don't report an error because this condition is checked elsewhere.            if (getPassword() == null || getConfirmPassword() == null) {                return;             }            // The user typed in the password twice.  Make sure that it was the same both times.            IValidationDelegate delegate =                TapestryUtils.getValidator((AbstractComponent) cycle.getPage());            if (!getPassword().equals(getConfirmPassword())) {                delegate.record(getPasswordMismatchMessage(), ValidationConstraint.CONSISTENCY);                return;            }        }    }