%@ page import=" org.opencms.file.CmsPropertyDefinition, org.opencms.main.OpenCms, org.opencms.workplace.CmsDialog, org.opencms.workplace.commons.CmsSecure, org.opencms.workplace.commons.Messages " %><% // initialize the workplace class CmsSecure wp = new CmsSecure(pageContext, request, response); boolean displayForm = true; // perform the users submitted action switch(wp.getAction()) { case CmsSecure.ACTION_CHSECEXP: //////////////////// ACTION: main change secure and export action wp.actionChangeSecureExport(); break; case CmsDialog.ACTION_CANCEL: //////////////////// ACTION: cancel button pressed wp.actionCloseDialog(); break; case CmsDialog.ACTION_LOCKS_CONFIRMED: //////////////////// ACTION: show security and export settings dialog (default) wp.setParamAction("secure"); %> <%= wp.htmlStart("help.explorer.contextmenu.secure") %> <%= wp.bodyStart("dialog") %> <%= wp.dialogStart() %>
<%= wp.dialogEnd() %> <%= wp.bodyEnd() %> <%= wp.htmlEnd() %> <% break; case CmsDialog.ACTION_DEFAULT: default: %> <%= wp.buildLockDialog() %> <% } //////////////////// end of switch statement %>