Bug 121019 Java based scripting -> TextItemInstance/setText, getText does not work properly
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
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/DataItem.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.api.script.element.IDataItem#getHelpTextKey()
	 */
	public String getHelpTextKey( )
	{
		return ( ( DataItemHandle ) handle ).getHelpTextKey( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.api.script.element.IDataItem#setHelpTextKey(java.lang.String)
	 */
	public void setHelpTextKey( String value ) throws ScriptException
	{
		try
		{
			( ( DataItemHandle ) handle ).setHelpTextKey( value );
		} catch ( SemanticException e )
		{
			throw new ScriptException( e.getLocalizedMessage( ) );
		}
	}
	public IAction getAction( )
	{
		return new ActionImpl( ( ( DataItemHandle ) handle ).getActionHandle( ) );
	}
}