• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Show Leading spaces in output Text

 
Jay Palav
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am currently working on one project which is using jsf as frontend.
We are displaying data from list in tabular form using tomahawk datatable.
<t:dataTable id="data" ...
Now the data in list is trimmed while display..
ie report name with ' My Report' is displayed as 'My Report'
we are using tomahawk taglibrary to output value
<tutputText id="reportName" value="#{row.reportName}">

Is it a charectaristic of datatable to show values after trimming?? how
can i display data in original form with leading spaces.

Jay
 
Jay Palav
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From further investigation i guess its problem with HTML..
since initial spaces in html are ignored.. we need to convert it in to ' '
Any one have faced such situation?? any takers??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic