19 package org.turro.elephant.web;
21 import java.io.IOException;
22 import javax.servlet.ServletException;
23 import org.turro.elephant.context.ElephantContext;
24 import org.turro.elephant.context.IConstructor;
25 import org.turro.elephant.context.IElement;
26 import org.turro.elephant.impl.context.vc.FileVersionWrapper;
27 import org.turro.elephant.impl.navigation.Navigator;
28 import org.turro.elephant.impl.navigation.WebMap;
29 import org.turro.elephant.web.context.WebContext;
30 import org.turro.elephant.web.tags.SessionTags;
31 import org.turro.marker.ElephantMarker;
43 this.constructor = constructor;
44 this.context = context;
47 public void start() throws ServletException, IOException {
50 if(iel ==
null)
return;
63 constructor.
isInRole(
"control-version:admin") ||
70 em.
put(
"printPath", printPath);
74 em.
put(
"nav", navigator);
77 em.
put(
"webmap",
new WebMap(constructor));
static String getContextLoad()
static String getRootWebPath()
void setDynamicLoad(boolean dynamicLoad)
ContextConstructor(IConstructor constructor, ElContext context)
WebContext getWebContext()
void setTitle(String title)
boolean isControlVersion()
IElement getElementInstance()
boolean isTraversalNavigation()
void initiate(IConstructor constructor)
void process(String rootTmpl, String tmpl)
Object put(Object key, Object value)
boolean isWebAdministering()
void addMeta(String meta)
boolean isInRole(String role)
void setConfiguration(IConstructor constructor, ElContext context)
Collection< String > getMetas()