Project: Birt
Bug 151261 New parameter default value not set in dialog
Reported: 2006-07-20 11:56:00 | Status: resolved fixed

BIRT Report Designer Version: 2.1.0.N20060628-1351 Build id: 200606281537 Create a new report parameter and set a default value. Select Preview and the parameter dialog pops up and the default value is not selected. This happens with Decimal/Text Box and with String/Radio Button with a list of valid values. Note, Allow null values is not selected or is grayed out, respectively, so the default value should be set if it is missing from the .rptconfig file (which it is).

Files changed in fix:
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java