synchronize.jsp
来自「找了很久才找到到源代码」· JSP 代码 · 共 62 行
JSP
62 行
<%@ page import="
org.opencms.workplace.*,
org.opencms.workplace.commons.*
"%><%
// initialize the workplace class
CmsSynchronizeReport wp = new CmsSynchronizeReport(pageContext, request, response);
//////////////////// start of switch statement
switch (wp.getAction()) {
case CmsDialog.ACTION_CANCEL:
//////////////////// ACTION: cancel button pressed
wp.actionCloseDialog();
break;
//////////////////// ACTION: other actions handled outside of this JSP
case CmsDialog.ACTION_CONFIRMED:
case CmsDialog.ACTION_REPORT_BEGIN:
case CmsDialog.ACTION_REPORT_UPDATE:
wp.actionReport();
break;
//////////////////// ACTION: show start dialog
case CmsDialog.ACTION_DEFAULT:
case CmsDialog.ACTION_REPORT_END:
default:
wp.setParamAction(CmsDialog.DIALOG_CONFIRMED);
%><%= wp.htmlStart() %>
<%= wp.bodyStart("dialog", "") %>
<%= wp.dialogStart() %>
<%= wp.dialogContentStart(wp.getParamTitle()) %>
<form name="main" action="<%= wp.getDialogUri() %>" method="post" class="nomargin" onsubmit="return submitAction('<%= CmsDialog.DIALOG_OK %>', null, 'main');">
<%= wp.paramsAsHidden() %>
<input type="hidden" name="<%= CmsDialog.PARAM_FRAMENAME %>" value="">
<%= wp.key(org.opencms.workplace.commons.Messages.GUI_SYNCHRONIZATION_INFO_0) %>
<%= wp.dialogContentEnd() %>
<%= wp.dialogButtonsOkCancel() %>
</form>
<%= wp.dialogEnd() %>
<%= wp.bodyEnd() %>
<%= wp.htmlEnd() %>
<%
}
//////////////////// end of switch statement
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?