Re: include rendered JSF output in JSP page

2007-09-14 Thread Alexander Lendl
= 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

Re: include rendered JSF output in JSP page

2007-09-14 Thread Alexander Lendl
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

Re: include rendered JSF output in JSP page

2007-09-14 Thread Alexander Lendl
); 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

include rendered JSF output in JSP page

2007-09-13 Thread Alexander Lendl
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 -

Re: include rendered JSF output in JSP page

2007-09-13 Thread Alexander Lendl
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

Re: include rendered JSF output in JSP page

2007-09-13 Thread Alexander Lendl
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