I am writing directly to it: ResponseWriter writer =(new
ResponseFactory()).getResponseWriter(context, "text/xml");
try {
writer.startDocument();
writer.writeText(text, null);
writer.endDocument();
writer.close();
}
Greg Reddin-4 wrote:
>
> On Feb 12, 2008 10:19 AM, JimP <[EMAIL PROTECTED]> wrote:
>>
>> returned without this characters. I have the line :
>> ResponseWriter
>> writer =(new ResponseFactory()).getResponseWriter(context, "text/xml");
>> in
>> my faces bean.
>
> Did you set the ResponseWriter on the FacesContext using:
>
> facesContext.setResponseWriter(writer);
>
> Or did you try writing to the ResponseStream directly?
>
> Greg
>
>
--
View this message in context:
http://www.nabble.com/Shale-Remoting-returning-%22text-XML%22-tp15434530p15441497.html
Sent from the Shale - User mailing list archive at Nabble.com.