Project: Birt
Bug 164923 Format mask
Reported: 2006-11-16 22:55:07 | Status: verified fixed

this.style can be used only for single column, - this is not working for html text with an expression such as <value-of format="###,###,###.00"> row["AMOUNT"] </VALUE-OF> NOW THE NUMERIC FORMAT WILL BE AVAILABLE AS A PARAMETER SUCH AS params["NumericFormat"] when i write the script in oncreate <value-of format=params["NumericFormat"]> row["AMOUNT"] </VALUE-OF> this does not seems to work. The formating is ignored. Is there any workaround? regards

Files changed in fix:
core/org.eclipse.birt.core/src/org/eclipse/birt/core/template/TemplateParser.java core/org.eclipse.birt.core/src/org/eclipse/birt/core/template/TextTemplate.java engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/executor/template/TemplateExecutorTest.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/template/TemplateExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/TextItemDesign.java