Adempiere 3.5.2a

org.compiere.www
Class WLocation

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

public class WLocation
extends HttpServlet

WLocation Servlet.

The servlet is invoked by a parent window via WLocation?FormName=formName%ColumnName=columnName and assumes that in the opening window/form there are two fields opener.document.formName.columnName - The (hidden) field for the ID opener.document.formName.columnName_D - The display field for the value When selecting an entry, the window is closed and the value of the two fields set.

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

Field Summary
protected static CLogger log
          Logger
 
Constructor Summary
WLocation()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Get request - initial Start Needs to have parameters FormName and ColumnName
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request (update Address)
 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
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, 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

Constructor Detail

WLocation

public WLocation()
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 - config
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process the HTTP Get request - initial Start Needs to have parameters FormName and ColumnName

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

doPost

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

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

Adempiere 3.5.2a

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