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

Examples of org.apache.isis.core.commons.debug.DebugBuilder.appendln()


                debug.appendln("boolean", false);
                debug.appendln("number", 12348);
                debug.unindent();
                debug.appendln("number", 12348);
                debug.appendPreformatted("code", "line 1\nline 2\nline 3");
                debug.appendln("A lot of text etc.");
                debug.endSection();

                request.appendHtml(debug.toString());
                //request.appendHtml("<pre>" + debug.toString() + "</pre>");
               
View Full Code Here


        final ObjectSpecification spec = getSpecificationLoader().loadSpecification(name);
        request.appendHtml("<h1>Specification Graph - " + spec.getFullIdentifier() + "</h1>");
        request.appendHtml("<p><a href=\"./debug.shtml?type=specification&value=" + spec.getFullIdentifier() + "\">Full Specification</a></p>");
        request.appendHtml("<pre>");
        final DebugBuilder debug = new DebugString();
        debug.appendln(spec.getFullIdentifier());
        debug.indent();
        specificationGraph(spec, debug, new ArrayList<ObjectSpecification>());
        debug.unindent();
        request.appendHtml(debug.toString());
        request.appendHtml("</pre>");
View Full Code Here

            } else if (type.equals("session")) {
                displaySession(request);
            } 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();
View Full Code Here

                displaySession(request);
            } 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");
View Full Code Here

                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);
                debug.appendln("number", 12348);
View Full Code Here

                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);
                debug.appendln("number", 12348);
                debug.appendTitle("Another title");
View Full Code Here

                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);
                debug.endSection();
View Full Code Here

                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);
                debug.endSection();
View Full Code Here

            }
            roleList.append(role);
        }
        final Identifier identifier =  ((ForbiddenException) ex).getIdentifier();
        if (identifier != null) {
            debug.appendln("Class", identifier.toClassIdentityString() + ":" + roleList);
            debug.appendln("Member",identifier.toClassAndNameIdentityString() + ":" + roleList);
            debug.appendln("Other",identifier.toFullIdentityString() + ":" + roleList);
        }
       
        error.compileError(context);
View Full Code Here

            roleList.append(role);
        }
        final Identifier identifier =  ((ForbiddenException) ex).getIdentifier();
        if (identifier != null) {
            debug.appendln("Class", identifier.toClassIdentityString() + ":" + roleList);
            debug.appendln("Member",identifier.toClassAndNameIdentityString() + ":" + roleList);
            debug.appendln("Other",identifier.toFullIdentityString() + ":" + roleList);
        }
       
        error.compileError(context);
        context.raiseError(403, error);
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.