download.jsp

来自「找了很久才找到到源代码」· JSP 代码 · 共 53 行

JSP
53
字号
<%@ page import="
	org.opencms.workplace.tools.workplace.rfsfile.*,
	org.opencms.workplace.CmsDialog
"%><%		// initialize the workplace class	CmsRfsFileDownloadDialog wp = new CmsRfsFileDownloadDialog(pageContext, request, response);		//////////////////// start of switch statement switch (wp.getAction()) {    case CmsDialog.ACTION_CANCEL://////////////////// ACTION: cancel button pressed              wp.actionCloseDialog();        break;//////////////////// ACTION: construct this page:    case CmsDialog.ACTION_DEFAULT:    default:	wp.setParamAction(CmsDialog.DIALOG_CANCEL);%><%= wp.htmlStart("administration/index.html") %><%= wp.bodyStart(null) %><%= wp.dialogStart() %><%= wp.dialogContentStart(wp.getParamTitle()) %><form name="main" class="nomargin" action="<%= wp.getDialogUri() %>" method="post" onsubmit="submitAction('<%= CmsDialog.DIALOG_OK %>', null, 'main');"><%= wp.paramsAsHidden() %><% if (wp.getParamFramename()==null) { %><input type="hidden" name="<%= CmsDialog.PARAM_FRAMENAME %>" value=""><%  } %><%= wp.buildDownloadFileView() %><%= wp.dialogContentEnd() %><%= wp.dialogButtonsOkCancel() %><%= wp.buildDownloadScript() %></form><%= wp.dialogEnd() %><%= wp.bodyEnd() %><%= wp.htmlEnd() %><%} //////////////////// end of switch statement %>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?