Why a default javascript value for a BIRT report parameter is not evaluated in the deployed webapp?

The code you show is the code for creating and rendering a report but it's not the code for displaying the parameter form.

The code you show is the code for creating and rendering a report but it's not the code for displaying the parameter form. Are you using the Birt-Webviewer or a self developed Web App? In the latter case and if you retrieve the default parameter values per org.eclipse.birt.report.engine.api.

IScalarParameterDefn.getDefaultValue(), the javascript expression will not be evaluated. To get default paramater values with expressions evaluated you have to use the engine task IGetParameterDefinitionTask and there the method org.eclipse.birt.report.engine.api. IGetParameterDefinitionTask.

GetDefaultValue(IParameterDefnBase arg0).

Yep, this did it :) – Igor Popov Nov 21 at 21:11.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions