public String getShortName() { return description.getShortName(); } }
public String getShortName() { return description.getShortName(); } }
@Override protected void executeScript(WebScriptRequest scriptReq, WebScriptResponse scriptRes, Authenticator auth) throws IOException { // Set Portlet title based on Web Script WebScript script = scriptReq.getServiceMatch().getWebScript(); Description desc = script.getDescription(); res.setTitle(desc.getShortName()); // Note: Do not render script if portlet window is minimized if (!WindowState.MINIMIZED.equals(req.getWindowState())) { super.executeScript(scriptReq, scriptRes, auth); } }
@Override protected void executeScript(WebScriptRequest scriptReq, WebScriptResponse scriptRes, Authenticator auth) throws IOException { // Set Portlet title based on Web Script WebScript script = scriptReq.getServiceMatch().getWebScript(); Description desc = script.getDescription(); res.setTitle(desc.getShortName()); // Note: Do not render script if portlet window is minimized if (!WindowState.MINIMIZED.equals(req.getWindowState())) { super.executeScript(scriptReq, scriptRes, auth); } }
@Override protected void executeScript(WebScriptRequest scriptReq, WebScriptResponse scriptRes, Authenticator auth) throws IOException { // Set Portlet title based on Web Script WebScript script = scriptReq.getServiceMatch().getWebScript(); Description desc = script.getDescription(); res.setTitle(desc.getShortName()); // Note: Do not render script if portlet window is minimized if (!WindowState.MINIMIZED.equals(req.getWindowState())) { super.executeScript(scriptReq, scriptRes, auth); } }