【发布时间】:2016-01-27 06:44:52
【问题描述】:
我正在尝试使用 html 标记在 jasper 报告文本字段中打印字符串 "<",但它没有显示。这是我的示例代码:
CONCATENATE("<", $F{ComponentName}.trim(), "> - ")
【问题讨论】:
标签: html jasper-reports textfield
我正在尝试使用 html 标记在 jasper 报告文本字段中打印字符串 "<",但它没有显示。这是我的示例代码:
CONCATENATE("<", $F{ComponentName}.trim(), "> - ")
【问题讨论】:
标签: html jasper-reports textfield
如果你在textField 上使用markup="html" 并且你想输出< 和>,你需要像任何其他html document 一样替换它们
< with <
> with >
例子
CONCATENATE("<", $F{ComponentName}.trim(), "> - ")
【讨论】: