raphy
-
Posts
33 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by raphy
-
-
Hello,
How can I collaps the blank line spaces with text fields
I have tried all properties in the text field, but there is no effect.
Problem:
I have four fields: tel, fax, mobile and email and I woud like to print without any blank line between two fields when ont of the field is emplty.
(NB: I am using print when expression to detect the empty variables and "remove line when blank option ticked" in the property pane)
Thanks for your help
Raphy
-
Hello,
Thanks for your reply, have you any exemples for this problem (i.e: i am using a masterreport containinng a subreport containg itself another subreport):
Raphy
-
Hello,
Is it possible to use a subreport containning another subreport. If yes how can I pass a custom datasource to the last subreport.
Thanks for your help.
Raphy
-
Hello,
I am trying to export a report to a Excel file. But I have received a message error as follows:
Code: java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
on line :
Code: [code]JRXlsExporter exporter = new JRXlsExporter() ; Please tell me if anybody have an idea to resolve this problem.
Best regards
Raphy
-
Thanks for your reply. All classes functionning correctly. Thanks a lot. But the problem is I couldn't acces directly to the methode:
to retreive the data source array list.public JRDataSource getPosRecordsList () The solution is to call the methode:
and retreive the data source as an objet.public Object getFieldValue (JRField field) throws JRException Is it correct?
Best Regards
Raphy
-
Hello,
Writing affter 4 weeks, please help me to resolve my problem.
I have implemented all classes as you describe in the reply.
Actually I don't know where to put this line:
Code: $F{getPosRecordsList}
Best regards
Raphy
-
Hello,
Thanks a lot for your prompt reply, I'll try to implement your example.
Raphy
-
Hi CBox,
Thanks for your reply, Do you have any examples to this solution. I don't know how to impliment your idea. If you have any examples, they makes me to find a solution.
Once again thank you very much for your reply.
Raphy
-
giulio wrote:
In the subreport properties window (element properties window actually) there is a table to set subrpeort parameters.
Please note that a datasource is a consumable object, you can use only once. You should find a way to reset your custom datasource each time you attempt to fill your subreport or provide a datasource instance for each your records in the main report.
GiulioHello,
Thanks for your reply.
How can I reset or provide the subreport's datasource instance for each records in the main report?
Raphy
-
Hello!
I am trying to using custom data sources and subreports together.
Situation:
I have two classes named CustomDataSourceParents and CustomDataSourceChildren and work perfectly as individual reports.
Problem:
I would like to print a listing of all parents with their own children.
Question:
How can I passe the parent id as parameter to my CustomDataSourceChildren class to retrieve all their children.
Thank you in advanced for your kindly reply.
Best Regards
Raphy
-
Hello,
I have my tools class as follows:
public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}
When I set the textfield expression for the textfield as "Tools.Name" and executing the report gave me the results "Raphy". This is correct.
But when I set the textfield expression for the same textfield as "Tools.getName()" and when executing the report I got the error message as follows:
java.lang.NoClassDefFoundError: test/Tools
The tools class and the report are in the same directory & and classpath set correctly.
Please help me
Best regards
Raphy
Code: public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
} -
Hello,
I have a problem when I try to export to the excel file format (XLS).
The error message as follows:
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
Error on line: JRXlsExporter exporter = new JRXlsExporter() ;
I have already imported this package in my project.
All other formats (.pdf, .rtf etc.) working correctly.
Thanks for your help
Raphy
-
Hello!
Is it possible to set a relative path (instead of an absolute path like D:\dev\myproject\images\logo.jpg") to a image contains in the report.
Thanks for your reply
Best regards
Raphy
Post edited by: raphy, at: 2006/09/12 09:00
-
Hello,
I have my tools class as follows:
public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}
Code: public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}When I set the textfield expression for the textfield as "Tools.Name" and executing the report gave me the results "Raphy". This is correct.
But when I set the textfield expression for the same textfield as "Tools.getName()" and when executing the report I got the error message as follows:
java.lang.NoClassDefFoundError: test/Tools
The tools class and the report are in the same directory & and classpath set correctly.
Please help me
Best regards
Raphy
-
Hello,
I have my tools class as follows:
public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}
Code: public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}When I set the textfield expression for the textfield as "Tools.Name" and executing the report gave me the results "Raphy". This is correct.
But when I set the textfield expression for the same textfield as "Tools.getName()" and when executing the report I got the error message as follows:
java.lang.NoClassDefFoundError:Âtest/Tools
The tools class and the report are in the same directory & and classpath set correctly.
Please help me
Best regards
Raphy
-
Hello,
I have my tools class as follows:
public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}
Code: public class Tools
{
public static final String Name = "Raphy" ;
public static final String getName ()
{
return Name ;
}
}When I set the textfield expression for the textfield as "Tools.Name" and executing the report gave me the results "Raphy". This is correct.
But when I set the textfield expression for the same textfield as "Tools.getName()" and when executing the report I got the error message as follows:
java.lang.NoClassDefFoundError:Âtest/Tools
The tools class and the report are in the same directory & and classpath set correctly.
Please help me
Best regards
Raphy
-
Hello,
Thanks for your prompt reply.
I do as you mentioned in your reply. But when I compiling with iReport there is no error and when run my application there is an error message as follows:
Errors were encountered when compiling report expressions class file:
Tools cannot be resolved
value = (java.lang.String)(Tools.getName());
The method implemented in my Tools.class is:
public static final String getName ()
{
return "raphy" ;
}
Thanks for your help.
Raphy
-
Hello,
I am using a custom data source and using a field named "person". This field containing firstname, lastname, phone etc.. as string and each values separated by ";".
My own datasource class containing getFildValue() returns a person's value as a string correctly.
The question:
How can I tokenize the person's string value to retrieve all separate data. (firstname, lastname, phone etc.. )
Thanks for your reply
Raphy
-
Hello,
I would like to tokenize my string separated by ";".
Is it possible to use StringTokenizer with iReport?
Thanks for your reply
Raphy
-
Thanks for your reply
Raphy
-
Thanks for your reply
Raphy
-
Hi,
Any body say how to set up the field width dynamically in the iReport.
Or
How to adapt the field width accrording to the string length?
Best regards
Raphy
-
Hello,
Is it possible to create our own dialog or frame to visualize the document content.
Example:
instead of using this ...
JasperViewer jasperViewer = new JasperViewer(jasperPrint, false, new java.util.Locale("fr", "FR", "")) ;
I would like to create a dialog box and then add the component jasper viewer to my own dialog box.
Thanks for your reply
Raphy
-
Hello,
Is it possible to create our own dialog or frame to visualize the document content.
Example:
instead of using this ...
JasperViewer jasperViewer = new JasperViewer(jasperPrint, false, new java.util.Locale("fr", "FR", "")) ;
I would like to create a dialog box and then add the component jasper viewer to my own dialog box.
Thanks for your reply
Raphy
Problem with JasperPrintManager
in Products
Posted
Hello,
I have a strange problem with the JasperPrintManager class.
Problem: When I use this following code (printing without preview of the document) the printer prints only the first page of my print job and computer hang it self.
Please help
Raphy
Post edited by: raphy, at: 2006/12/05 16:24
Post edited by: raphy, at: 2006/12/05 16:25