How to display HTML in content (OAF)
Problem 1 : Some data in database has multiple spaces between words. But when that is rendered on page using message styled text, the multiple spaces between the words are trimmed to single space by default. But you want the number of spaces to be retained as it is.
Problem 2 : You have a varchar data which has some delimiter in between. When displaying it in page, you want the data to appear in multiple lines based on delimiter. ex: abc-deft-lmnop should come in 3 lines : abc in one line,deft in one line and lmnop in one line.
Solution : Use OARawTextBean (item style : rawText). rawText bean renders the data as html code. hence your data can containg html tags in between to server your purpose.
Solution 1 : when fetching the data from database, fetch it as : select replace(column_name,’ ‘,’ ’) from dual
If you have multiple…
View original post 27 more words