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(); }
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(); }