myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Marin <>
Subject The content-type does not change
Date Tue, 04 Apr 2006 07:36:48 GMT
Hello, i'am working on BIRT printing with HTML and PDF format.

So My report are OK and i can display it in HTML on a new Window.

First pb :  how can i open a popup in jsf? So i use Jenia popup...

Second pb : to display the PDF report generates, i have to change the
content-typt of the response. But when i am in debug, the content-type doesn't
change and stay at "html/text". So my report isn't displayed properly.
FacesContext context = FacesContext.getCurrentInstance();
HttpServletResponse httpServletResponse =
httpServletResponse .setContentType("application/pdf");

I work on a jetspeed portal.

Please help me to solve or understand the problem.

|Cordialement, S├ębastien MARIN.|
|->  <-|

View raw message