Examples of DebugHtmlString


Examples of org.apache.isis.core.commons.debug.DebugHtmlString

        request.appendHtml(debugString.toString());
    }

    private void displayDispatcher(final Request request) {
        request.appendHtml("<h1>Dispatcher</h1>");
        final DebugHtmlString debugString = new DebugHtmlString();
        dispatcher.debug(debugString);
        request.appendHtml(debugString.toString());
    }
View Full Code Here

Examples of org.apache.isis.core.commons.debug.DebugHtmlString

        request.appendHtml(debugString.toString());
    }

    protected void displayVariables(final Request request) {
        request.appendHtml("<h1>Variables</h1>");
        final DebugHtmlString debug = new DebugHtmlString();
        final RequestContext context = request.getContext();
        context.append(debug, "variables");
        request.appendHtml(debug.toString());
    }
View Full Code Here

Examples of org.apache.isis.core.commons.debug.DebugHtmlString

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

Examples of org.apache.isis.core.commons.debug.DebugHtmlString

    protected void listSpecifications(final Request request) {
        request.appendHtml("<h1>Specifications</h1>");
        final List<ObjectSpecification> fullIdentifierList =
            new ArrayList<ObjectSpecification>(getSpecificationLoader().allSpecifications());
        Collections.sort(fullIdentifierList, ObjectSpecification.COMPARATOR_SHORT_IDENTIFIER_IGNORE_CASE);
        final DebugHtmlString debug = new DebugHtmlString();
        for (final ObjectSpecification spec : fullIdentifierList) {
            final String name = spec.getSingularName();
            debug.appendln(name, specificationLink(spec));
        }
        request.appendHtml(debug.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.