private void init(PageContext pageContext) { PageState ps = PageState.getCurrentPageState(); if (!ps.initedElements.contains(getDiscriminator())) { pageContext.getRequest().setAttribute(ACTION, INITIALIZE); super.toHtml(pageContext); ps.initedElements.add(getDiscriminator()); } }
public void toHtml(PageContext pageContext) { pageContext.getRequest().setAttribute(Paintable.ACTION, getPaintActionName()); urlToInclude = "/commons/layout/partPaintable.jsp"; super.toHtml(pageContext); }
public void toHtml(PageContext pageContext) { pageContext.getRequest().setAttribute(ACTION, "DRAW_USER"); super.toHtml(pageContext); }