Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

inserting line break in <h:outputText> value

 
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: 18419
60
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!