Bug 154697 Dataset - Property Binding and Dynamic parameter
Content in a dynamic list box parameter are NOT reload after a query actualization. Example: - A hidden parameter called COUNTRY. - A Dynamic list box parameter called CUSTOMERS filtered by COUNTRY. COUNTRY param is set only via URL (&country=USA) Expected: only USA customers list on viewer paramenter window. I had test query actualization via: - Dataset parameter (where country = ?) - beforeOpen() - Property Binding on dataset. Result: - empty list box if not default value assigned to parameter.(no matter country parameter value i set via URL). - custormer list filtered by default value. (no matter country parameter value i set via URL). for more details and examples, see on newsgroup for same subject. Regards, Mauro
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
group, task );
			ret.add( param );
		}
		return ret;
	}
	private static ParameterGroupDefinition convertParameterGroup(
			IParameterGroupDefn engineParam, IGetParameterDefinitionTask task )
	{
		boolean cascade = engineParam instanceof ICascadingParameterGroup;
		String name = engineParam.getName( );
		String displayName = engineParam.getDisplayName( );
		String helpText = engineParam.getHelpText( );
		String promptText = engineParam.getPromptText( );
		ParameterGroupDefinition paramGroup = new ParameterGroupDefinition(
				name, displayName, promptText, null, cascade, helpText );
		List contents = convertParametersInGroup( engineParam.getContents( ),
				paramGroup, task );
		paramGroup.setParameters( contents );
		return paramGroup;
	}
	private static ParameterDefinition convertScalarParameter(
			IScalarParameterDefn engineParam, ParameterGroupDefinition group,
			IGetParameterDefinitionTask task )
	{
		Object handle = engineParam.getHandle( );
		ScalarParameterHandle scalarParamHandle = null;
		if ( handle instanceof ScalarParameterHandle )
			scalarParamHandle = (ScalarParameterHandle) handle;
		String name = engineParam.getName( );
		String pattern = scalarParamHandle == null ? "" : scalarParamHandle