Search in sources :

Example 6 with HtmlSnippets

use of org.jmesa.view.html.HtmlSnippets in project OpenClinica by OpenClinica.

the class StudySubjectStatusView method render.

public Object render() {
    HtmlSnippets snippets = getHtmlSnippets();
    HtmlBuilder html = new HtmlBuilder();
    setCustomCellEditors();
    html.append(snippets.themeStart());
    html.append(snippets.tableStart());
    html.append(snippets.theadStart());
    html.append(customHeader());
    html.append(snippets.filter());
    html.append(snippets.header());
    html.append(snippets.theadEnd());
    html.append(snippets.tbodyStart());
    html.append(snippets.body());
    html.append(snippets.tbodyEnd());
    html.append(snippets.footer());
    html.append(snippets.tableEnd());
    html.append(snippets.themeEnd());
    html.append(snippets.initJavascriptLimit());
    return html.toString();
}
Also used : HtmlSnippets(org.jmesa.view.html.HtmlSnippets) HtmlBuilder(org.jmesa.view.html.HtmlBuilder)

Aggregations

HtmlBuilder (org.jmesa.view.html.HtmlBuilder)6 HtmlSnippets (org.jmesa.view.html.HtmlSnippets)6