Try to call a pdf/servlet using icefaces and Websphere Portal
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Try to call a pdf/servlet using icefaces and Websphere Portal  XML
Forum Index -> Portals & Portlets
Author Message
ymoreno

Joined: 11/05/2009 00:00:00
Messages: 4
Offline


I have my servlet to launch a pdf file using itext, is configured in web.xml, and in the bean i call

HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
request.getSession().setAttribute("pdfGenerado", pdfGenerado);

JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"window.open('/wps/myportal/foco/Impresor?pdf=','_blank');");


i don't found any example, PLEASEEEEE i'm going crazy and is very urgent, thank's a lot
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team