public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, ELException { try { this.nextHandler.apply(ctx, parent); } catch (Exception e) { if (this.var != null) { ctx.setAttribute(this.var.getValue(ctx), e); } } }
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, ELException { boolean b = this.test.getBoolean(ctx); if (this.var != null) { ctx.setAttribute(var.getValue(ctx), new Boolean(b)); } if (b) { this.nextHandler.apply(ctx, parent); } }
ctx.setAttribute(v, value); } else { ve = this.getVarExpr(srcVE, src, value, i); IterationStatus itrS = new IterationStatus(first, !itr.hasNext(),i, sO, eO, mO); if (t || srcVE == null) { ctx.setAttribute(vs, itrS); } else { ve = new IterationStatusExpression(itrS);