Hi to all

<br />
<br />
There is a problem with modifing a certain library DataSet in combine report.<br />
<br />
I have a library with report tamplates, DataSets and DataSources.<br />
One of DataSet have a parameter, for ex., "par1" with some value "val1".<br />
When i adding items from library in ReportDesignHandle it is require to me change value of parameter "par1".<br />
<br />
Follow code example is helpless

don't working...<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
...
PropertyHandle ph = someDataSet.getPropertyHandle(ScriptDataSet.PARAMETERS_PROP);
DataSetParameter paramH = StructureFactory.createDataSetParameter();
paramH.setName("par1");
paramH.setDataType("string");
paramH.setDefaultValue("val2");
paramH.setExpressionProperty("par1",new Expression("val2","javascript"));//probably it is same with line above
paramH.setPosition(1);
paramH.setIsInput(true);
paramH.setIsOutput(false);
ph.addItem(paramH);
reportDesignHandle.getDataSets().add(someDataSet);
...
</pre>
<br />
In result: "par1" still have old value (if one was defined in library DataSet in *.library file)