Package org.apache.isis.core.commons.debug

Examples of org.apache.isis.core.commons.debug.DebugHtmlString.startSection()


            } else if (type.equals("test")) {
                final DebugBuilder debug = new DebugHtmlString();
                debug.appendTitle("Title");
                debug.appendln("boolean", true);
                debug.appendln("number", 213);
                debug.startSection("Section 1");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();
                debug.startSection("Section 2");
                debug.appendln("boolean", false);
View Full Code Here


                debug.appendln("number", 213);
                debug.startSection("Section 1");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();
                debug.startSection("Section 2");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.appendTitle("Another title");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
View Full Code Here

                debug.appendTitle("Another title");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();

                debug.startSection("Section 3");
                debug.appendln("boolean", false);
                debug.appendln("number", 89878);
                debug.endSection();
                debug.startSection("Subsection 2");
                debug.appendln("boolean", false);
View Full Code Here

                debug.startSection("Section 3");
                debug.appendln("boolean", false);
                debug.appendln("number", 89878);
                debug.endSection();
                debug.startSection("Subsection 2");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();

                debug.startSection("Section 4");
View Full Code Here

                debug.startSection("Subsection 2");
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.endSection();

                debug.startSection("Section 4");
                debug.appendln("boolean", false);
                debug.indent();
                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.unindent();
View Full Code Here

    protected void displaySystem(final Request request) {
        request.appendHtml("<h1>System</h1>");
        final DebuggableWithTitle[] debugItems = IsisContext.debugSystem();
        for (final DebuggableWithTitle debug : debugItems) {
            final DebugHtmlString debugBuffer = new DebugHtmlString();
            debugBuffer.startSection(debug.debugTitle());
            debug.debugData(debugBuffer);
            debugBuffer.endSection();
            debugBuffer.close();
            request.appendHtml(debugBuffer.toString());
        }
View Full Code Here

    protected void displaySession(final Request request) {
        request.appendHtml("<h1>Session</h1>");
        final DebuggableWithTitle[] debugItems = IsisContext.debugSession();
        for (final DebuggableWithTitle debug : debugItems) {
            final DebugHtmlString debugBuffer = new DebugHtmlString();
            debugBuffer.startSection(debug.debugTitle());
            debug.debugData(debugBuffer);
            debugBuffer.endSection();
            debugBuffer.close();
            request.appendHtml(debugBuffer.toString());
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.