sohane harish

Greenhorn
+ Follow
since Jul 21, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sohane harish

Hello All ,

i found the root cause for the above problem....

please help me out...

when i write the code like :

pdfReader = new PdfReader(baos.toByteArray());
writer.addPage(writer.getImportedPage(pdfReader, 2));
writer.addPage(writer.getImportedPage(pdfReader, 1));



i can check/uncheck the radio buttons which is in page number 2 and now the page 1 is read only,but when i write

pdfReader = new PdfReader(baos.toByteArray());
writer.addPage(writer.getImportedPage(pdfReader, 1));
writer.addPage(writer.getImportedPage(pdfReader, 2));


Now on the page 1 read/write but page 2 i can not.

Any suggestions would be appreciated...

thanks in advance
Hello All,

I have found the root cause for my post https://coderanch.com/t/431161/Other-Open-Source-Projects/itext-PDF-with-radio-button#1914770


please help me out...

when i write the code like :




i can check/uncheck the radio buttons which is in page number 2 and now the page 1 is read only,but when i write



Now on the page 1 read/write but page 2 i can not.

Any suggestions would be appreciated...

thanks in advance
Hello All,

I am having problem with existing PDF along with radio buttons There are two pages in my PDF the first one is having fields only and the second page along with radio button, which i can check and uncheck before updating.but when i update the fields of PDF from itext, i am unable to check and uncheck the radio button, same is happening with fields also.

From itext, i am updating the first page of PDF only i am not touching the second one and there are some common fields in first page and the second page if i update the first page fields then the same is updated on the second page.

I am able to modify my first page PDF after updating from itext.

i know it's complicated what i have written if you dont understand please let me know will try to explore more.

Thanks in advance
Hello All,

I have to replace image from word(.doc) file. can any body help me out.


Thanks in Advance

Harish Sohane
16 years ago
Hello All,

Please help me out...and tell me is it possible or not.


Suppose there are 3000 records on Original CachedRowSet so i would create 3 CachedRowSet like:

CachedRowSet dup_crs1 (which will have 1 to 1000 records)

CachedRowSet dup_crs2 (which will have 1001 to 2000 records)

CachedRowSet dup_crs3 (which will have 2001 to 3000 records)

by using this i can use Paging in my JSP. as my JSP Grid takes one CachedRowSet object and display the result. it doesn't matter how many records are there in CachedRowSet.

If i display 3000 records at one time IE giving me this below message:

A script on this page is causing Internet Explorer to run slowly. If
it continues to run, your computer may become unresponsive


any suggestions from any one will be appricated.

Thanks in advance
Hello David,

Thanks for a quick reply,we can do this by ResultSet but actually i wanted to use it by CachedRowSet only,actually i was trying to do paging with on CachedRowSet. I know the paging can be done using using loop and there is another problem my JSP grid where i am populating data it takes the whole CachedRowSet as an Object and display the result. Eg.


Suppose i have 2000 records in CachedRowSet so i m creating 4 different CachedRowSet. which will populate the result. and paging can be done through it.

Please do remember i am using sun.jdbc.RowSet.CachedRowSet
Dear All,

I am using sun.jdbc.rowset.CachedRowSet using CachedRowSet.populate(ResultSet),and creating a copy of this original CachedRowSet and doing some operations on the duplicate copy like deleting.and it's refleting to the original one.i used clone method to create copy and implemented Clonable interface too.below is my code :

CachedRowSet Original_cr =new CachedRowSet();
Original_cr.populate(rs);
CachedRowSet duplicate_cr =new CachedRowSet();
duplicate_cr=(CachedRowSet)Original_cr.clone();
duplicate_cr.absolute(1);
duplicate_cr.deleteRow();

now it's deleting first row from the original CachedRowSet too.

Please help me or give any suggetion.