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
locale = (Locale) options.getOption( InputOptions.OPT_LOCALE );
			ITOCTree tocTree = doc.getTOCTree(
					DesignChoiceConstants.FORMAT_TYPE_VIEWER, ULocale
							.forLocale( locale ) );
			assert tocTree != null;
			List tocList = tocTree.findTOCByValue( name );
			if ( tocList != null && tocList.size( ) > 0 )
				return ( (TOCNode) tocList.get( 0 ) ).getBookmark( );
			doc.close( );
		}
		return tocId;
	}
	public long getPageCount( String docName, InputOptions options,
			OutputOptions outputOptions ) throws ReportServiceException
	{
		IReportDocument doc = ReportEngineService.getInstance( )
				.openReportDocument( getReportDesignName( options ), docName,
						getModuleOptions( options ) );
		long count = doc.getPageCount( );
		doc.close( );
		return count;
	}
	public Collection getParameterDefinitions(
			IViewerReportDesignHandle design, InputOptions runOptions,
			boolean includeGroups ) throws ReportServiceException
	{
		IGetParameterDefinitionTask task = getParameterDefinitionTask( design,
				runOptions );
		return convertEngineParameters( task.getParameterDefns( true ), task,
				includeGroups );