Sorry, it was a guess. A quick search of the code didn't give one
specific time when the ResponseWriter is created. Does the
specification say anything about when it is created?

On 9/16/07, Manfred K. <[EMAIL PROTECTED]> wrote:
>
> Hi Andrew,
>
> how can you "wrap the response writer in a custom phase listener"?
>
> facesContext.getResponseWriter() returns null in a phaselistener or custom
> viewhandler!
>
> Best Regards
>
>
>
> Andrew Robinson-5 wrote:
> >
> > One idea could be to write a custom phase listener that wraps the
> > ResponseWriter, buffers all the output and then after the render
> > response phase, sends the contents in the body of an HTML email.
> >
> > -Andrew
> >
> > On 6/11/07, Dave <[EMAIL PROTECTED]> wrote:
> >> Hi,  I am using JSF on JBoss.  Recently I got a requirement to email a
> >> page
> >> to users.
> >>
> >> How to email a JSF page?  When a user opens the email, s/he should see
> >> the
> >> whole JSF page (rendered HTML page).
> >>
> >> Basically my question is: how to generate HTML code from a JSF page on
> >> server side so that I email the generated HTML?
> >>
> >> Thanks for any info.
> >> Dave
> >>
> >>  ________________________________
> >> TV dinner still cooling?
> >> Check out "Tonight's Picks" on Yahoo! TV.
> >>
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-email-a-JSF-page--tf3901920.html#a12718352
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to