/** * Returns html code for printing the list.<p> * * @return html code */ public String printableHtml() { m_printable = true; String html = listHtml(); m_printable = false; return html; }
/** * Returns html code for printing the list.<p> * * @return html code */ public String printableHtml() { m_printable = true; String html = listHtml(); m_printable = false; return html; }
/** * Builds the html code for the report with the list of deleted resources.<p> * * @return html code for the report with the list of deleted resources * * @throws JspException if dialog actions fail * @throws IOException in case of errros forwarding to the required result page * @throws ServletException in case of errros forwarding to the required result page */ public String buildReport() throws JspException, ServletException, IOException { CmsDeletedResourcesList list = new CmsDeletedResourcesList(getJsp(), getParamResource(), Boolean.valueOf( getParamReadtree()).booleanValue()); list.actionDialog(); list.getList().setBoxed(false); StringBuffer result = new StringBuffer(512); result.append("<div style='height:200px; overflow: auto;'>\n"); result.append(list.getList().listHtml()); result.append("</div>\n"); return result.toString(); }
/** * Returns html code for the possible broken relations.<p> * * @return html code for the possible broken relations * * @throws JspException if dialog actions fail * @throws IOException in case of errros forwarding to the required result page * @throws ServletException in case of errros forwarding to the required result page */ public String buildReport() throws JspException, ServletException, IOException { CmsDeleteBrokenRelationsList list = new CmsDeleteBrokenRelationsList( getJsp(), getResourceList(), Boolean.valueOf(getParamDeleteSiblings()).booleanValue()); list.actionDialog(); StringBuffer result = new StringBuffer(512); list.getList().setBoxed(false); result.append("<input type='hidden' name='result' value='"); result.append(list.getList().getTotalSize()).append("'>\n"); result.append(CmsListExplorerColumn.getExplorerStyleDef()); result.append("<div style='height:150px; overflow: auto;'>\n"); result.append(list.getList().listHtml()); result.append("</div>\n"); return result.toString(); }
/** * Builds the html code for the report with the list of deleted resources.<p> * * @return html code for the report with the list of deleted resources * * @throws JspException if dialog actions fail * @throws IOException in case of errros forwarding to the required result page * @throws ServletException in case of errros forwarding to the required result page */ public String buildReport() throws JspException, ServletException, IOException { CmsDeletedResourcesList list = new CmsDeletedResourcesList( getJsp(), getParamResource(), Boolean.valueOf(getParamReadtree()).booleanValue()); list.actionDialog(); list.getList().setBoxed(false); StringBuffer result = new StringBuffer(512); result.append("<div style='height:200px; overflow: auto;'>\n"); result.append(list.getList().listHtml()); result.append("</div>\n"); return result.toString(); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#defaultActionHtmlContent() */ @Override protected String defaultActionHtmlContent() { StringBuffer result = new StringBuffer(2048); result.append("<!-- start before list -->\n"); result.append(customHtmlBeforeList()); result.append("<!-- end before list -->\n"); result.append(dialogBlockStart(key(getList().getName().getKey()))); result.append(dialogWhiteBoxStart()); // start scrollbox // result.append("<div style=\"overflow: auto; height: 150px; \">"); getList().setWp(this); result.append(getList().listHtml()); // end scrollbox // result.append("</div>"); result.append(dialogWhiteBoxEnd()); result.append(dialogBlockEnd()); return result.toString(); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#defaultActionHtmlContent() */ @Override protected String defaultActionHtmlContent() { StringBuffer result = new StringBuffer(2048); result.append("<!-- start before list -->\n"); result.append(customHtmlBeforeList()); result.append("<!-- end before list -->\n"); result.append(dialogBlockStart(key(getList().getName().getKey()))); result.append(dialogWhiteBoxStart()); // start scrollbox // result.append("<div style=\"overflow: auto; height: 150px; \">"); getList().setWp(this); result.append(getList().listHtml()); // end scrollbox // result.append("</div>"); result.append(dialogWhiteBoxEnd()); result.append(dialogBlockEnd()); return result.toString(); }
/** * Returns html code for the possible broken relations.<p> * * @return html code for the possible broken relations * * @throws JspException if dialog actions fail * @throws IOException in case of errros forwarding to the required result page * @throws ServletException in case of errros forwarding to the required result page */ public String buildReport() throws JspException, ServletException, IOException { CmsDeleteBrokenRelationsList list = new CmsDeleteBrokenRelationsList( getJsp(), getResourceList(), Boolean.valueOf(getParamDeleteSiblings()).booleanValue()); list.actionDialog(); StringBuffer result = new StringBuffer(512); list.getList().setBoxed(false); result.append("<input type='hidden' name='result' value='"); result.append(list.getList().getTotalSize()).append("'>\n"); result.append(CmsListExplorerColumn.getExplorerStyleDef()); result.append("<div style='height:150px; overflow: auto;'>\n"); result.append(list.getList().listHtml()); result.append("</div>\n"); return result.toString(); }
/** * Returns the html code for the default action content.<p> * * @return html code */ protected String defaultActionHtmlContent() { StringBuffer result = new StringBuffer(2048); result.append("<form name='"); result.append(getList().getId()); result.append("-form' action='"); result.append(getDialogRealUri()); result.append("' method='post' class='nomargin'"); if (getList().getMetadata().isSearchable()) { result.append(" onsubmit=\"listSearchAction('"); result.append(getList().getId()); result.append("', '"); result.append(getList().getMetadata().getSearchAction().getId()); result.append("', '"); result.append(getList().getMetadata().getSearchAction().getConfirmationMessage().key(getLocale())); result.append("');\""); } result.append(">\n"); result.append(allParamsAsHidden()); result.append("\n"); getList().setWp(this); result.append(getList().listHtml()); result.append("\n</form>\n"); return result.toString(); }
result.append(CmsListExplorerColumn.getExplorerStyleDef()); result.append("<div style='height:200px; overflow: auto;'>\n"); result.append(list.listHtml()); result.append("</div>\n");
result.append(CmsListExplorerColumn.getExplorerStyleDef()); result.append("<div style='height:200px; overflow: auto;'>\n"); result.append(list.listHtml()); result.append("</div>\n");
/** * Returns the html code for the default action content.<p> * * @return html code */ protected String defaultActionHtmlContent() { StringBuffer result = new StringBuffer(2048); result.append("<form name='"); result.append(getList().getId()); result.append("-form' action='"); result.append(getDialogRealUri()); result.append("' method='post' class='nomargin'"); if (getList().getMetadata().isSearchable()) { result.append(" onsubmit=\"listSearchAction('"); result.append(getList().getId()); result.append("', '"); result.append(getList().getMetadata().getSearchAction().getId()); result.append("', '"); result.append(getList().getMetadata().getSearchAction().getConfirmationMessage().key(getLocale())); result.append("');\""); } result.append(">\n"); result.append(allParamsAsHidden()); result.append("\n"); getList().setWp(this); result.append(getList().listHtml()); result.append("\n</form>\n"); return result.toString(); }
result.append(CmsListExplorerColumn.getExplorerStyleDef()); result.append("<div style='height:150px; overflow: auto;'>\n"); result.append(list.getList().listHtml()); result.append("</div>\n"); return result.toString();
result.append(CmsListExplorerColumn.getExplorerStyleDef()); result.append("<div style='height:150px; overflow: auto;'>\n"); result.append(list.getList().listHtml()); result.append("</div>\n"); return result.toString();