/** * <p>Override {@link UIComponent#processUpdates} to ensure that the * children of this <code>UIForm</code> instance are only processed * if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p>Override {@link UIComponent#processUpdates} to ensure that the * children of this <code>UIForm</code> instance are only processed * if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p>Override {@link UIComponent#processUpdates} to ensure that the * children of this <code>UIForm</code> instance are only processed * if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p> * Override {@link UIComponent#processUpdates} to ensure that the children of this * <code>UIForm</code> instance are only processed if {@link #isSubmitted} returns * <code>true</code>. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p> * Override {@link UIComponent#processUpdates} to ensure that the children of this * <code>UIForm</code> instance are only processed if {@link #isSubmitted} returns * <code>true</code>. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p> * Override {@link UIComponent#processUpdates} to ensure that the children of this * <code>UIForm</code> instance are only processed if {@link #isSubmitted} returns * <code>true</code>. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p> * Override {@link UIComponent#processUpdates} to ensure that the children of this * <code>UIForm</code> instance are only processed if {@link #isSubmitted} returns * <code>true</code>. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processUpdates(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); try { // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processUpdates(context); } } finally { popComponentFromEL(context); } }
/** * <p>Override {@link UIComponent#processValidators} to ensure that * the children of this <code>UIForm</code> instance are only * processed if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} */ public void processValidators(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); Application app = context.getApplication(); app.publishEvent(context, PreValidateEvent.class, this); // Process all the facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processValidators(context); } app.publishEvent(context, PostValidateEvent.class, this); popComponentFromEL(context); }
/** * <p>Override {@link UIComponent#processValidators} to ensure that * the children of this <code>UIForm</code> instance are only * processed if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} */ public void processValidators(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); Application app = context.getApplication(); app.publishEvent(context, PreValidateEvent.class, this); // Process all the facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processValidators(context); } app.publishEvent(context, PostValidateEvent.class, this); popComponentFromEL(context); }
/** * <p class="changed_modified_2_3">Override {@link UIComponent#processValidators} to ensure that * the children of this <code>UIForm</code> instance are only * processed if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} * @see javax.faces.event.PreValidateEvent * @see javax.faces.event.PostValidateEvent */ @Override public void processValidators(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); Application app = context.getApplication(); app.publishEvent(context, PreValidateEvent.class, this); // Process all the facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processValidators(context); } app.publishEvent(context, PostValidateEvent.class, this); popComponentFromEL(context); }
/** * <p class="changed_modified_2_3">Override {@link UIComponent#processValidators} to ensure that * the children of this <code>UIForm</code> instance are only * processed if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} * @see javax.faces.event.PreValidateEvent * @see javax.faces.event.PostValidateEvent */ @Override public void processValidators(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); Application app = context.getApplication(); app.publishEvent(context, PreValidateEvent.class, this); // Process all the facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processValidators(context); } app.publishEvent(context, PostValidateEvent.class, this); popComponentFromEL(context); }
pushComponentToEL(context, this); Application application = context.getApplication(); application.publishEvent(context, PreValidateEvent.class, this);
pushComponentToEL(context, this); Application application = context.getApplication(); application.publishEvent(context, PreValidateEvent.class, this);
pushComponentToEL(context, this); Application application = context.getApplication(); application.publishEvent(context, PreValidateEvent.class, this);
pushComponentToEL(context, this); Application application = context.getApplication(); application.publishEvent(context, PreValidateEvent.class, this);
/** * <p class="changed_modified_2_3">Override {@link UIComponent#processValidators} to ensure that * the children of this <code>UIForm</code> instance are only * processed if {@link #isSubmitted} returns <code>true</code>.</p> * * @throws NullPointerException {@inheritDoc} * @see javax.faces.event.PreValidateEvent * @see javax.faces.event.PostValidateEvent */ @Override public void processValidators(FacesContext context) { if (context == null) { throw new NullPointerException(); } if (!isSubmitted()) { return; } pushComponentToEL(context, this); Application app = context.getApplication(); app.publishEvent(context, PreValidateEvent.class, this); // Process all the facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processValidators(context); } app.publishEvent(context, PostValidateEvent.class, this); popComponentFromEL(context); }
try pushComponentToEL(context, this);
pushComponentToEL(facesContext, null);
pushComponentToEL(facesContext, null);
pushComponentToEL(facesContext, null);