out.write("\r\n");
/***********************************************************************/
/* Define */
/***********************************************************************/
QueryCondition condition = new QueryCondition();
DataList dl = null;
// Work List BF.
// WorkListBusinessFacade workListBF = null;
int intPageCnt = 50;
int nPagesetSize = 10;
int currentPage = reqMap.getInt("CURRENTPAGE", 1);
int totalCount = 0;
int totalPageCount = 0;
String strTarget = reqMap.getString("TARGETCOND", "procins.instancename");
String strKeyword = reqMap.getString("KEYWORDCOND", "");
String strDateKeyStart = reqMap.getString("INIT_START_DATE", "");
String strDateKeyEnd = reqMap.getString("INIT_END_DATE", "");
String strDefCategoryId = reqMap.getString("DEFCATEGORYID", "");
String strDefTypeId = reqMap.getString("DEFTYPEID", "");
String strSortColumn = reqMap.getString("SORT_COLUMN", "");
String strSortCond = reqMap.getString("SORT_COND", "");
String menuItemId = reqMap.getString("MENU_ITEMID", "item_bpm");
// String filtering = reqMap.getString("FILTERING","");
// RequestContext reqCtx = new RequestContext(request);
// User logdUser = reqCtx.getUser();
// loggedUserCompanyId= logdUser.getCompanyId();
/***********************************************************************/
/* Check & Set Parameter */
/***********************************************************************/
condition.setMap(reqMap);
condition.setOnePageCount(intPageCnt);
condition.setPageNo(currentPage);
HashMap colors = new HashMap(10);
colors.put("Failed", "red");
colors.put("Suspended", "yellow");
colors.put("Skipped", "blue");