Tuesday, 10 July 2018

ADF: ADF Table clear Filter

ADF: ADF Table clear Filter





    public void resetFieldTableFilter()
        {
        try {
            FilterableQueryDescriptor queryDescriptor =
                (FilterableQueryDescriptor)this.getFieldTable().getFilterModel();
            if (queryDescriptor != null &&
                queryDescriptor.getFilterCriteria() != null) {
                queryDescriptor.getFilterCriteria().clear();
                this.getFieldTable().queueEvent(new QueryEvent(this.getFieldTable(),
                                                               queryDescriptor));
            }
        } catch (Exception e) {
            if (AppsLogger.isEnabled(AppsLogger.SEVERE)) {
                AppsLogger.write(this,
                                 "Exception in  resetFieldTableFilter :" +
                                 e.getMessage() + " ", AppsLogger.SEVERE);
            }
        }
        }


Tuesday, 3 July 2018

ADF : SkipValidation

ADF : SkipValidation


http://andrejusb.blogspot.com/2012/12/skip-validation-for-adf-required-tabs.html




1. Set Immediate = true property for both tabs:
2. Open page definition file and select root tag, Go to Properties window and search for SkipValidation property. Set SkipValidation to true: