protected boolean shouldSkipChildren(FacesContext context) {
        if (!ComponentUtils.isRequestSource(this, context)) {
            return false;
        }

        Map<String, String> params = context.getExternalContext().getRequestParameterMap();
        String paramValue = params.get(Constants.RequestParams.SKIP_CHILDREN_PARAM);

        if (LangUtils.isBlank(paramValue)) {
            return true;
        }

        return Boolean.parseBoolean(paramValue);
    }
Calculates the count value for the given index.

@param index

@return
primefaces/src/main/java/org/primefaces/component/api/UITabPanel.java