org.compiere.www
Class WAccount
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.compiere.www.WAccount
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class WAccount
- extends HttpServlet
WAccount Servlet.
The servlet is invoked by a parent window via
WAccount?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: WAccount.java,v 1.2 2006/07/30 00:53:21 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAccount
public WAccount()
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
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 - response -
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Process the HTTP Post request - perform doGet
- Overrides:
doPost in class HttpServlet
- Parameters:
request - response -
- Throws:
ServletException
IOException
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.