Jump to content
We've recently updated our Privacy Statement, available here ×

stevenell

Members
  • Posts

    52
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by stevenell

  1. Our reports are mostly financial -- generl ledger reports, jobcost reports, purchaseorders, workorders, etc.. Initially we started out using BigDecimal for everything... but have encountered some 'unweildliness' along the way.. now we are considering using Double... I understand the internal representation and rounding issues... just curious if anyone has opinions on this or if I am overlooking some pitfalls that come with Double. thanks Steve
  2. is there a way to reference other javascript files -- so that I could have a library of formatting functions for instance? thanks Steve
  3. is there a way to reference other javascript files -- so that I could have a library of formatting functions for instance? thanks Steve
  4. I have been formatting some text using a java helper class. Now that we have javascript capability ( very nice ) I am converting some of my reports... but it appears that if I use javascript for a report, I cannot access my java helper class... is this true?
  5. When I use java for my expressions, it appears they must be true expressions. But when I use javascript for the expressions, I can get away with some iteration... for example.. this appears to work in javascript: var f="foo"; var b="bar"; var g=f.concat(b); g=g.substring(1); g; is this type of iterative evaluation only available when using javascript for expressions? thanks Steve
  6. try using frames instead of rectangles. I ran into something similar in the detail band... I wound up putting each subreport inside of a frame, and then wrapping all 3 of those frames inside of another frame. My border was on the outside frame. I had no trouble making the outer frame grow... Steve
  7. I see there is a classpath setting in iReport... I use that to include a jar file that contains our jasper utility classes for formatting strings, etc.. in that jar I have a class com.foo.bar.JasperUtils when I want to use a method in the class I currently do something like this com.foo.bar.JasperUtils.doSomething(${myfield}) my question: is there a way to 'import' a package so that I dont have to specify the full package name on the class JasperUtils.doSomething(${myfield}) instead of com.foo.bar.JasperUtils.doSomething(${myfield}) ( i know i could just compile the class into the default package ... just would prefer not to ) thanks Steve
  8. i have no idea, but since nobody else has responded... this is what I would try: generate your conditional values in the query.. using case/when.. see if you get the same behavior
  9. not sure if this will help you but.... I didnt do this in an entire detail row, but I did it inside of a frame and I was quite impressed that it worked. In my case, I just wanted some address fields to slide up if the 'addressfield2' was empty. basically I did everything you mentioned, but then I also changed the position properties to 'float' , so that when address2 was emtpy & not displayed, the other fields would float up. i was using ireport nb311 Steve
  10. I have a group footer that contains a single 'subtotal' line. Sometimes this subtotal line gets pushed onto a new page... all by itself ( well... i mean that all of the associated detail lines stay on the previous page(s)) how can this be prevented? is there a way to tell jasper to keep the footer w/ at least x number of detail lines? thanks Steve Nell
  11. in case anyone else has this problem i think i found a way around this using page footers that print conditionally ( that doesnt release the footer space, but that wasnt a problem for me ) i added a subreport that prints at the end of my group.. the subreport does nothing except return a true value. i give that value to my 'group-finished-printing' variable & set the pagefoot to print only on true for that variable. 'group-finished-printing' variable resets to false on each new page Steve
  12. I hate to mention other reporting packages, but.... BIRT has a built in sample dataset that makes it very easy to communicate with other developers about specific problems. I could always just create a small example of my problem against the sample dataset and send the report file to the forum. Is there such a sample dataset for Jasper? thanks Steve
  13. in case anyone else is having trouble w/ this i got around this the book says that iReport will compile the scriptlet in the same directory as the report -- i had trouble with that. i compiled it myself and put the class file in one of the classpath additions... that is working Steve
  14. can I run a report in iReport nb 3.1.1 that uses a scriptlet? So far my efforts have resulted in java.lang.ClassNotFoundException: will not load classes from default package (workordersScriptlet) Also, can I just extend JRAbstractScriptlet and still run the report from within ireport 3.1.1 or do I have to extend IReportScriptlet? thanks Steve
  15. thansk Svenn -- I did try that but I recall that it didnt solve my problem. I would like to try it again using a sample database so that I could post my .jrmxl file -- is there a sample database that comes w/ ireport or jasperreports that is typically used for this? thanks Steve
  16. I see an enhancement request for this ( see below ) but I am wondering if anybody has already worked around this issue? I cant use the pagefooter because I only want the footer ( a signature block ) to appear at the end of each group in the report. ( the report is a sequence of workorders.. each workorder can span several pages.. i only want the signature block to appear on the last page of each workorder.. i am grouping on the workordernumber ) http://jasperforge.org/tracker/index.php?func=detail&aid=2947&group_id=83&atid=373&action=edit iReport should have an option to print group footer at the bottom of page just like column footer.
  17. Is it possible to have 2 subreports in the same band -- I see an example from the book ( pg 119 ) that shows this, but when I try it only the first subreport is visible. If I remove the first one, the next becomes visible, etc.. thanks Steve
×
×
  • Create New...