Hi, Markus is right, you cannot do this within one request. To add some javascript to the respons you can use the ExtendedRenderKitService from Trinidad, e.g. something like this:
ExtendedRenderKitService erks = Service.getRenderKitService(fc, ExtendedRenderKitService.class); erks.addScript(fc, "window.open(xxx)); This enables you to open a new browser window, and because of that then the pdf is not shown in your trinidad-window. Daniel -- View this message in context: http://www.nabble.com/-Trinidad--Generate-PDF-_and_-close-dialog-tp20905682p20930396.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

