/** * @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 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(); }
/** * 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(); }