label = ParameterAccessor.htmlEncode( label );
	private List doQueryCascadeParameterSelectionList( String paramName,			IViewerReportDesignHandle design, String groupName,			Object[] groupKeys, InputOptions options,			ViewerAttributeBean attrBean ) throws RemoteException,			ReportServiceException	{		List selectionList = new ArrayList( );		Collection list = getReportService( )				.getSelectionListForCascadingGroup( design, groupName,						groupKeys, options );		if ( list != null && list.size( ) > 0 )		{			// Get Scalar parameter handle			ScalarParameterHandle parameterHandle = (ScalarParameterHandle) attrBean					.findParameter( paramName );			Iterator iList = list.iterator( );			int index = 0;			while ( iList != null && iList.hasNext( ) )			{				ParameterSelectionChoice item = (ParameterSelectionChoice) iList						.next( );				if ( item != null && item.getValue( ) != null )				{					SelectItemChoice selectItemChoice = new SelectItemChoice( );					Object value = item.getValue( );					String label = item.getLabel( );					if ( label == null || label.length( ) <= 0 )					{						// If label is null or blank, then use the format						// parameter						// value for display						label = ParameterValidationUtil.getDisplayValue( null,								parameterHandle.getPattern( ), value, attrBean										.getLocale( ) );					}					label = ParameterAccessor.htmlEncode( label );					selectItemChoice.setLabel( label );					selectItemChoice.setValue( ParameterValidationUtil							.getDisplayValue( value ) );					selectionList.add( index++, selectItemChoice );				}			}		}		return selectionList;	}