Esempio n. 1
0
  public String disabled() {
    HtmlBuilder html = new HtmlBuilder();

    html.span();
    html.styleClass(getStyleClass());
    html.style(getStyle());
    html.close();
    html.append(String.valueOf(page));
    html.spanEnd();

    return html.toString();
  }
Esempio n. 2
0
  public String enabled() {
    HtmlBuilder html = new HtmlBuilder();

    html.span();
    html.styleClass(getStyleClass());
    html.style(getStyle());
    html.close();

    html.a().href();
    html.quote();
    html.append(getAction());
    html.quote().close();
    html.append(String.valueOf(page));
    html.aEnd();

    html.spanEnd();

    return html.toString();
  }