Be sure to handle exceptions in the java-action. Or clean deployment folder and rebuild the app.
The java action should contain something like
IDataSetResult result = createDataSetResult();
// BEGIN USER CODE
result.addRow("Mendix", new BigDecimal(21));
// END USER CODE
return result;
Add the amount of columns as defined in the dataset.
Thanks for your response.
My question is NOT about how to fill the result. This is working – see blue marked codepart in the picture below.
The problem is a report PARAMETER, which should be filled by the user. This is the UI we are talking about:
As soon as I hit the “Generate report” button with a selected value the error occurs.
Somehow the parameter is not beeing properly beeing forwarded (see red marked codepart in the picture below).
It looks like the boilerplate code does not find the expected format – see original question above:
“No suitable constructors found for...”
I tried to add own constructors (without limit and offset parameters) which did not work.
Did anyone use “Generate report button” including parameters within Java?