Examples of writeEnd()


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

                                        page.writeStart("th");
                                            page.writeHtml(field.getDisplayName());
                                        page.writeEnd();
                                    }
                                page.writeEnd();
                            page.writeEnd();

                            page.writeStart("tbody");
                                for (Object item : result.getItems()) {
                                    State itemState = State.getInstance(item);
                                    String permalink = itemState.as(Directory.ObjectModification.class).getPermalink();
View Full Code Here

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

                                        page.writeStart("td", "style", "width: 20px;");
                                            page.writeElement("input",
                                                    "type", "checkbox",
                                                    "name", ITEMS_PARAMETER,
                                                    "value", itemState.getId());
                                        page.writeEnd();

                                        page.writeStart("td");
                                            page.writeHtml(page.getTypeLabel(item));
                                        page.writeEnd();
View Full Code Here

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

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

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

                                        page.writeStart("td", "data-preview-anchor", "");
                                            page.writeStart("a",
                                                    "href", page.objectUrl("/content/edit.jsp", item));
                                                page.writeObjectLabel(item);
                                            page.writeEnd();
                                        page.writeEnd();

                                        for (ObjectField field : fields) {
                                            page.writeStart("td");
                                                if ("cms.directory.paths".equals(field.getInternalName())) {
View Full Code Here

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

                                        page.writeStart("td", "data-preview-anchor", "");
                                            page.writeStart("a",
                                                    "href", page.objectUrl("/content/edit.jsp", item));
                                                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()) {
View Full Code Here

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

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

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

                                                            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();) {
                                                        Object value = i.next();
View Full Code Here

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

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

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

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

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

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

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

                        page.writeStart("div", "class", "actions");
                            page.writeStart("button",
                                    "class", "action icon icon-action-download",
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.