aspose file tools
The moose likes JSF and the fly likes inserting line break in <h:outputText> value Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "inserting line break in <h:outputText> value" Watch "inserting line break in <h:outputText> value" New topic
Author

inserting line break in <h:outputText> value

Khushwinder Chahal
Ranch Hand

Joined: Oct 03, 2007
Posts: 128
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.

Khushwinder
Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

<hutputText value="Long String lines , <br>i want to insert line break here" escape="false"/>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14460
    
    7

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:


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: inserting line break in <h:outputText> value
 
Similar Threads
line break using <h:outputText>
Pagination
Datatable column header issue
Header, Footer with dynamic data
retrieve a int from backbean and dinamically work with it in the .xhtml in very bizarre way