}  if (viewState.isVisible() || (isHiddenSlot(viewState))) {
    public ActionForward doLifeCycle(HttpServletRequest request) throws Exception {                EditRequest editRequest = new EditRequest(request);        List<IViewState> viewStates = editRequest.getAllViewStates();        boolean allValid = true;        boolean anySkip = false;                for (IViewState viewState : viewStates) {            HtmlComponent component = restoreComponent(viewState);                        viewState.setValid(true);            viewState.setSkipUpdate(false);            viewState.setSkipValidation(false);            viewState.setCurrentDestination((ViewDestination) null);                        ComponentCollector collector = null;                        viewState.setUpdateComponentTree(true);            while (viewState.getUpdateComponentTree()) {                viewState.setUpdateComponentTree(false);                                collector = new ComponentCollector(viewState, component);                updateComponent(collector, editRequest);                                runControllers(collector, viewState);                component = viewState.getComponent();            }                if (viewState.isVisible() && !viewState.skipUpdate()) {                 if (! viewState.skipValidation()) {                    viewState.setValid(validateComponent(viewState, component, viewState.getMetaObject()));                }                    if (viewState.isValid()) {                    // updateMetaObject can get convert errors                    viewState.setValid(updateMetaObject(collector, editRequest, viewState));                }            }                        allValid = allValid && viewState.isValid();            anySkip = anySkip || viewState.skipUpdate();        }        ViewDestination destination;        try {            if (allValid && !anySkip) {                 updateDomain(viewStates);            }        }         finally {            destination = getDestination(viewStates);            prepareDestination(viewStates, editRequest);        }        return buildForward(destination);    }