Whitespace not rendered by writeText() of ResponseWriterImple of JSF RI implementation
0 posts in topic
Flat View  Flat View

Posted By:   Ganesh_Kumar
Posted On:   Thursday, July 12, 2007 05:27 AM

I have a problem with writeText() method of ResponseWriterImpl class. I have observed that if I use
writeText(" Text", null);
the whitespace at the beginning of the string " Text" is ignored. That is, it is not rendered. But, instead, if I use write(" Text"), the string is rendered as expected.
I have following questions:
1. Is the behavior of writeText() as specified. Shouldn't it render the string including white spaces?
2. Is there any way i can render " Text" without using " "?


About | Sitemap | Contact