if (!TapestryUtils.isValid((AbstractPage) getPage())) {
if (!TapestryUtils.isValid(this)) {
    public void applyConnectionParams() {        if (!TapestryUtils.isValid((AbstractPage) getPage())) {            return;        }        LdapConnectionParams connectionParams = getConnectionParams();        AttrMap attrMap = getAttrMap();        LdapManager ldapManager = getLdapManager();        // check if we can connect to LDAP - throws user exception if there are any problems        ldapManager.verify(connectionParams, attrMap);        // save new connection params        ldapManager.setConnectionParams(connectionParams);        ldapManager.setAttrMap(attrMap);        Schema schema = ldapManager.getSchema();        setSchema(schema);        setStage("objectClasses");    }