@Override protected void render(Page.HTML<_> html) { preHead(html); html. title($("title")). link(root_url("static","yarn.css")). style(".main { min-height: 100%; height: auto !important; height: 100%;",
@Override protected void render(Page.HTML<_> html) { preHead(html); html. title($(TITLE)). link(root_url("static","yarn.css")). style("#layout { height: 100%; }",
@Override protected void render(Page.HTML<_> html) { preHead(html); html. title($(TITLE)). link(root_url("static","yarn.css")). style("#layout { height: 100%; }",
@Override protected void render(Page.HTML<_> html) { set(JQueryUI.ACCORDION_ID, "msg"); String title = "Sorry, got error "+ status(); html. title(title). link(root_url("static","yarn.css")). _(JQueryUI.class). // an embedded sub-view style("#msg { margin: 1em auto; width: 88%; }", "#msg h1 { padding: 0.2em 1.5em; font: bold 1.3em serif; }"). div("#msg"). h1(title). div(). _("Please consult"). a("http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "RFC 2616")._(" for meanings of the error code.")._(). h1("Error Details"). pre(). _(errorDetails())._()._()._(); }
@Override protected void render(Page.HTML<_> html) { set(JQueryUI.ACCORDION_ID, "msg"); String title = "Sorry, got error "+ status(); html. title(title). link(root_url("static","yarn.css")). _(JQueryUI.class). // an embedded sub-view style("#msg { margin: 1em auto; width: 88%; }", "#msg h1 { padding: 0.2em 1.5em; font: bold 1.3em serif; }"). div("#msg"). h1(title). div(). _("Please consult"). a("http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "RFC 2616")._(" for meanings of the error code.")._(). h1("Error Details"). pre(). _(errorDetails())._()._()._(); }
@Override protected void render(Page.HTML<_> html) { html. // produces valid html 4.01 strict title($("title")). p("#hello-for-css"). _($("title"))._()._(); } }
@Override public void render(Page.HTML<_> html) { html. title("short test"). p()._("should throw"); } }
@Override public void render(Page.HTML<_> html) { html. title("test"). p("#testid")._("test note")._()._(); } }
@Override public void render(Page.HTML<_> html) { html. title($("title")). h1($("title"))._(); } }
@Override public void render(Page.HTML<_> html) { html. title("test"). p("#testid")._("test note")._()._(); } }
@Override public void render(Page.HTML<_> html) { html. title("short test"). _(ShortBlock.class); } }
@Override public HTML<T> title(String cdata) { return title()._(cdata)._(); }
@Override protected void render(Page.HTML<_> html) { html. // produces valid html 4.01 strict title($("title")). p("#hello-for-css"). _($("title"))._()._(); } }
@Override public void render(Page.HTML<_> html) { html. title("short test"). _(ShortBlock.class); } }
@Override public void render(Page.HTML<_> html) { html. title("My App"). p("#content_id_for_css_styling"). _("You can have", $("anything"))._()._(); // Note, there is no _(); (to parent element) method at root level. // and IDE provides instant feedback on what level you're on in // the auto-completion drop-downs. } }
@Override public void render(Page.HTML<_> html) { html. title("short test"). p()._("should throw"); } }
@Override public HTML<T> title(String cdata) { return title()._(cdata)._(); }
@Override public void render(Page.HTML<_> html) { html. title("My App"). p("#content_id_for_css_styling"). _("You can have", $("anything"))._()._(); // Note, there is no _(); (to parent element) method at root level. // and IDE provides instant feedback on what level you're on in // the auto-completion drop-downs. } }
@Override public HTML<T> title(String cdata) { return title()._(cdata)._(); }
@Override public void render(Page.HTML<_> html) { html. title($("title")). h1($("title"))._(); } }