Esempio n. 1
0
  public String foo2(String p) {
    StringBuilder sb = new StringBuilder();
    StringBuilder ori = getOut();
    this.setOut(sb);
    final dummyTag _dummyTag1 = new dummyTag(getOut());
    {
      _dummyTag1.setActionRunners(getActionRunners());
    }

    // line 7
    p("	<p>hi "); // line 7
    p(p); // line 8
    p("!,</p> \n" + "	<p>from "); // line 8
    p(request.action); // line 9
    p("</p>\n" + "	<p>OK you can call a tag:</p>\n" + "	"); // line 9
    _dummyTag1.setOut(getOut());
    _dummyTag1.render(p); // line 11

    this.setOut(ori);
    return sb.toString();
  }
Esempio n. 2
0
  @Override
  protected void doLayout() {

    // -- set up the tag objects
    final dummyTag _dummyTag4 = new dummyTag(getOut());
    {
      _dummyTag4.setActionRunners(getActionRunners());
    }

    // -- end of the tag objects

    // ------
    ; // line 1
    p("\n" + "<p>check 1</p>\n"); // line 1
    p("\n" + "\n" + "\n"); // line 4
    // line 7
    p("\n" + "<p>check 2</p>\n"); // line 12
    // line 15
    p("<p>check 3</p>\n" + "\n"); // line 18
    p("\n" + "\n"); // line 21
    // line 23
    p("\n" + "\n" + "<p>check 4</p>\n"); // line 26
    _dummyTag4.setOut(getOut());
    _dummyTag4.render(get("bar")); // line 29
    p("\n" + "\n"); // line 29
    p("<p>check 5</p>\n" + "\n"); // line 31
    p(foo()); // line 34
    p("\n" + "\n" + "<p>check 6</p>\n" + "\n"); // line 34
    String a = "";
    // line 39
    a += "bssdfsdf";
    // line 40
    p("\n"); // line 41
    if (a.length() > 0) { // line 42
      p(a); // line 43
    } // line 44
    p("\n"); // line 44
  }