I need to render a line break using outputText
so that I can utilize the rendered
attributed. I tried
That's indeed not valid since Facelets because it's syntactically invalid in XML. You'd need to manually escape the XML special characters like <
, >
and so on.
You can however just emit the
in template text without the need for a
.
To render it conditionally, wrap it in for example a
.
A
is also valid as it doesn't emit anything to the HTML anyway.