wood burning stoves*
The moose likes JSF and the fly likes problem with outputText in datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "problem with outputText in datatable" Watch "problem with outputText in datatable" New topic

problem with outputText in datatable

JP Estrada
Ranch Hand

Joined: Mar 21, 2006
Posts: 48
i'm displaying strings retrieved from a database in an outputText within a datatable...but the string is being truncated to 8 characters. How can i prevent the string from being truncated?

I tried adjusting the length of the outputText using stylesheets, but the strings still get truncated..
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
That sounds awfully odd. Never had an issue as that. Have you done some debug output to make sure the strings aren't being trucated at the dbase level?
JP Estrada
Ranch Hand

Joined: Mar 21, 2006
Posts: 48
yes i'm sure im not doing any truncation in the db level... i tried displaying a string from the same db in an outputText outside of the datatable, and the string is not truncated.. very weird.. it's only truncated when i put it in this datatable.. anywat i'll try the same code on a different PC and see what happens
jQuery in Action, 2nd edition
subject: problem with outputText in datatable
Similar Threads
List box initialization through managed bean
Question regex
JSF- Duplicate Component Id Exception
Wrapping the output of a outputText embedded in a DataTable
Displaying total Number of columns in Datatable