That's true, but a resource request can deliver the PDF content if you
need. It will not be easy, however, to make the PDF content show up
INSIDE the portlet, but you could spawn an additional window or tab...
Scott
Olivier Ziller wrote:
hello,
yes it's what i do actually but it's not so easy (for me) to switch to
portlets ;-)
because portlets can only deliver html fragments
regards
Mike Kienenberger a écrit :
The JSF PDF download wiki example doesn't work for you? I know you'd
need to convert it over to Portlets from Http, but that seems pretty
easy to do.
http://wiki.apache.org/myfaces/Sending_Files
On 4/3/07, Olivier Ziller <[EMAIL PROTECTED]> wrote:
hello,
i need my jsf based portlet to generate dynamic pdf content and it
seems
that i need a servlet to do this.
i was wondering if it possible to have my servlet share the same
facescontext than my portlet?
in order to do this i have imagined to create a jsf servlet that would
handle all *.download requests (and my portlet to handle all *.faces
requests)
is it possible to have both a jsf portlet and a jsf servlet running in
the same time in a web application? and sharing the same facescontext?
regards