jmbaker Posted May 1, 2007 Share Posted May 1, 2007 Hello, I've found a bug with iReports 1.3.3 (and I noticed it in version 1.3.2, too). The "Ignore pagination" tick box doesn't get persisted correctly when the report is saved. In fact, it actually writes the wrong value to the XML. If you tick the box and press save, the 'isFloatColumnFooter' set to true. If I untick "Ignore pagination" then the isFloatColumnFooter flag is removed from the XML. I bet it's a 2 minute fix but worth resolving! It would be lovely to set this property at runtime but that's a jasper reports change request, I guess! John Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 2, 2007 Share Posted May 2, 2007 Hi John. Thanks for your post. It is not a bug. There are two ways to set "ignore pagination". The first one is done at design time (Report properties -> ignore pagination). And it is correctly persisted in the jrxml. The second one is done at run time, adding the special parameter "IS_IGNORE_PAGINATION" to your parameters map, with value TRUE. This can be performed in iReport checking the menu item Build -> Ignore pagination.This menu selection is not persisted and is not written in the jrxml. Example of using ignore pagination at run time: Code:myHashMap.put("IS_IGNORE_PAGINATION", Boolean.TRUE ); Hope it helps Giulio Link to comment Share on other sites More sharing options...
emi030480 Posted May 2, 2007 Share Posted May 2, 2007 Sorry to say, but John is right. Under iReport 1.3.2, if you check "Ignore Pagination" the property isFloatColumnFooter, while ignoringParameter is created only when the "isFloatColumnFooter" under iReport gets checked. It is just an iReport issue, but still annoying. Emiliano Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now