There's no PdfFormField in AcroFields, you must manipulate the action
dictionary directly through Item.widget.
----- Original Message -----
From: "Nitin Tomer" <[EMAIL PROTECTED]>
To: "Bruno Lowagie" <[EMAIL PROTECTED]>
Cc: <iText-questions@lists.sourceforge.net>
Sent: Monday, January 09, 2006 8:28 AM
Subject: Re: [iText-questions] Making fields in a form read only
Hi Bruno,
I am able to get the name of fileds of type -
FIELD_TYPE_PUSHBUTTON. And I also know how to set the action of a push
button type field. But I don't know how to get the PdfFormField object
from AcroFields, please help me on this.
Thanx
\N
----- Original Message -----
From: "Bruno Lowagie" <[EMAIL PROTECTED]>
To: "Nitin Tomer" <[EMAIL PROTECTED]>
Cc: <iText-questions@lists.sourceforge.net>
Sent: Monday, January 09, 2006 1:28 PM
Subject: Re: [iText-questions] Making fields in a form read only
Nitin Tomer wrote:
Thanx Bruno,
I used partialFormFlattening method of PDFStamper, and it worked like
a charm. Now I hae run into another problem, how to change the submit
action (URL) of a form.
I don't think this is supported directly (Paulo can confirm or deny
this).
You could add a method to AcroFields that looks for the (PushButton?)
Field
that has the submit action and changes the action.
br,
Bruno
Disclaimer :- This e-mail message including any attachment may contain
confidential, proprietary or legally privileged information. It should not
be used by who is not the original intended recipient. If you have
erroneously received this message, you are notified that you are strictly
prohibited from using, coping, altering or disclosing the content of this
message. Please delete it immediately and notify the sender. Newgen
Software Technologies Ltd and / or its subsidiary Companies accept no
responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus and further
acknowledges that any views expressed in this message are those of the
individual sender and no binding nature of the message shall be implied or
assumed unlessthe sender does so expressly with due authority of Newgen
Software TechnologiesLtd and / or its subsidiary Companies, as applicable.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions