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
 The w property.
	 * @param styleBuffer
	 *            The <code>StringBuffer<code> object that returns 'style'
	 *            content.
	 * @return A <code>boolean<code> value indicating 'Can-Shrink' property
	 *         is set to <code>true<code> or not.
	 *
	 boolean handleShrink( int type, IStyle style,
			DimensionType height, DimensionType w, StringBuffer styleBuffer )
	{
		boolean canShrink = style == null
				|| !"false".equalsIgnoreCase( style.getCanShrink( ) ); 
		 & DISPLAY_BLOCK ) > 0 )
		{
			lder
					.buildSize( styleBuffer, HTMLTags.ATTR_WIDTH, w );
			 !canShrink )
			{
				lder.buildSize( styleBuffer,
						HTMLTags.ATTR_MIN_HEIGHT, height );
			}
		}
		else  & DISPLAY_INLINE ) > 0 )
		{
			lder.buildSize( styleBuffer, HTMLTags.ATTR_HEIGHT,
					height );
			 !canShrink )
			{
				lder.buildSize( styleBuffer,
						HTMLTags.ATTR_MIN_WIDTH, w );
			}
		}
		else
		{
			assert false;
		}
		return canShrink;
	}
	**
	 * Outputs the 'b' property. Destination anchors in HTML documents
	 * may be specified either by the A element (naming it with the 'name'
	 * attribute), or by any other elements (naming with the 'id' attribute).
	 * 
	 * @param tagName
	 *            The tag's name.
	 * @param b
	 *            The b value.
	 *
	 void setB( String tagName, String b )
	{
		 tagName == null || !HTMLTags.TAG_A.equalsIgnoreCase( tagName ) )
		{
			ttribute( HTMLTags.ATTR_ID, b );
		}
		else
		{
			ttribute( HTMLTags.ATTR_ID, b );
			ttribute( HTMLTags.ATTR_NAME, b );
		}
	}
	**
	 * Checks whether the element is block, inline or inline-block level. In
	 * BIRT, the absolute positioning model is used and a box is explicitly
	 * offset with respect to its containing block. When an element's x or y is
	 * set, it will be treated as a block level element regardless of the
	 * 'Display' property set in style. When designating w or height value
	 * to an inline element, it will be treated as inline-block.
	 * 
	 * @param x
	 *            Specifies how far a box's left