myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Bob <chetanpad...@gmail.com>
Subject Re: output formatting ? ?
Date Fri, 28 Sep 2007 14:33:20 GMT

hi NABA and All

The issue is that i want the text to be shown in the format it was entered
i.e. with carriage return and newline. The text got saved to database with
that formatting but when i fetch that text and tried to display the
formatting of newline is lost and get displayed with <h:outText
escape="false" value ="#{text.get}"    />

and this text data was collected in database using lebel and text contains
newline and carriage return



Thanks

Chetu    


    NABA w

Chetan Bob wrote:
> 
>  Hi  
> 
> I m getting some text from and saving it to database .....then while
> displaying it using h:outputText 
> the formatting  at the time of entering text is lost and output is withut
> carriage return 
> 
> <h:outputformat  escap="false" value ="#{dbget.gettext}"  />
> 
> is also not working 
> 
> What can be solution please reply 
> 

-- 
View this message in context: http://www.nabble.com/output-formatting------tf4507760.html#a12941751
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message