Call two time the same report but with different design from controller class
Scenario: I have a report (MyReport) with two desing (DesignA and DesignB). The two designs are in the same report because the datasource is the the same and they are called from the same menu item.
The DesignA is always printed, but only in some cases I have to print the DesignB.
In the controller class, in the output method, I’ve added the following code: