This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

inserting line break in <h:outputText> value  RSS feed

 
Khushwinder Chahal
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to insert the line break in

I did not find any solution.

If anybody has any idea please suggest me.

Thanks,
Khushwinder.
 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<hutputText value="Long String lines , <br>i want to insert line break here" escape="false"/>
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raw HTML is an ugly thing. JSF is more oriented towards JSF tags and CSS layouts. A more proper (but more verbose) way of doing that is something like this:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!