Having tested this with several configurations on both jboss and glassfish, I'm
reasonably sure this is either a 1.2RI bug or a facelets bug. Since it doesn't
appear in JSP pages, and given the problems facelets has had with HTML entities
before, I'm inclined to blame facelets.
I guess I'll
A big middle finger to phpBB which interprets disable HTML as well I really
wanted you to interpret entities anyway. When using the 1.2 RI, inputText
fields are not escaping the left angle bracket character to
ampersand-ell-tee-semicolon. What befuddles me to no end is that it does fine
Ick, something is getting unescaped somehow. If I have this in a page:
| h:inputText value=This is a static inputText with a
strongHTML/strong tag/ br /
|
I get this browser error in response:
| XML Parsing Error: not well-formed
| Location:
phpBB strikes again. I properly escaped my tags in the value field in the page
text. Preview just undoes it, something I fixed for the second part but not
the first.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972425#3972425
Reply to the post :
It seems this problem happens even in regular input fields, not just
h:inputText, and it persists even when I switch the viewhandler to
com.sun.facelets.FaceletViewHandler, which suggests to me a facelets bug (I'm
using the latest I could find, 1.1.9) or maybe a misconfiguration on my part