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

pvelan

Members
  • Posts

    9
  • Joined

  • Last visited

pvelan's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, Currently i am using.. /book and this seems to be working. Things seems to be working little different on the actual server from the ireport preview. Thanks.
  2. My xml structure is root/books/book/books/book I have a subreport A in the main report and i pass the datasource expression as root/books/book. My question is that if i have a subreport B in my first subreport A and I want to pass the same xml as what the subreport A got from the main report.. Could someone please let me know the expression to be used? I tried.. various options like . , /, /book but nothing seems to work. Thanks.
  3. Thank you for your reply. It seems complicated and does not seem to give any room to change the images or text in the static PDFs...ie even if i need to.
  4. Thank you for your reply. I could not follow the option one.. I understood the option 2. Do you have an example/sample for the option 1? Thanks
  5. Hi, How do i force a subreport to always start in a new page? I am using ireports 4.0.1. Thanks.
  6. Hi, I have some static PDF files ( Some text and images) that needs to included as part of some PDF that I generate with data. What is the best way to do it? Is there a way to generate ..jrxml file from PDFs like reverse engineering? Thanks. Post Edited by pvelan at 10/26/2011 18:10
  7. Thank you. After sending in the correct format, issue is resolved and thru ireports i could apply the correct mask.
  8. Hello, Thanks for your suggestions, but I am getting the following error... Caused by: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : new java.text.SimpleDateFormat("MM/dd/yyyy").parse($F{startDate}) at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:195) at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:589) at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:557) at net.sf.jasperreports.engine.fill.JRFillElement.evaluateExpression(JRFillElement.java:929) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:383) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:368) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:258) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:499) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2036) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:760) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:270) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:946) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:864) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:613) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205) at java.lang.Thread.run(Thread.java:662) Caused by: java.text.ParseException: Unparseable date: "20111014 145300" at java.text.DateFormat.parse(DateFormat.java:337) I tried substring option to just take "20111014". Even this gives the same error. When i want to preview, how do I set "XML_DATE_PATTERN" in ireport? Thanks
  9. All, I am getting the date as '" 2011014 145300 " in XML, but I need to display the date as 10/14/2011. Could someone let me know what is the best way to do this? Thanks.
×
×
  • Create New...