Hi all,
I have just resolved my problem. We can use a LOOP to run a list of report. But only export them to disk, not display all of them when running report (only display 1 of them).
Thanks for attension.
Ha
User Profile
Collapse
-
Sorry all, because i am a newbie, so how i dont know to use [code]tags.
My question is that if can i use a FOR loop to export a type of report for a list (eg: companies).
this is my code for that:
//find company list according to a few conditions
PaymentAdviceBV O[] paymentAdviceBV Os = PaymentAdviceBS SB.getInstance( )
.find(keyFieldN ames, keyTypes, keyFieldValues,
new String[] {"pANo"}, new String[]...Leave a comment:
-
Hi all,
This is my codes:
package web.group.payme ntAdviceB;
import java.sql.Connec tion;
import java.sql.SQLExc eption;
import java.util.HashM ap;
import java.util.Map;
import birtEngine.Birt Engine;
import birtEngine.DbPa rams;
import com.enablecompu ting.data.DbUti ls;
import com.enablecompu ting.data.VODbU tils;
import com.enablecompu ting.web.action .*;...Leave a comment:
-
How to generate multiple birt report under a only function
I have a following problem: I have a birt report that is used to print detail according to input parameters(of 1 company). Normally, it runs ok.
Now i use a FOR loop (List of company) under that function to generate a list of reports using input parameters(of in turn company). Reports are separated according to compayId.
But when run that function there is only first report of the list that is generated.
What is error?. -
How to save a .rptdesign file as .pdf file in a folder
Hi all, I have a follow problem:
when i click the generate button to generate a report, it is ok, but I want to it is saved automatically as .pdf file on a folder when generating.
How to do it?(I use Birt report and Java to code.)
Pls help me,
Thanks in advance,
Ha -
Thanks for your answer, chaarmann, but i use normal java to code. I dont use SWING or AWT. :-(
Is there any other idea?
HaLeave a comment:
-
Popup - not use java SWING
Hi all,
I showed the popup when login fail but after that it was displayed again if i refresh that login page.
Pls help me to not show popup when refreshing.
Incidentally, is there any idea about calling the popup in normal java (I mean that not use java SWING). I use the MVC solution to work.
Thanks in advance,
Ha -
Hi all,
I showed the popup when login fail but after that it was displayed again if i refresh that login page.
Pls help me to not show popup when refreshing.
Thanks in advance,
HaLeave a comment:
-
How to disable/hide the PDF app's menu/tool bar
Hi all,
I am developing a web site which provide some information using PDF.
Is anyone know to disable/hide the tool/menu bar of PDF app when viewing PDF using IE/FireFox in Java?
I mean that only display pdf document without the print icon, save icon, etc...
Pls help me,
Thanks in advance,
Ha -
-
How to force a popup in java
Hi all,
I have a following problem:
During Login, need to check some things, and if fail show a message in popup.
But i dont know what is command to create a popup in java?
Pls help me, Thanks in advance,
Ha -
-
-
sql server
Hi all,
I have a problem that need to solve: I have a table that is called empVisit.
There was a error when inserting: Violation of PRIMARY KEY constraint 'PK_EmpVisit'. Cannot insert duplicate key in object 'dbo.EmpVisit'.
The statement has been terminated.
PRIMARY KEY is Id field of the table. I need to insert a new record with the same Id value to that table.
So how to solve this problem?
Pls help me,... -
-
Now I got the data (images name) from database and set them to a dataContext. we saved images in a folder inside of the project.
The problem is how to display that images on the .jsp page according to rows with 2 or 3 columns/row.
Eg: display 3 images / row.
I tryed in alot of ways but not correctly.we use the servlet technology for the project.(if did i understand your mean?)
Pls help me.
Ha...Leave a comment:
-
Sorry r035198x,
I dont get you. What do you mean?
That is a requirement i received. they require me create a page that displays a list of images on only 2 columns and unlimited rows.
We use <data:iterato r ...> and <data:data ...> tags to list data from component java file to jsp file.
Now I have got data from database already but i dont know how to list the images as newspaper columns.
Pls help me.Leave a comment:
-
How to display a list of images according to rows and columns
Hi all,
Eg: I have a list which contains 4 images (this list is got from database), I want to display them in 2 columns (1 image/col and only 2 columns/row):
Img1 | Img2
Img3 | Img4
And if I have more 4 images they are displayed follow:
Img1 | Img2
Img3 | Img4
img5 ...
Pls help me.
Thanks in advance,
Ha -
-
Thanks Jos,
But how i dont know to use natice2ascii tool. pls tell me more clearly and show me a demo.
Best regards.Leave a comment:
No activity results to display
Show More
Leave a comment: