Bug 191805 The default value radio button should be checked [0705]
Description: The default value radio button should be checked. Build number: 2.2.0.v20070608-1028 Steps to reproduce: 1. New a parameter, type "boolean", select radio button, input 0 and 1 as values, set 1 as default value. 2. Preview parameter dialog popps up. Expected result: The default value radio button is checked. Actual result: Neither of the radio buttons is checked (see the screenshot). Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/RadioButtonParameterFragment.java
if ( !label.equals( parameterBean.getDisplayText( ) ) )
				{
					if ( parameterBean.getParameter( ).isDistinct( ) )
					{
						selectionItem
								.setLabel( parameterBean.getDisplayText( ) );
						isDisplayTextInList = true;
					}
				}
				else
				{
					isDisplayTextInList = true;
				}
			}
			
			if ( parameterBean.isDisplayTextInReq( ) && !isDisplayTextInList )
			{
				parameterBean.getSelectionList( )
						.add(
								new ParameterSelectionChoice( parameterBean
										.getDisplayText( ), parameterBean
										.getValue( ) ) );
				isDisplayTextInList = true;
			}
			
			parameterBean.setDisplayTextInList( true );
		}
	}
}