Re: dynamic create jasper jrxml file

2010-10-13 Thread Dave Newton
You should ask Jasper questions in their lists/forums--more likely to
get answers.

Doing this means you'd be recompiling the report every time it's run.

On Wednesday, October 13, 2010, cellterry  wrote:
>
> Hello all,
>
> Is it a normal way to create jrxml file for jasperreport dynamically?
>
> I ask this because I want to skip all fields with null values so that the
> report looks more tight. Especially for the page header, which contains
> company information, for example, if the company has no web site or fax
> number, I can skip to print this field on the page header.
>
> Besides, is there any library to help create the jrxml file? For example,
> :
> :
> report.create("abc.file");
> report.addBand();
> report.addTextField("name");
> :
> :
>
> I have searched online but no one uses similar things.
>
> Thank you for any help!
>
> Terry.
>
> --
> View this message in context: 
> http://old.nabble.com/dynamic-create-jasper-jrxml-file-tp29951173p29951173.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Dynamic create jasper jrxml file

2010-10-13 Thread Maurizio Cucchiara
Not long ago, I gave a cursory glance at http://dynamicjasper.sourceforge.net/ .
I don't know if it can help you.
Anyway jrxml file are xml file, so at least you should be able to do
some dom manipulation.
Otherwise you should consider using some template engine like
freemarker or velocity



2010/10/13 cellterry :
>
> Hello all,
>
> Is it a normal way to create jrxml file for jasperreport dynamically?
>
> I ask this because I want to skip all fields with null values so that the
> report looks more tight. Especially for the page header, which contains
> company information, for example, if the company has no web site or fax
> number, I can skip to print this field on the page header.
>
> Besides, is there any library to help create the jrxml file? For example,
> :
> :
> report.create("abc.file");
> report.addBand();
> report.addTextField("name");
> :
> :
>
> I have searched online but no one uses similar things.
>
> Thank you for any help!
>
> Terry.
>
> --
> View this message in context: 
> http://old.nabble.com/Dynamic-create-jasper-jrxml-file-tp29951173p29951173.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Maurizio Cucchiara

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



dynamic create jasper jrxml file

2010-10-13 Thread cellterry

Hello all,

Is it a normal way to create jrxml file for jasperreport dynamically?

I ask this because I want to skip all fields with null values so that the
report looks more tight. Especially for the page header, which contains
company information, for example, if the company has no web site or fax
number, I can skip to print this field on the page header.

Besides, is there any library to help create the jrxml file? For example, 
:
:
report.create("abc.file");
report.addBand();
report.addTextField("name");
:
:

I have searched online but no one uses similar things. 

Thank you for any help!

Terry.
 
-- 
View this message in context: 
http://old.nabble.com/dynamic-create-jasper-jrxml-file-tp29951173p29951173.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org