public void processDecodes(javax.faces.context.FacesContext context) { if (context == null) throw new NullPointerException("context"); decode(context); if (!isSubmitted()) return; for (Iterator it = getFacetsAndChildren(); it.hasNext(); ) { UIComponent childOrFacet = (UIComponent)it.next(); childOrFacet.processDecodes(context); } }
public void processDecodes(FacesContext context) { AssertionUtil.assertNotNull("context", context); decode(context); processAppropriateAction(context, PhaseId.APPLY_REQUEST_VALUES); }
/** * <p>Override {@link UIComponent#processDecodes} to ensure that the * form is decoded <strong>before</strong> its children. This is * necessary to allow the <code>submitted</code> property to be * correctly set.</p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // if we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processDecodes(context); } }
/** * <p>Override {@link UIComponent#processDecodes} to ensure that the * form is decoded <strong>before</strong> its children. This is * necessary to allow the <code>submitted</code> property to be * correctly set.</p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // if we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processDecodes(context); } }
public void processValidators(javax.faces.context.FacesContext context) { if (context == null) throw new NullPointerException("context"); // SF issue #1050022: a form used within a datatable will loose it's submitted state // as UIForm is no EditableValueHolder and therefore it's state is not saved/restored by UIData // to restore the submitted state we call decode here again if (!isSubmitted()) { decode(context); } if (!isSubmitted()) return; for (Iterator it = getFacetsAndChildren(); it.hasNext(); ) { UIComponent childOrFacet = (UIComponent)it.next(); childOrFacet.processValidators(context); } }
public void processUpdates(javax.faces.context.FacesContext context) { if (context == null) throw new NullPointerException("context"); // SF issue #1050022: a form used within a datatable will loose it's submitted state // as UIForm is no EditableValueHolder and therefore it's state is not saved/restored by UIData // to restore the submitted state we call decode here again if (!isSubmitted()) { decode(context); } if (!isSubmitted()) return; for (Iterator it = getFacetsAndChildren(); it.hasNext(); ) { UIComponent childOrFacet = (UIComponent)it.next(); childOrFacet.processUpdates(context); } }
/** * <p>Override {@link UIComponent#processDecodes} to ensure that the * form is decoded <strong>before</strong> its children. This is * necessary to allow the <code>submitted</code> property to be * correctly set.</p> * * @throws NullPointerException {@inheritDoc} */ public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // if we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processDecodes(context); } }
/** * <p> * Override {@link UIComponent#processDecodes} to ensure that the form is decoded * <strong>before</strong> its children. This is necessary to allow the <code>submitted</code> * property to be correctly set. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // If we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processDecodes(context); } }
/** * <p> * Override {@link UIComponent#processDecodes} to ensure that the form is decoded * <strong>before</strong> its children. This is necessary to allow the <code>submitted</code> * property to be correctly set. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // If we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processDecodes(context); } }
/** * <p>Override {@link UIComponent#processDecodes} to ensure that the * form is decoded <strong>before</strong> its children. This is * necessary to allow the <code>submitted</code> property to be * correctly set.</p> * * @throws NullPointerException {@inheritDoc} */ public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // if we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processDecodes(context); } }
/** * <p>Override {@link UIComponent#processDecodes} to ensure that the * form is decoded <strong>before</strong> its children. This is * necessary to allow the <code>submitted</code> property to be * correctly set.</p> * * @throws NullPointerException {@inheritDoc} */ public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // if we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processDecodes(context); } }
/** * <p> * Override {@link UIComponent#processDecodes} to ensure that the form is decoded * <strong>before</strong> its children. This is necessary to allow the <code>submitted</code> * property to be correctly set. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // If we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processDecodes(context); } }
/** * <p> * Override {@link UIComponent#processDecodes} to ensure that the form is decoded * <strong>before</strong> its children. This is necessary to allow the <code>submitted</code> * property to be correctly set. * </p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // If we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator<UIComponent> kids = getFacetsAndChildren(); while (kids.hasNext()) { kids.next().processDecodes(context); } }
/** * <p>Override {@link UIComponent#processDecodes} to ensure that the * form is decoded <strong>before</strong> its children. This is * necessary to allow the <code>submitted</code> property to be * correctly set.</p> * * @throws NullPointerException {@inheritDoc} */ @Override public void processDecodes(FacesContext context) { if (context == null) { throw new NullPointerException(); } // Process this component itself decode(context); // if we're not the submitted form, don't process children. if (!isSubmitted()) { return; } // Process all facets and children of this component Iterator kids = getFacetsAndChildren(); while (kids.hasNext()) { UIComponent kid = (UIComponent) kids.next(); kid.processDecodes(context); } }