Skip to Main Content

How can I and spaces in the text property of a showDetailItem?

Jose ArósteguiMay 20 2015 — edited May 29 2015

Hi experts,

I'm using Jdev 12.1.3 and I'd like to add spaces in the text property of a showDetailItem like this:

<af:showDetailItem text="#{row.Field1}\&\nbsp;\&\nbsp;#{row.Field2})" id="sdi1"

The html generated works fine and renders the spaces, but the compiler gives an error:

Error(1,1):  The page failed validation from validator: "org.xml.sax.SAXParseException; lineNumber: 84; columnNumber: 103; Undeclared referenced to entity "nbsp"

How could I solve it?


Regards,

Jose.

This post has been answered by Ashish Awasthi on May 20 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Jun 26 2015
Added on May 20 2015
4 comments
1,281 views