Bug 177504 Engine doesn't provide SubQuery for extended item
Engine doesn't provide SubQuery for extended item, so chart can't use container's binding to execute the query. If possible, engine could provide an option for extended item to choose whether engine could create the query, so extended item won't create SubQuery by itself.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
}
	public Object visitImage( IImageContent image, Object value )
	{
		handleOnRender( image );
		processImage( image );
		return image;
	}
	protected void processImage( IImageContent image )
	{
		String altText = localize( image, image.getAltTextKey( ), image.getAltText( ) );
		image.setAltText( altText );
		String helpText = localize( image, image.getHelpKey( ), image.getHelpText( ) );
		image.setHelpText( helpText );
	}
	/**
	 * handle the template result.
	 * 
	 * @param foreignContent
	 */
	protected void processTemplateContent( IForeignContent foreignContent )
	{
		assert IForeignContent.TEMPLATE_TYPE.equals( foreignContent
				.getRawType( ) );
		if ( foreignContent.getGenerateBy( ) instanceof TextItemDesign )
		{
			TextItemDesign design = (TextItemDesign) foreignContent
					.getGenerateBy( );
			String text = null;
			HashMap rawValues = null;
			if ( foreignContent.getRawValue( ) instanceof Object[] )