I would like to use different Dataadapter depending on the context by passing a parameter to it. I tried this solution but it doesn't work : <propertyExpression name="net.sf.jasperreports.data.adapter"><![CDATA[$P{DataAdapterLocation}]]></propertyExpression> <parameter name="DataAdapterLocation" class="java.lang.String" evaluationTime="Early"> <defaultValueExpression><![CDATA["default/path/to/DataAdapterFile"]]></defaultValueExpression> </parameter>
Can you help me ?
- Log in or register to post comments
add comment