You have two options, both specific to the target attribute on the link: Either _top to get it to replace the portal outline or _blank to get it to a new browser frame.
> -----Original Message----- > From: Olivier Ziller [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 04, 2007 2:34 AM > To: MyFaces Discussion > Subject: Re: servlet and portlet in the same time? > > 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 > >> > > >

