protected void doExistingComponentActions(FaceletContext ctx, String id, UIComponent c) { // mark all children for cleaning if (log.isLoggable(Level.FINE)) { log.fine(owner.getTag() + " Component[" + id + "] Found, marking children for cleanup"); } ComponentSupport.markForDeletion(c); if (this.id != null){ /* * Note that registerLiteralId() needs to be called here regardless of whether we keep the code for * reapplying Ids below. * This makes IterationIdManager aware of all literal Ids on the page, so that it can ensure Id uniqueness for components * added during postback. */ boolean autoGenerated = (this.id.isLiteral() && IterationIdManager.registerLiteralId(ctx, this.id.getValue())); /* * Repply the id, for the case when the component tree was changed, and the id's are set explicitly. */ if (!autoGenerated) { c.setId(this.id.getValue(ctx)); } } }
protected void doExistingComponentActions(FaceletContext ctx, String id, UIComponent c) { // mark all children for cleaning if (log.isLoggable(Level.FINE)) { log.fine(owner.getTag() + " Component[" + id + "] Found, marking children for cleanup"); } ComponentSupport.markForDeletion(c); if (this.id != null){ /* * Note that registerLiteralId() needs to be called here regardless of whether we keep the code for * reapplying Ids below. * This makes IterationIdManager aware of all literal Ids on the page, so that it can ensure Id uniqueness for components * added during postback. */ boolean autoGenerated = (this.id.isLiteral() && IterationIdManager.registerLiteralId(ctx, this.id.getValue())); /* * Repply the id, for the case when the component tree was changed, and the id's are set explicitly. */ if (!autoGenerated) { c.setId(this.id.getValue(ctx)); } } }
protected void doExistingComponentActions(FaceletContext ctx, String id, UIComponent c) { // mark all children for cleaning if (log.isLoggable(Level.FINE)) { log.fine(owner.getTag() + " Component[" + id + "] Found, marking children for cleanup"); } ComponentSupport.markForDeletion(c); if (this.id != null){ /* * Note that registerLiteralId() needs to be called here regardless of whether we keep the code for * reapplying Ids below. * This makes IterationIdManager aware of all literal Ids on the page, so that it can ensure Id uniqueness for components * added during postback. */ boolean autoGenerated = (this.id.isLiteral() && IterationIdManager.registerLiteralId(ctx, this.id.getValue())); /* * Repply the id, for the case when the component tree was changed, and the id's are set explicitly. */ if (!autoGenerated) { c.setId(this.id.getValue(ctx)); } } }
protected void doExistingComponentActions(FaceletContext ctx, String id, UIComponent c) { // mark all children for cleaning if (log.isLoggable(Level.FINE)) { log.fine(owner.getTag() + " Component[" + id + "] Found, marking children for cleanup"); } ComponentSupport.markForDeletion(c); if (this.id != null){ /* * Note that registerLiteralId() needs to be called here regardless of whether we keep the code for * reapplying Ids below. * This makes IterationIdManager aware of all literal Ids on the page, so that it can ensure Id uniqueness for components * added during postback. */ boolean autoGenerated = (this.id.isLiteral() && IterationIdManager.registerLiteralId(ctx, this.id.getValue())); /* * Repply the id, for the case when the component tree was changed, and the id's are set explicitly. */ if (!autoGenerated) { c.setId(this.id.getValue(ctx)); } } }
/** * @see com.sun.faces.facelets.Facelet#apply(javax.faces.context.FacesContext, javax.faces.component.UIComponent) */ @Override public void apply(FacesContext facesContext, UIComponent parent) throws IOException { IdMapper idMapper = IdMapper.getMapper(facesContext); boolean mapperSet = false; if (idMapper == null) { IdMapper.setMapper(facesContext, this.mapper); mapperSet = true; } DefaultFaceletContext ctx = new DefaultFaceletContext(facesContext, this); this.refresh(parent); ComponentSupport.markForDeletion(parent); this.root.apply(ctx, parent); ComponentSupport.finalizeForDeletion(parent); this.markApplied(parent); if (mapperSet) { IdMapper.setMapper(facesContext, null); } }
/** * @see com.sun.faces.facelets.Facelet#apply(javax.faces.context.FacesContext, javax.faces.component.UIComponent) */ @Override public void apply(FacesContext facesContext, UIComponent parent) throws IOException { IdMapper idMapper = IdMapper.getMapper(facesContext); boolean mapperSet = false; if (idMapper == null) { IdMapper.setMapper(facesContext, this.mapper); mapperSet = true; } DefaultFaceletContext ctx = new DefaultFaceletContext(facesContext, this); this.refresh(parent); ComponentSupport.markForDeletion(parent); this.root.apply(ctx, parent); ComponentSupport.finalizeForDeletion(parent); this.markApplied(parent); if (mapperSet) { IdMapper.setMapper(facesContext, null); } }
/** * @see com.sun.faces.facelets.Facelet#apply(javax.faces.context.FacesContext, javax.faces.component.UIComponent) */ public void apply(FacesContext facesContext, UIComponent parent) throws IOException { IdMapper idMapper = IdMapper.getMapper(facesContext); boolean mapperSet = false; if (idMapper == null) { IdMapper.setMapper(facesContext, this.mapper); mapperSet = true; } DefaultFaceletContext ctx = new DefaultFaceletContext(facesContext, this); this.refresh(parent); ComponentSupport.markForDeletion(parent); this.root.apply(ctx, parent); ComponentSupport.finalizeForDeletion(parent); this.markApplied(parent); if (mapperSet) { IdMapper.setMapper(facesContext, null); } }
/** * @see com.sun.faces.facelets.Facelet#apply(javax.faces.context.FacesContext, javax.faces.component.UIComponent) */ @Override public void apply(FacesContext facesContext, UIComponent parent) throws IOException { IdMapper idMapper = IdMapper.getMapper(facesContext); boolean mapperSet = false; if (idMapper == null) { IdMapper.setMapper(facesContext, this.mapper); mapperSet = true; } DefaultFaceletContext ctx = new DefaultFaceletContext(facesContext, this); this.refresh(parent); ComponentSupport.markForDeletion(parent); this.root.apply(ctx, parent); ComponentSupport.finalizeForDeletion(parent); this.markApplied(parent); if (mapperSet) { IdMapper.setMapper(facesContext, null); } }
suppressEvents = ComponentSupport.suppressViewModificationEvents(ctx.getFacesContext()); ComponentSupport.markForDeletion(c); } else { Instruction[] applied;
suppressEvents = ComponentSupport.suppressViewModificationEvents(ctx.getFacesContext()); ComponentSupport.markForDeletion(c); } else { Instruction[] applied;
suppressEvents = ComponentSupport.suppressViewModificationEvents(ctx.getFacesContext()); ComponentSupport.markForDeletion(c); } else { Instruction[] applied;
suppressEvents = ComponentSupport.suppressViewModificationEvents(ctx.getFacesContext()); ComponentSupport.markForDeletion(c); } else { Instruction[] applied;