A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
inserting line break in <h:outputText> value
Joined: Oct 03, 2007
Jun 29, 2010 05:14:27
I want to insert the line break in
<h:outputText value="Long String lines , i want to insert line break here"/>
I did not find any solution.
If anybody has any idea please suggest me.
Joined: Nov 27, 2008
Jul 04, 2010 05:07:49
lines , <br>i want to insert line break here" escape="false"/>
Joined: Jun 25, 2001
Jul 06, 2010 06:35:29
Raw HTML is an ugly thing.
is more oriented towards JSF tags and CSS layouts. A more proper (but more verbose) way of doing that is something like this:
<h:panelGrid columns="1"> <h:outputText value="Long String lines"/> <h:outputText value="i want to insert line break here"/> </h:panelGrid>
Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the
JavaRanch Style Guide
subject: inserting line break in <h:outputText> value
retrieve a int from backbean and dinamically work with it in the .xhtml in very bizarre way
line break using <h:outputText>
Datatable column header issue
Header, Footer with dynamic data
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013