Re: [iText-questions] Radiobuttons in iText ?

2008-06-12 Thread precyz
Thank you for help. Br, Paweł Gawędzki Bruno Lowagie (iText) wrote: > > Gawędzki wrote: >> I do not understand why method getField("fieldname") returns me "yes". > > OK, then that is the difference between the example in the book and your > PDF. Please open your PDF in iText RUPS and select t

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Gawędzki , Paweł
ank you for your answers and sorry for frustrating you. Br, Paweł Gawędzki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Wednesday, June 11, 2008 4:34 PM To: Post all your questions about iText here Subject: Re: [iText-questions]

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
Gawędzki wrote: > I have pdf document with text fields, radio buttons and checkboxes. OK, just like: http://1t3xt.info/examples/results/in_action/chapter16/register_form1.pdf > Those fields has names from xml file (ex. radio button is named "//ProductId" In my case for instance "person.preferred

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Gawędzki , Paweł
Gawędzki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Wednesday, June 11, 2008 3:26 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Radiobuttons in iText ? Gawędzki wrote: > Is it possible to get name of o

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
Bruno Lowagie wrote: Gawędzki wrote: Is it possible to get name of on-value from the EN-widget form this radio button ? Most of the times these widgets are unnamed. (Why would they need a name?) You will have to explain WHY you want that widget if you want any further answer from me. And if

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
Gawędzki wrote: > Is it possible to get name of on-value from the EN-widget form this radio > button ? Most of the times these widgets are unnamed. (Why would they need a name?) You will have to explain WHY you want that widget if you want any further answer from me. br, Bruno --

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: > In my case this instruction returns only "yes": > > form.getField("nameRadiobutton") is equal to "yes". This says anything to me > becouse i need something different. See my previous answer: you misunderstand the concept of radiobuttons (both in PDF as in HTML). > Lets take

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Gawędzki , Paweł
essage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Wednesday, June 11, 2008 1:43 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Radiobuttons in iText ? precyz wrote: > In my case this instruction returns only "yes&qu

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: > In my case this instruction returns only "yes": > > form.getField("nameRadiobutton") is equal to "yes". This says anything to me > becouse i need something different. See my previous answer: you misunderstand the concept of radiobuttons (both in PDF as in HTML). > Lets take eg. f

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread precyz
In my case this instruction returns only "yes": form.getField("nameRadiobutton") is equal to "yes". This says anything to me becouse i need something different. Lets take eg. from your book. There is radiobutton named "language". It has values "languages = { "English", "French", "Dutch" };". On d

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: > I have radiobutton named "nameRadiobutton". It has four buttons: a, b, c, d. > Button c is in state "on" (it means the rest are in state "off"). > How in iText can I check which button (a, b, c or d) is in state "on" ? > > I know how to get names of this four buttons: > > PdfReade

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: > I have radiobutton named "nameRadiobutton". It has four buttons: a, b, c, d. > Button c is in state "on" (it means the rest are in state "off"). > How in iText can I check which button (a, b, c or d) is in state "on" ? > > I know how to get names of this four buttons: > > PdfReade

[iText-questions] Radiobuttons in iText ?

2008-06-11 Thread precyz
I have radiobutton named "nameRadiobutton". It has four buttons: a, b, c, d. Button c is in state "on" (it means the rest are in state "off"). How in iText can I check which button (a, b, c or d) is in state "on" ? I know how to get names of this four buttons: PdfReader reader = new PdfReader("i