Project: Birt
Bug 121019 Java based scripting -> TextItemInstance/setText, getText does not work properly
Reported: 2005-12-15 04:03:17 | Status: closed fixed

textItemInstance.setText( "Actuate Shanghai" ); System.out.println( textItemInstance.getText( ) ); after executing the codes above, i got "text/template". expected behavior: - Actuate Shanghai actual behavior: - text/template

Files changed in fix:
UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/launcher/DebugStartupClass.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/IReportContext.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IImageInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IReportElementInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IRowInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/CellScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/DataItemScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/DynamicTextScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ElementUtil.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/GridScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ImageScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/LabelScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ListScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ReportContextImpl.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/RowScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/TableScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/TextItemScriptExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/ActionImpl.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/DataItem.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/Image.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/Label.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/CellInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/DataItemInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/DynamicTextInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ForeignTextInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/GridInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ImageInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/LabelInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ListInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ReportElementInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ReportItemInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/RowInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/TableInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/TextItemInstance.java viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java