Adempiere 3.5.2a

org.compiere.www
Class WWindow

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.compiere.www.WWindow
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class WWindow
extends HttpServlet

Web Window Servlet

Version:
$Id: WWindow.java,v 1.3 2006/07/30 00:53:21 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
protected static String FORM_NAME
          Form Name
protected static CLogger log
          Logger
protected static String sectionNameOld
           
 
Constructor Summary
WWindow()
           
 
Method Summary
 void destroy()
          Clean up resources
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Get request - Initial Call.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request
 WebDoc getMR_Form(String action, WebSessionCtx wsc, WWindowStatus ws)
          Return MultiRow Form details
 String getServletInfo()
          Get Servlet information
 WebDoc getSR_Form(String action, WebSessionCtx wsc, WWindowStatus ws)
          Return SingleRow Form details
 void init(ServletConfig config)
          Initialize global variables
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static CLogger log
Logger


FORM_NAME

protected static final String FORM_NAME
Form Name

See Also:
Constant Field Values

sectionNameOld

protected static String sectionNameOld
Constructor Detail

WWindow

public WWindow()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Initialize global variables

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config -
Throws:
ServletException

getServletInfo

public String getServletInfo()
Get Servlet information

Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet
Returns:
info

destroy

public void destroy()
Clean up resources

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process the HTTP Get request - Initial Call.
http://localhost/adempiere/WWindow?AD_Window_ID=123
Create Window with request parameters AD_Window_ID AD_Menu_ID Clean up old/existing window

Overrides:
doGet in class HttpServlet
Parameters:
request -
response -
Throws:
ServletException
IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Process the HTTP Post request

Overrides:
doPost in class HttpServlet
Parameters:
request - request
response - response
Throws:
ServletException
IOException

getSR_Form

public WebDoc getSR_Form(String action,
                         WebSessionCtx wsc,
                         WWindowStatus ws)
Return SingleRow Form details

Parameters:
action - action
wsc - web session context
ws - window status
Returns:
Form

getMR_Form

public WebDoc getMR_Form(String action,
                         WebSessionCtx wsc,
                         WWindowStatus ws)
Return MultiRow Form details

Parameters:
action - action
wsc - session context
ws - window status
Returns:
Form

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.