Example #1
0
  public String foo() {
    StringBuilder sb = new StringBuilder();
    StringBuilder ori = getOut();
    this.setOut(sb);
    // line 15
    p("	"); // line 15
    String s = "hi there"; // line 16
    p("	<p>foo hello "); // line 16
    p(foo2(s)); // line 17
    p("</p>\n"); // line 17

    this.setOut(ori);
    return sb.toString();
  }
Example #2
0
  public String bar() {
    StringBuilder sb = new StringBuilder();
    StringBuilder ori = getOut();
    this.setOut(sb);
    // line 23
    p("\n" + "	"); // line 23
    String s = "hi2"; // line 24
    p("	<p>bar hi "); // line 24
    p(s); // line 25
    p("!</p>\n"); // line 25

    this.setOut(ori);
    return sb.toString();
  }
Example #3
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();
  }