1 13 package info.magnolia.module.admininterface.lists; 14 15 import info.magnolia.context.MgnlContext; 16 17 import javax.servlet.http.HttpServletRequest ; 18 import javax.servlet.http.HttpServletResponse ; 19 20 21 25 public class WebsiteVersionsList extends VersionsList { 26 27 33 public WebsiteVersionsList(String name, HttpServletRequest request, HttpServletResponse response) throws Exception { 34 super(name, request, response); 35 } 36 37 42 public String getOnShowFunction() { 43 String url = MgnlContext.getContextPath() + path + ".html?mgnlVersion="; 44 return "function(versionLabel){open('" + url + "'+versionLabel, '');}"; 45 } 46 47 } 48 | Popular Tags |