Example #1
0
 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());
   }
 }
Example #2
0
  public void toHtml(PageContext pageContext) {
    pageContext.getRequest().setAttribute(Paintable.ACTION, getPaintActionName());

    urlToInclude = "/commons/layout/partPaintable.jsp";
    super.toHtml(pageContext);
  }
Example #3
0
 public void toHtml(PageContext pageContext) {
   pageContext.getRequest().setAttribute(ACTION, "DRAW_USER");
   super.toHtml(pageContext);
 }