Is there a way to tell h:outputText of JSF (2.0) to insert a line break (or even better: A custom string like \"-\") into very long words within strings? My pro
h:outputText
Set CSS word-wrap property of the element in question to break-word.
break-word
with
.someClass { word-wrap: break-word; }