Bug 139107 Birt viewer with no error messages response
My birt viewer is under tomcat 5.5 webapps. I have a report with report parameters, account and password, to connect to database. Everything is doing just fine with correct account and password. However, when the account/password is wrong, the viewer show up the report title and got no error message or data. I've tried the report at Eclipse. if the password is wrong, I can get error message something like "failed to get connection". And I also turn the viewer log to FINEST, the "failed to get connection" message exist in the log file. Don't know how to let the error message response to the browser, otherwise users got no idea is there errors or no data.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
;
					style.setProperty( IStyle.STYLE_CAN_SHRINK, IStyle.FALSE_VALUE );
					content.setW( new DimensionType( 5, DimensionType.UNITS_IN ) );
				}
		}
	}
	
	**
	 *  judge the content is belong table template element or not.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private boolean isTalbeTemplateElement( IContent content )
	{
		Object genBy = content.getGenerateBy( );
		if( genBy instanceof TemplateDesign )
		{
			TemplateDesign template = (TemplateDesign) genBy;
			String allowedType = template.getAllowedType( );
			 "Table".equals(allowedType) )
			{
				return true;
			}
		}
		return false;
	}
	private boolean needColumnFilter( ICellContent cell )
	{
		DetailRowState state = ( DetailRowState ) detailRowStateStack.peek( );
		 cell.getColumnInstance( ) == null )
		{
			return false;
		}
		return state.isStartOfDetail
				&& cell.getColumnInstance( ).hasDataItemsInDetail( );
	}
	* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#endGroup(org.eclipse.birt.report.engine.content.IGroupContent)
	 *
	public void endGroup( IGroupContent group )
	{
	}
	* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#endListBand(org.eclipse.birt.report.engine.content.IListBandContent)
	 *
	public void endListBand( IListBandContent listBand )
	{
	}
	* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#endListGroup(org.eclipse.birt.report.engine.content.IListGroupContent)
	 *
	public void endListGroup( IListGroupContent group )
	{
	}
	* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#endTableBand(org.eclipse.birt.report.engine.content.ITableBandContent)
	 *
	public void endTableBand( ITableBandContent band )
	{
	}
	* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#endTableGroup(org.eclipse.birt.report.engine.content.ITableGroupContent)
	 *
	public void endTableGroup( ITableGroupContent gr