List of usage examples for javax.servlet.jsp PageContext removeAttribute
abstract public void removeAttribute(String name);
From source file:com.tonbeller.wcf.expr.ExprUtils.java
public static ExprContext getExprContextAdapter(final PageContext pageContext) { return new ExprContext() { public Object findBean(String name) { return pageContext.findAttribute(name); }/*from w w w . j a v a2s . co m*/ public void setBean(String name, Object bean) { if (bean == null) pageContext.removeAttribute(name); else pageContext.setAttribute(name, bean, PageContext.SESSION_SCOPE); } }; }
From source file:com.redhat.rhn.frontend.taglibs.list.ListTagUtil.java
/** * Clears a "persistent" counter.//from w w w .j av a2s. com * @param ctx active PageContext * @param name name of counter */ public static void clearPersistentCounter(PageContext ctx, String name) { ctx.removeAttribute(name); }
From source file:org.qifu.ui.UIComponentValueUtils.java
public static void removeIfResult(PageContext pageContext) { pageContext.removeAttribute(UIComponent.IfResultVariableName); }