myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Torrefranca <storrefra...@branders.com>
Subject Re: wrapping text
Date Thu, 22 Feb 2007 19:37:44 GMT
Hi Jeff,

sorry for not being clear.

what i need is for the text to keep follow line breaks without using 
replaceAll "\n" with <br/> .  the reason for that is some texts are 
stored in the db as pure text with escape char while others are saved in 
html format.

-Steve


Jeff Bischoff wrote:
> You mean you tried:
>
> <t:div style="width: 25px;"/>
>    <h:outputText ... />
> </t:div>
>
> That didn't work?
>
> Steve Torrefranca wrote:
>> Hi,
>>
>> How do we wrap texts with "\n"?  I have tried t:div but did not work.
>>
>> Thank you
>>
>> -Steve
>>
>>
>>
>
>
>


Mime
View raw message