<%@ page import=" org.opencms.util.*, org.opencms.workplace.*, org.opencms.workplace.editors.* "%><% // initialize the workplace class CmsDialogElements wp = new CmsDialogElements(pageContext, request, response); //////////////////// start of switch statement switch (wp.getAction()) { case CmsDialogElements.ACTION_UPDATE_ELEMENTS: //////////////////// ACTION: update the enabled/disabled elements wp.actionUpdateElements(); %> <% break; case CmsDialog.ACTION_DEFAULT: default: //////////////////// ACTION: show initial template dialog (default) wp.setParamAction(CmsDialogElements.DIALOG_UPDATE_ELEMENTS); %><%= wp.htmlStart(null, wp.getParamTitle()) %> <%= wp.bodyStart("dialog") %> <%= wp.dialogStart() %> <%= wp.dialogContentStart(wp.getParamTitle()) %>
<%= wp.paramsAsHidden() %> <%= wp.buildElementList() %> <%= wp.dialogContentEnd() %> <%= wp.dialogButtonsOk(" onclick=\"confirmDelete();\"") %>
<%= wp.dialogEnd() %> <%= wp.bodyEnd() %> <% if (Boolean.valueOf(wp.getParamIsPopup()).booleanValue()) { // this is a popup window %> <% } %> <%= wp.htmlEnd() %> <% } //////////////////// end of switch statement %>