Thank you so much for the reply...
Where would i put the "escape=false"
Loading the data into the database The text looks like this: "<whatever> first line\n second line\n third line\n <whatever>
where would i exter the "escape=false" text
can you please show me an example
Thanks
I need to be clearer...
The static text field is actually a table cell.. (table cell's default to static text fields)
When I drag a static text field to the design area it has an "escape" property which can be set to false (unchecked).
However, the table cell has no such escape field, at least I do not see one) to be set to false..Is there another place to do this...
Thanks
I have inserted: escape="false" as here:
<ui:tableColumn binding="#{Page1.tableColumn3}" headerText="Info" id="tableColumn3">
<ui:staticText binding="#{Page1.staticText5}" escape="false" id="staticText5" text="#{currentRow.value['CONTACT.CINFO']}"/>
There is no option in properties for table cells (static text)
Still the text is one long string..
However, looking at the source code after deployment shows newlines where they should be. Go Figure!
Could certainly use some help here..
Thanks
What is the HTML output?
Perhaps you need to replace the newlines with <br>. Or wrap the paragraphs with
. Also you can try html-tag <pre> (I haven't tried this yet) or CSS white-space:pre. The last works in Firefox but is supported by IE only partially, dependend on browser mode.I did use the
tag... and it works..
However, and these kind of things always have a however, when entering the data via a form directly to the database it will be kind of, what's a good word here, DUMB to ask users to enter a "
tag every time they want to start a new line.. (for the output display)
How can I get around this?
Thanks...