|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.compiere.www.WLookup
public class WLookup
WLookup Servlet.
The servlet is invoked by a parent window via
WLookup?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.
| Field Summary | |
|---|---|
protected static CLogger |
log
Logger |
protected ArrayList<Object> |
p_data
The Data List |
| Constructor Summary | |
|---|---|
WLookup()
|
|
| 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 - perform Get |
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 |
|---|
protected static CLogger log
protected volatile ArrayList<Object> p_data
| Constructor Detail |
|---|
public WLookup()
| Method Detail |
|---|
public void init(ServletConfig config)
throws ServletException
init in interface Servletinit in class GenericServletconfig -
ServletException
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doGet in class HttpServletrequest - response -
ServletException
IOException
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doPost in class HttpServletrequest - response -
ServletException
IOException
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||