Jump to content
Changes to the Jaspersoft community edition download ×

marcosamba

Members
  • Posts

    14
  • 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 marcosamba

  1. have you try using the property "Pdf Embedded - CP1253 (Greek)" in font properties?
  2. you can put these vertical lines in the background band.. it will print the lines in all your pages or you have to tell it where print them or not let me know if you can do it or not so i can try to find another solution
  3. Two possible solution (I hope one of these can help you.. I don't know if you have subreport or dinamic fields): 1 - Use the title band (setting it "in a new page" in the report properties) or 2 - Use the background band: enlarge the band, put the field/s where do you want with the option "new java.lang.Boolean($V{PAGE_NUMBER}.intValue()==1)"
  4. Ciao e scusa il ritardo. Spero che tu abbia già risolto il problema.. in ogni caso cerco di risponderti. A quanto ho capito hai i file sul server ma quando lanci il report non te lo genera.. giusto? Se non ho capito male allora forse devi indicare nell'espressione subreport una cosa del tipo $P{SUBREPORT_DIR} + "nomedelsottoreport.jasper" E poi dovrai settare con netbeans il valore del parametro SUBREPORT_DIR. Oppure potrebbe essere un problema di jar presenti sul server (devono essere gli stessi della versione di ireport che usi). Eventualmente fammi sapere se il problema era questo o se ho capito male. Ciao, Marco
  5. You have to put the files in the same directory and set the parameter SUBREPORT_DIR with the path of the directory where you put them (if it doesn't work try using different separator../ or or //)
  6. Se provi a generare un pdf anzichè usare il visualizzatore di ireport, hai lo stesso problema? Tempo fa avevo fatto delle prove con dei caratteri particolari modificando la codifica PDF (è una delle proprietà che hanno i singoli campi in basso nella finestrella dove si imposta il font).. mi pare che alla fine non cambiasse molto ma potresti provare a vedere se ti può essere d'aiuto. Dato che abbiamo parlato in italiano e che magari qualcuno potrebbe pensare che il problema è stato risolto, scrivo (sperando che l'inglese sia decente.. l'importante è capirsi) che WE'RE STILL LOOKING FOR A SOLUTION OF THIS PROBLEM...
  7. I think that the problem is in netbeans.. I use eclipse and I've put the utf-8 encoding in all the text type in Preferences-Context type. I'm sorry but I'm not sure that the problem is in this encoding and I don't know where you can change the encoding in netbeans. Comunque, visto che siamo italiani entrambi, ti rispondo anche in italiano che forse ci capiamo meglio (soprattutto considerando il mio inglese ;P ) Allora, io non ho mai avuto problemi di questo tipo perchè ho sempre impostato, appena installato eclipse, l'utf-8 come encoding in quasi tutti i tipi di testo (escluso i java properties file e forse qualcos'altro) sostituendolo, dove necessario, al ISO-8859-1.. non so dirti con sicurezza se cambiando questo encoding risolvi il problema, ma se ti funziona su ireport e non su netbeans immagino che il problema sia proprio su netbeans. In eclipse queste proprietà sono in Preferences e le trovo digitando "context type" nel campo di ricerca.. in netbeans purtroppo non so dirti dove poterlo trovare. Non posso aiutarti di più ma se può servirti qualche altra info chiedi pure.
  8. try using new java.lang.Boolean ($F{FIELDNAME}.equals(new java.lang.String("Red"))) or new java.lang.Boolean ($F{FIELDNAME}.equals("Red")) let me know if it's ok
  9. Hi. I'm creating a report with a dynamic crosstab (it could be with a different number of column) and a subreport on the right and "pasted" on the crosstab. Is it possible to do? I've tried with the variable position of the subreport but I think it's only for the vertical position. Thank you very much, Marco from Italy
  10. I've prepared a basic example because the real case is quite complex. Consider to use a JRBeanCollectionDataSource as Datasource for the report. The Beans are of type ChildB, you can use IReportBeansFactory as factory class to use in iReport (method getChildB) and the provided jrxml to test. What I get is the following exception trying to compile the jrxml: TheÂnestedÂtypeÂorg.example.beans.ChildB$InnerChildÂcannotÂbeÂreferencedÂusingÂitsÂbinaryÂname valueÂ=Â(java.lang.String)(""+((org.example.beans.ChildB$InnerChild)field_inner.getValue()).getDesc());//$JR_EXPR_ID=10$ Thanks, Marco [file name=InnerClassTest.zip size=2086]
  11. The last one, well until a few hours ago, 2.0.5. Do you think the brand new version will not have this kind of issue? Thanks, Marco
  12. Trying to compile a jrxml file I'm having the following exception: TheÂnestedÂtype org.example.ClassA$ClassB cannot be referencedÂusingÂitsÂbinaryÂname Class B is a static inner class of Class A and I want to access to a (non static) property of type ClassB present in ClassA using a (non static) getter method: public ClassA { private ClassA.ClassB propB; public ClassA.ClassB getPropB() { return propB; } public static class ClassB { ... } } Why do I get the excpetion? What can I do to avoid it? Thanks. Marco.
  13. Hi, I've a problem I can't solve. My query returns results like these xx | yy | tot -------------- A1 | BB | 200 A2 | 10 | 200 A1 | CC | 200 A2 | 20 | 200 and I have to create a table like this abc | def | percentage ------------------------- BB | 10 | (10/200)*100 CC | 20 | (20/200)*100 Can anyone help me? Can I do it with a crosstab? Thanx!! ;)
×
×
  • Create New...