%@ page import="org.opencms.workplace.commons.*" %><% // initialize the workplace class CmsReplace wp = new CmsReplace(pageContext, request, response); //////////////////// start of switch statement switch (wp.getAction()) { case CmsReplace.ACTION_CANCEL: //////////////////// ACTION: cancel button pressed wp.actionCloseDialog(); break; case CmsReplace.ACTION_OK: //////////////////// ACTION: ok button pressed wp.actionReplace(); break; case CmsReplace.ACTION_DEFAULT: default: //////////////////// ACTION: show the form to specify the replace file wp.setParamAction(wp.DIALOG_OK); %><%= wp.htmlStart("help.explorer.new.file") %> <%= wp.bodyStart("dialog") %> <%= wp.dialogStart() %> <%= wp.dialogContentStart(wp.getParamTitle()) %> <%@ include file="includes/resourceinfo.txt" %> <%= wp.dialogSpacer() %>
<%= wp.dialogEnd() %> <%= wp.bodyEnd() %> <%= wp.htmlEnd() %> <% } //////////////////// end of switch statement %>