|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.mlw.vlh.web.ValueListRequestUtil
This is a utility to assist usig the ValueList in a web enviroment. net.mlw.vlh.web.ValueListRequestUtil
Method Summary | |
static ValueListInfo |
buildValueListInfo(javax.servlet.http.HttpServletRequest request)
Build the ValueListInfo from the request and parameters. |
static ValueListInfo |
buildValueListInfo(javax.servlet.http.HttpServletRequest request,
String id)
Build the ValueListInfo from the request for certain Table id. |
static String |
getActionTempParamName(String userParamName)
Return the name of parameter with ActionTag.ACTION_TEMP_PARAM_PREFIX Example: param "id" return "ACTid" |
static Map |
getAllForwardParameters(javax.servlet.jsp.PageContext pageContext,
String userForwardParameters,
String id)
Setter for the parameters, that are forwarded in every url link in table. |
static Map |
getRequestParameterMap(javax.servlet.http.HttpServletRequest request)
|
static Map |
getRequestParameterMap(javax.servlet.http.HttpServletRequest request,
String id)
|
static Map |
getRequestParameterMap(Map requestParameterMap,
String id)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Map getRequestParameterMap(javax.servlet.http.HttpServletRequest request)
public static Map getRequestParameterMap(Map requestParameterMap, String id)
public static Map getRequestParameterMap(javax.servlet.http.HttpServletRequest request, String id)
request
- id
-
public static ValueListInfo buildValueListInfo(javax.servlet.http.HttpServletRequest request)
request
- The HttpServletRequest
public static ValueListInfo buildValueListInfo(javax.servlet.http.HttpServletRequest request, String id)
request
- The HttpServletRequestid
- The tableId String.
public static Map getAllForwardParameters(javax.servlet.jsp.PageContext pageContext, String userForwardParameters, String id)
Automatically exclude params with the prefix of the ACTION_TEMP_PARAM_PREFIX.
Automatically are excluded keys start with
Note: ValueListInfo.DO_FOCUS param you cannot forward. It is forbidden for all posibilities.
userForwardParameters
- The userForwardParameters properties.id
- TableId of the currrent value list table.ActionTag.ACTION_TEMP_PARAM_PREFIX
,
ValueListInfo.DO_FOCUS
public static String getActionTempParamName(String userParamName)
userParamName
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |