Examples of writeHtml()


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

                                    page.writeStart("th");
                                        page.writeHtml("Type");
                                    page.writeEnd();

                                    page.writeStart("th");
                                        page.writeHtml("Label");
                                    page.writeEnd();

                                    for (ObjectField field : fields) {
                                        page.writeStart("th");
                                            page.writeHtml(field.getDisplayName());
View Full Code Here

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

                                        page.writeHtml("Label");
                                    page.writeEnd();

                                    for (ObjectField field : fields) {
                                        page.writeStart("th");
                                            page.writeHtml(field.getDisplayName());
                                        page.writeEnd();
                                    }
                                page.writeEnd();
                            page.writeEnd();
View Full Code Here

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

                                                    "name", ITEMS_PARAMETER,
                                                    "value", itemState.getId());
                                        page.writeEnd();

                                        page.writeStart("td");
                                            page.writeHtml(page.getTypeLabel(item));
                                        page.writeEnd();

                                        page.writeStart("td", "data-preview-anchor", "");
                                            page.writeStart("a",
                                                    "href", page.objectUrl("/content/edit.jsp", item));
View Full Code Here

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

                                                    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());
                                                            page.writeHtml(")");
View Full Code Here

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

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

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

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

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

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

                                                } else {
View Full Code Here

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

                                                                page.writeHtml(path);
                                                            page.writeEnd();

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

                                                } else {
                                                    for (Iterator<Object> i = CollectionUtils.recursiveIterable(itemState.get(field.getInternalName())).iterator(); i.hasNext();) {
View Full Code Here

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

                                                } else {
                                                    for (Iterator<Object> i = CollectionUtils.recursiveIterable(itemState.get(field.getInternalName())).iterator(); i.hasNext();) {
                                                        Object value = i.next();
                                                        page.writeObject(value);
                                                        if (i.hasNext()) {
                                                            page.writeHtml(", ");
                                                        }
                                                    }
                                                }
                                            page.writeEnd();
                                        }
View Full Code Here

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

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

                            if (type != null) {
                                page.writeStart("button",
                                        "class", "action icon icon-action-edit",
View Full Code Here

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

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

                            page.writeStart("a",
                                    "class", "action button icon icon-object-workStream",
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.