Examples of writeStart()


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

                                                page.writeObjectLabel(item);
                                            page.writeEnd();
                                        page.writeEnd();

                                        for (ObjectField field : fields) {
                                            page.writeStart("td");
                                                if ("cms.directory.paths".equals(field.getInternalName())) {
                                                    for (Directory.Path p : itemState.as(Directory.ObjectModification.class).getPaths()) {
                                                        String path = p.getPath();

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

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

                                            page.writeStart("td");
                                                if ("cms.directory.paths".equals(field.getInternalName())) {
                                                    for (Directory.Path p : itemState.as(Directory.ObjectModification.class).getPaths()) {
                                                        String path = p.getPath();

                                                        page.writeStart("div");
                                                            page.writeStart("a", "href", path, "target", "_blank");
                                                                page.writeHtml(path);
                                                            page.writeEnd();

                                                            page.writeHtml(" (");
View Full Code Here

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

                                                if ("cms.directory.paths".equals(field.getInternalName())) {
                                                    for (Directory.Path p : itemState.as(Directory.ObjectModification.class).getPaths()) {
                                                        String path = p.getPath();

                                                        page.writeStart("div");
                                                            page.writeStart("a", "href", path, "target", "_blank");
                                                                page.writeHtml(path);
                                                            page.writeEnd();

                                                            page.writeHtml(" (");
                                                            page.writeHtml(p.getType());
View Full Code Here

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

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

                        page.writeStart("div", "class", "actions");
                            page.writeStart("button",
                                    "class", "action icon icon-action-download",
                                    "name", "action-download",
                                    "value", true);
                                page.writeHtml("Export All");
View Full Code Here

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

            ToolPageContext page = new ToolPageContext(getServletContext(), request, response);
            State mainState = State.getInstance(mainObject);

            page.setDelegate(writer instanceof HtmlWriter ? (HtmlWriter) writer : new HtmlWriter(writer));

            page.writeStart("style", "type", "text/css");
                page.writeCss(".bsp-inlineEditorMain",
                        "background", "rgba(32, 52, 63, 0.8) !important",
                        "color", "white !important",
                        "font-family", "'Helvetica Neue', sans-serif !important",
                        "font-size", "13px !important",
View Full Code Here

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

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

                        page.writeStart("div", "class", "actions");
                            page.writeStart("button",
                                    "class", "action icon icon-action-download",
                                    "name", "action-download",
                                    "value", true);
                                page.writeHtml("Export All");
                            page.writeEnd();
View Full Code Here

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

                                    "value", true);
                                page.writeHtml("Export All");
                            page.writeEnd();

                            if (type != null) {
                                page.writeStart("button",
                                        "class", "action icon icon-action-edit",
                                        "formaction", page.cmsUrl("/contentEditBulk"));
                                    page.writeHtml("Bulk Edit All");
                                page.writeEnd();
                            }
View Full Code Here

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

                                        "formaction", page.cmsUrl("/contentEditBulk"));
                                    page.writeHtml("Bulk Edit All");
                                page.writeEnd();
                            }

                            page.writeStart("a",
                                    "class", "action button icon icon-object-workStream",
                                    "target", "workStreamCreate",
                                    "href", page.cmsUrl("/content/newWorkStream.jsp",
                                            "query", ObjectUtils.toJson(query.getState().getSimpleValues())));
                                page.writeHtml("New Work Stream");
View Full Code Here

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

                                    "href", page.cmsUrl("/content/newWorkStream.jsp",
                                            "query", ObjectUtils.toJson(query.getState().getSimpleValues())));
                                page.writeHtml("New Work Stream");
                            page.writeEnd();

                            page.writeStart("button",
                                    "class", "action action-pullRight link icon icon-action-trash",
                                    "name", "action-trash",
                                    "value", "true");
                                page.writeHtml("Bulk Archive All");
                            page.writeEnd();
View Full Code Here

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

                page.writeCss(".bsp-inlineEditorMain .bsp-inlineEditorMain_remove",
                        "color", "#ff0e40 !important",
                        "font-size", "21px");
            page.writeEnd();

            page.writeStart("div", "class", "bsp-inlineEditorMain");
                page.writeStart("a",
                        "class", "bsp-inlineEditorMain_logo",
                        "target", "_blank",
                        "href", page.fullyQualifiedToolUrl(CmsTool.class, "/"));
                    page.writeElement("img",
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.