= writer.cloneWithWriter(content);
facesContext.setResponseWriter(contentWriter);
and in afterPhase you can get the content out of the StringWriter.
Regards,
Volker
2007/9/13, Alexander Lendl [EMAIL PROTECTED]:
Thanks again Volker... sorry for this stupid question, but can you
by that JSF page without any complex interactions with the
current request/response objects.
Regards,
Simon
Alexander Lendl [EMAIL PROTECTED] schrieb:
Hi,
I need to include the rendered html output from a myfaces jsf page in an
old
jsp page (not a jsf page!). Unfortunately it's
);
and in afterPhase you can get the content out of the StringWriter.
Regards,
Volker
2007/9/13, Alexander Lendl [EMAIL PROTECTED]:
Thanks again Volker... sorry for this stupid question, but can you please
tell me, how to get the html content as string out of the ResponseWriter
Hi,
I need to include the rendered html output from a myfaces jsf page in an old
jsp page (not a jsf page!). Unfortunately it's not possible to use a jsf
page at this point. It's a jsp/servlet framework application which is used
during developement to test the output of portlets in tomcat -
Volker, thanks for your quick reply... I don't think that this thread can
really help me with my problem.
It's not necessary that the required functionality happens in a
PhaseListener (could also be in a servlet, servlet filter, custom jsp tag,
...). All I need is to get the rendered html
in
before and after renderResponse phase.
to prevent faces to do anything more with this request you can just
call facesContext.responseComplete().
Regards,
Volker
2007/9/13, Alexander Lendl [EMAIL PROTECTED]:
Volker, thanks for your quick reply... I don't think that this thread can
6 matches
Mail list logo