Examples of writeHtml()


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

                            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");
                            page.writeEnd();

                            page.writeStart("button",
                                    "class", "action action-pullRight link icon icon-action-trash",
                                    "name", "action-trash",
View Full Code Here

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

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

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

                if (currentSchedule != null) {
                    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",
View Full Code Here

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

                }

                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",
View Full Code Here

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

                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",
View Full Code Here

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

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

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

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

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

                    if ("cms.directory.paths".equals(field.getInternalName())) {
                        for (Iterator<Directory.Path> i = itemState.as(Directory.ObjectModification.class).getPaths().iterator(); i.hasNext();) {
                            Directory.Path p = i.next();
                            String path = p.getPath();

                            page.writeHtml(path);
                            page.writeHtml(" (");
                            page.writeHtml(p.getType());
                            page.writeHtml(")");

                            if (i.hasNext()) {
View Full Code Here

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

                        for (Iterator<Directory.Path> i = itemState.as(Directory.ObjectModification.class).getPaths().iterator(); i.hasNext();) {
                            Directory.Path p = i.next();
                            String path = p.getPath();

                            page.writeHtml(path);
                            page.writeHtml(" (");
                            page.writeHtml(p.getType());
                            page.writeHtml(")");

                            if (i.hasNext()) {
                                page.write(", ");
View Full Code Here

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

                            Directory.Path p = i.next();
                            String path = p.getPath();

                            page.writeHtml(path);
                            page.writeHtml(" (");
                            page.writeHtml(p.getType());
                            page.writeHtml(")");

                            if (i.hasNext()) {
                                page.write(", ");
                            }
View Full Code Here

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

                            String path = p.getPath();

                            page.writeHtml(path);
                            page.writeHtml(" (");
                            page.writeHtml(p.getType());
                            page.writeHtml(")");

                            if (i.hasNext()) {
                                page.write(", ");
                            }
                        }
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.