<reportElement x="79" y="103" width="279" height="23" backcolor="#000000">
<propertyExpression name="width"><![CDATA["100"]]></propertyExpression>
</reportElement>
我正在尝试使用propertyExpresssion设置reportElement的宽度,JasperReports在上面的代码中将宽度设为 279 而不是 100,如果我删除reportElement标记中的 width 属性,我会收到错误消息。
我究竟做错了什么?它编译,填充和所有,但没有使用表达式中的宽度。