public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException, CommunicationException, NamingException
{
String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
AccountFacadeHome accountFacadeHome = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
try
{
HttpSession session = request.getSession(true);
UserObject userobjectd = (UserObject)session.getAttribute( "userobject" );
int individualID = userobjectd.getIndividualID();
session.setAttribute("highlightmodule", "account");
request.setAttribute(AccountConstantKeys.TYPEOFSUBMODULE, AccountConstantKeys.ORDER);
request.setAttribute("body",AccountConstantKeys.ADD );
request.setAttribute(AccountConstantKeys.TYPEOFOPERATION,"ShowOrder");
int orderID = 0;
String orderIDStr = (String)request.getParameter("rowId");
if(orderIDStr != null )
if ( !orderIDStr.equals(""))
orderID = Integer.parseInt(orderIDStr);
AccountFacade remote =(AccountFacade)accountFacadeHome.create();
remote.setDataSource(dataSource);
Vector taxJurisdiction = remote.getTaxJurisdiction();
OrderForm oForm = remote.getOrderForm(orderID,individualID);
FORWARD_final = FORWARD_editorder;
oForm.convertValueObjectToFormbean();