diff --git a/source/java/org/alfresco/web/ui/wcm/component/UISandboxSnapshots.java b/source/java/org/alfresco/web/ui/wcm/component/UISandboxSnapshots.java index 3bfc452ebd..f244dcc33e 100644 --- a/source/java/org/alfresco/web/ui/wcm/component/UISandboxSnapshots.java +++ b/source/java/org/alfresco/web/ui/wcm/component/UISandboxSnapshots.java @@ -50,6 +50,11 @@ import org.springframework.web.jsf.FacesContextUtils; */ public class UISandboxSnapshots extends SelfRenderingComponent { + private static final String ACT_SNAPSHOT_PREVIEW = "snapshot_preview"; + private static final String ACT_SNAPSHOT_REVERT = "snapshot_revert"; + + private static final String REQUEST_SNAPVERSION = "_snapVer"; + private static Log logger = LogFactory.getLog(UISandboxSnapshots.class); // snapshot date filters @@ -192,6 +197,7 @@ public class UISandboxSnapshots extends SelfRenderingComponent } versions = avmService.getAVMStoreVersions(sandbox, fromDate, toDate); } + Map requestMap = context.getExternalContext().getRequestMap(); for (VersionDescriptor item : versions) { // only display snapshots with a valid tag - others are system generated snapshots @@ -209,15 +215,23 @@ public class UISandboxSnapshots extends SelfRenderingComponent out.write(Integer.toString(item.getVersionID())); out.write("