18 package org.turro.elephant.context;
21 import java.io.IOException;
22 import java.io.PrintWriter;
24 import javax.servlet.ServletException;
25 import javax.servlet.ServletRequest;
26 import javax.servlet.ServletResponse;
27 import javax.servlet.http.HttpServletRequest;
28 import javax.servlet.http.HttpServletResponse;
29 import org.turro.action.Parameters;
30 import org.turro.elephant.impl.util.Localizer;
31 import org.turro.elephant.web.ElContext;
32 import org.turro.elephant.web.context.WebContext;
33 import org.turro.plugin.contacts.IContact;
213 public
void renderContext(String path, String stopper) throws ServletException, IOException;
221 public
void redirect(String path) throws IOException;
229 public PrintWriter
getOut() throws IOException;
230 public
void setOut(PrintWriter out) throws IOException;
236 public
void processOutput(String text) throws ServletException, IOException;
237 public
void processOutput(PrintWriter out, String text) throws ServletException, IOException;
329 if(constructor !=
null) {
330 ElContext ctx = constructor.getRenderingContext();
static String getRootWebPath()
String getRepositoryPath()
static String relativeRepository()
void setLastReferringContext(String context)
boolean isWebAdministering()
void setApplicationAttribute(String key, Object value)
Object findAttribute(String key)
void setWebAdministering(boolean value)
void setRequest(ServletRequest request)
void setMaxInactiveInterval(int i)
String[] getParameterValues(String param)
HttpServletResponse getResponse()
String getValidUrl(String name)
void processOutput(String text)
void redirect(String path)
ElContext getCurrentContext()
String getValidFileName(String name)
String getContextParameter()
String decodeURL(String url)
void setStopper(String stopper)
Map< String, Object > getSessionAttributeMap(String prefix)
void setPageRendering(boolean value)
Object getRequestAttribute(String key)
void changeCssHeaders(String from, String to)
void addOnLoadedJavaScript(String script)
void addJavaScript(String jsFile)
void setRequestAttribute(String key, Object value)
String encodeURL(String url)
void addMeta(String meta)
Object getApplicationAttribute(String key)
void setOut(PrintWriter out)
HttpServletRequest getRequest()
boolean isFileInternal(File file)
String getParameter(String param)
void setNullOutput(boolean value)
void removeApplicationAttribute(String key)
void setRenderingContext(ElContext context)
void removeRequestAttribute(String key)
void setSessionAttribute(String key, Object value)
boolean fileExists(String filePath)
void addHeader(String header)
boolean hasAnyRoleKey(String role)
Parameters getParameters()
void forceIsAContext(ElContext context)
void includeContent(String path)
String getLastReferringContext()
String getActionParameter()
String getIdelParameter()
void removeSessionAttribute(String key)
static String globalRepository()
Object getSessionAttribute(String key)
void renderContext(String path, String stopper)
ElContext getRenderingContext()
static String currentRepository(IConstructor constructor)
void addCSS(String cssFile)
boolean canWebAdminister()
void setResponse(ServletResponse response)
boolean isInRole(String role)