h:outputText line break for long words within strings

后端 未结 5 1298
小蘑菇
小蘑菇 2020-12-30 06:12

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

5条回答
  •  伪装坚强ぢ
    2020-12-30 06:23

    you can use h:inputTextarea rather than h:outputText , don't remember set readonly attribute true and remove border like this:

    
    

提交回复
热议问题