Examples of writeStart()


Examples of com.psddev.cms.tool.ToolPageContext.writeStart()

                            page.writeEnd();
                        page.writeEnd();
                    page.writeEnd();

                    page.writeStart("div", "class", "inputContainer");
                        page.writeStart("div", "class", "inputLabel");
                            page.writeStart("label", "for", page.createId());
                                page.writeHtml("Fields");
                            page.writeEnd();
                        page.writeEnd();
View Full Code Here

Examples of com.psddev.cms.tool.ToolPageContext.writeStart()

                        page.writeEnd();
                    page.writeEnd();

                    page.writeStart("div", "class", "inputContainer");
                        page.writeStart("div", "class", "inputLabel");
                            page.writeStart("label", "for", page.createId());
                                page.writeHtml("Fields");
                            page.writeEnd();
                        page.writeEnd();

                        page.writeStart("div", "class", "inputSmall");
View Full Code Here

Examples of com.psddev.cms.tool.ToolPageContext.writeStart()

                            page.writeStart("label", "for", page.createId());
                                page.writeHtml("Fields");
                            page.writeEnd();
                        page.writeEnd();

                        page.writeStart("div", "class", "inputSmall");
                            page.writeStart("select",
                                    "name", FIELDS_PARAMETER,
                                    "multiple", "multiple");
                                for (ObjectField field : allFields) {
                                    if (field.as(ToolUi.class).isHidden()) {
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

        if (!ObjectUtils.isBlank(newPaths)) {
            StringWriter string = new StringWriter();
            @SuppressWarnings("resource")
            HtmlWriter html = new HtmlWriter(string);

            html.writeStart("ul");
                for (Directory.Path p : newPaths) {
                    Site s = p.getSite();

                    html.writeStart("li");
                        html.writeStart("a",
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

            html.writeStart("ul");
                for (Directory.Path p : newPaths) {
                    Site s = p.getSite();

                    html.writeStart("li");
                        html.writeStart("a",
                                "target", "_blank",
                                "href", p.getPath());
                            html.writeHtml(p.getPath());
                        html.writeEnd();
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

            html.writeStart("ul");
                for (Directory.Path p : newPaths) {
                    Site s = p.getSite();

                    html.writeStart("li");
                        html.writeStart("a",
                                "target", "_blank",
                                "href", p.getPath());
                            html.writeHtml(p.getPath());
                        html.writeEnd();
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

            } else {
                StringWriter sw = new StringWriter();
                HtmlWriter writer = new HtmlWriter(sw);

                writer.writeStart("div", "class", "widget widget-" + getInternalName());
                    writer.writeStart("h1");
                        writer.writeHtml(page.getObjectLabel(this));
                    writer.writeEnd();
                    writer.write(displayHtml);
                writer.writeEnd();
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

            } else {
                StringWriter sw = new StringWriter();
                HtmlWriter writer = new HtmlWriter(sw);

                writer.writeStart("div", "class", "widget widget-" + getInternalName());
                    writer.writeStart("h1");
                        writer.writeHtml(page.getObjectLabel(this));
                    writer.writeEnd();
                    writer.write(displayHtml);
                writer.writeEnd();
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

                                if (!attributes.isEmpty()) {
                                    StringWriter stringWriter = new StringWriter();
                                    @SuppressWarnings("resource")
                                    HtmlWriter htmlWriter = new HtmlWriter(stringWriter);

                                    htmlWriter.writeStart("div", attributes);
                                        htmlWriter.write(body);
                                    htmlWriter.writeEnd();

                                    body = stringWriter.toString();
                                }
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.writeStart()

    public String createDisplayHtml(ToolPageContext page, Object object) throws Exception {
        StringWriter sw = new StringWriter();
        HtmlWriter writer = new HtmlWriter(sw);
        State state = State.getInstance(object);

        writer.writeStart("div", "class", "frame");
            writer.writeStart("a",
                    "href", page.toolUrl(getTool(), path,
                            "id", state != null ? state.getId() : null,
                            "historyId", page.param(UUID.class, "historyId")));
            writer.writeEnd();
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.