|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.util.WebEnv
public class WebEnv
Web Environment and debugging
| Field Summary | |
|---|---|
static String |
CHARSET
Character Set (iso-8859-1 - utf-8) |
static String |
COOKIE_INFO
Cookie Name |
static boolean |
DEBUG
Add HTML Debug Info |
static String |
DIR_BASE
Base Directory links http://localhost:8080/compiere to the physical %COMPIERE_HOME%/tomcat/webroot/compiere directory |
static String |
ENCODING
Encoding (ISO-8859-1 - UTF-8) |
static String |
NBSP
Not Braking Space |
static String |
TARGET_CMD
Frame name for Commands - WCmd |
static String |
TARGET_MENU
Frame name for Menu - WMenu |
static String |
TARGET_POPUP
Frame name for Apps PopUp - WPopUp |
static String |
TARGET_WINDOW
Frame name for Apps Window - WWindow |
static int |
TIMEOUT
Timeout - 15 Minutes |
| Constructor Summary | |
|---|---|
WebEnv()
|
|
| Method Summary | |
|---|---|
static void |
addFooter(HttpServletRequest request,
HttpServletResponse response,
HttpServlet servlet,
org.apache.ecs.xhtml.body body)
Add Footer (with diagnostics) |
static void |
dump(HttpServletRequest request)
Dump Request |
static void |
dump(HttpSession session)
Dump Session |
static void |
dump(ServletConfig config)
Dump Servlet Config |
static void |
dump(ServletContext ctx)
Dump Session |
static String |
getBaseDirectory(String entry)
Get Base Directory entry. |
static String |
getCellContent(int content)
Get Cell Content |
static String |
getCellContent(Object content)
Get Cell Content |
static String |
getImageDirectory(String entry)
Get Image Directory entry. |
static org.apache.ecs.xhtml.img |
getLogo()
Get Logo Image HTML tag. |
static String |
getLogoURL()
Get Logo Path. |
static String |
getStoreDirectory(String entry)
Get Store Directory entry. |
static String |
getStylesheetURL()
Get Stylesheet Path. |
static boolean |
initWeb(ServletConfig config)
Init Web Environment. |
static boolean |
initWeb(ServletContext context,
String info)
Init Web. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEBUG
public static final String DIR_BASE
public static final String TARGET_CMD
public static final String TARGET_MENU
public static final String TARGET_WINDOW
public static final String TARGET_POPUP
public static final String CHARSET
public static final String ENCODING
public static final String COOKIE_INFO
public static final int TIMEOUT
public static final String NBSP
| Constructor Detail |
|---|
public WebEnv()
| Method Detail |
|---|
public static boolean initWeb(ServletConfig config)
config - config
public static boolean initWeb(ServletContext context,
String info)
context - servlet context
public static String getBaseDirectory(String entry)
entry - file entry or path
public static String getImageDirectory(String entry)
entry - file entry or path
public static String getStoreDirectory(String entry)
entry - file entry or path
public static String getLogoURL()
/compiere/LogoSmall.gif
public static org.apache.ecs.xhtml.img getLogo()
public static String getStylesheetURL()
/compiere/standard.css
public static String getCellContent(Object content)
content - optional content
public static String getCellContent(int content)
content - optional content
public static void dump(ServletConfig config)
config - configpublic static void dump(ServletContext ctx)
ctx - servlet contextpublic static void dump(HttpSession session)
session - sessionpublic static void dump(HttpServletRequest request)
request - request
public static void addFooter(HttpServletRequest request,
HttpServletResponse response,
HttpServlet servlet,
org.apache.ecs.xhtml.body body)
request - requestresponse - responseservlet - servletbody - - Body to add footer
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||