Hi:
I am trying to create a popup window in my jspx by passing the url in the window object.
Here is the javascript code:
What I want to accomplish is to be able to get the orderId parameter from the request into my backing bean but it always returns a null. This is the code in my backing bean:Code:var url = "http://localhost:8080/MyApp/flow?_flowId=report-flow&id=viewOrderInfo&orderId=1"; features="height=300,width=250,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes"; popupwindow=window.open(url,'',features);
I can only get the _flowId value but not the "id" and "orderId".Code:HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest(); String orderId = request.getParameter("orderId"); String id = request.getParameter("id"); String flowId = request.getParameter("_flowId");
Anyone have any idea on what is wrong with the above?
Also, is there an example out there on how to implement a popup window on SWF 2.0
Thanks in advance


Reply With Quote