session.setAttribute("highlightmodule", "account");
request.setAttribute(AccountConstantKeys.TYPEOFSUBMODULE, AccountConstantKeys.ORDER);
request.setAttribute("body", AccountConstantKeys.EDIT);
AccountFacade remote = (AccountFacade)accountFacadeHome.create();
remote.setDataSource(dataSource);
Vector taxJurisdiction = remote.getTaxJurisdiction();
// ItemList Handling start
String typeOfOperation = (String)request.getParameter(AccountConstantKeys.TYPEOFOPERATION);
if (typeOfOperation == null) {
typeOfOperation = (String)request.getAttribute(AccountConstantKeys.TYPEOFOPERATION);
}
if (typeOfOperation != null && typeOfOperation.equals("ShowOrder")) {
String rowId = request.getParameter("rowId");
int orderId = 0;
OrderForm of;
if (rowId == null) {
rowId = (String)request.getAttribute("rowId");
}
if (rowId != null) {
orderId = Integer.parseInt(rowId);
}else{
of = (OrderForm) request.getAttribute("orderform");
orderId = of.getOrderIdValue();
}
of = remote.getOrderForm(orderId, individualID);
of.convertValueObjectToFormbean();
form = (ActionForm)of;
of.setJurisdictionVec(taxJurisdiction);
request.setAttribute("orderform",of);