Examples of writeEnd()


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

                    page.writeStart("a",
                            "target", "_blank",
                            "href", page.fullyQualifiedToolUrl(CmsTool.class, "/scheduleEdit", "id", currentSchedule.getId()));
                        page.writeHtml("Current Schedule: ");
                        page.writeObjectLabel(currentSchedule);
                    page.writeEnd();
                }

                page.writeStart("a",
                        "target", "_blank",
                        "href", page.fullyQualifiedToolUrl(CmsTool.class, "/content/edit.jsp", "id", State.getInstance(mainObject).getId()));
View Full Code Here

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

                page.writeStart("a",
                        "target", "_blank",
                        "href", page.fullyQualifiedToolUrl(CmsTool.class, "/content/edit.jsp", "id", State.getInstance(mainObject).getId()));
                    page.writeHtml("Edit ");
                    page.writeTypeObjectLabel(mainObject);
                page.writeEnd();

                if (Boolean.TRUE.equals(request.getAttribute(PERSISTENT_PREVIEW_ATTRIBUTE))) {
                    page.writeStart("a",
                            "target", "_blank",
                            "href", page.url("", "_clearPreview", true));
View Full Code Here

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

                if (Boolean.TRUE.equals(request.getAttribute(PERSISTENT_PREVIEW_ATTRIBUTE))) {
                    page.writeStart("a",
                            "target", "_blank",
                            "href", page.url("", "_clearPreview", true));
                        page.writeHtml("(Previewing - View Live Instead)");
                    page.writeEnd();
                }

                page.writeStart("a",
                        "class", "bsp-inlineEditorMain_remove",
                        "href", "#",
View Full Code Here

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

                                    "contents.parentNode.removeChild(contents);" +
                                "}" +

                                "return false;");
                    page.writeHtml("\u00d7");
                page.writeEnd();
            page.writeEnd();

            if (user.getInlineEditing() != ToolUser.InlineEditing.DISABLED) {
                page.writeStart("iframe",
                        "class", "cms-inlineEditor",
View Full Code Here

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

                                "}" +

                                "return false;");
                    page.writeHtml("\u00d7");
                page.writeEnd();
            page.writeEnd();

            if (user.getInlineEditing() != ToolUser.InlineEditing.DISABLED) {
                page.writeStart("iframe",
                        "class", "cms-inlineEditor",
                        "id", "bsp-inlineEditorContents",
View Full Code Here

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

                                "position", "absolute",
                                "top", 0,
                                "visibility", "hidden",
                                "width", "100%",
                                "z-index", 1000000));
                page.writeEnd();
            }
        }

        if (response instanceof LazyWriterResponse) {
            ((LazyWriterResponse) response).getLazyWriter().writePending();
View Full Code Here

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

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

                        html.writeHtml(" (");

                        if (s != null) {
                            html.writeHtml(s.getLabel());
View Full Code Here

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

                            html.writeHtml(" - ");
                        }

                        html.writeHtml(p.getType());
                        html.writeHtml(")");
                    html.writeEnd();
                }
            html.writeEnd();

            jsonResponse.put("_urlWidgetHtml", string.toString());
        }
View Full Code Here

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

                        html.writeHtml(p.getType());
                        html.writeHtml(")");
                    html.writeEnd();
                }
            html.writeEnd();

            jsonResponse.put("_urlWidgetHtml", string.toString());
        }

        // Evaluate all dynamic texts.
View Full Code Here

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

                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();

                return sw.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.