%@ page import="org.opencms.workplace.tools.content.*" %><% // initialize the workplace class CmsPropertyChange wp = new CmsPropertyChange(pageContext, request, response); //////////////////// start of switch statement switch (wp.getAction()) { case CmsPropertyChange.ACTION_CANCEL: //////////////////// ACTION: cancel button pressed wp.actionCloseDialog(); break; case CmsPropertyChange.ACTION_OK: case CmsPropertyChange.ACTION_WAIT: //////////////////// ACTION: main change property value action (with optional wait and final result screen) wp.actionChange(); if (wp.getAction() == CmsPropertyChange.ACTION_SHOWRESULT) { //////////////////// ACTION: show change result wp.setParamAction(CmsPropertyChange.DIALOG_CANCEL); %><%= wp.htmlStart(null) %> <%= wp.bodyStart("dialog", null) %> <%= wp.dialogStart() %> <%= wp.dialogContentStart(wp.getParamTitle()) %> <%= wp.key("input.propertychange.result") %> "<%= wp.getParamNewValue() %>": <%= wp.dialogSpacer() %> <%= wp.dialogWhiteBoxStart() %>
![]() |
<%= wp.getErrorMessage() %> |