s@lists.sourceforge.net
> Subject: Re: [iText-questions] Changing Submit-Action of a
> PushButton in a PDF Form
>
> Hi,
>
> i expanded on the solution posted by Paulo earlier:
>
> > Try:
> >
> > ArrayList objArrayList = objItem.widgets;
> > PdfDi
Hi,
i expanded on the solution posted by Paulo earlier:
> Try:
>
> ArrayList objArrayList = objItem.widgets;
> PdfDictionary dic = (PdfDictionary)objArrayList.get(0);
> PdfDictionary action =
> (PdfDictionary)PdfReader.getPdfObject(dic.get(PdfName.A));
> PdfDictionary f =
> (PdfDictionary)PdfRea
It worked. Thanx.
\N
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Nitin Tomer" <[EMAIL PROTECTED]>;
Sent: Thursday, January 19, 2006 8:35 PM
Subject: RE: [iText-questions] Changing Submit-Action of a PushButton in a
PDF Form
("http://mysite/go";));
> -Original Message-
> From: Nitin Tomer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 18, 2006 5:17 AM
> To: Paulo Soares; iText-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Changing Submit-Action of a
> PushBu
Send me the pdf.
> -Original Message-
> From: Nitin Tomer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 17, 2006 11:45 AM
> To: Paulo Soares; iText-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Changing Submit-Action of a
> PushButton in a PDF
"Nitin Tomer" <[EMAIL PROTECTED]>;
Sent: Tuesday, January 17, 2006 4:01 PM
Subject: RE: [iText-questions] Changing Submit-Action of a PushButton in a
PDF Form
ArrayList objArrayList = objItem.widgets;
PdfDictionary dic = (PdfDictionary)objArrayList.get(0);
PdfDictionary action
[EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Nitin Tomer
> Sent: Tuesday, January 17, 2006 6:37 AM
> To: iText-questions@lists.sourceforge.net
> Subject: [iText-questions] Changing Submit-Action of a
> PushButton in a PDF Form
>
> Hi,
> I need
Hi,
I need to change the Submit-Action (the URL) of a push-button in an
AcroForm programmatically. I got all the fields of the form in an AcroField
object; and then traversed the fileds to looks for the PushButton type
field. Then for the push-button filed I got the ArrayList widgets fro